Struct cntk::Function
[−]
[src]
pub struct Function { /* fields omitted */ }
Methods
impl Function
[src]
fn from_variable<T: Into<Variable>>(var: T) -> Function
[src]
fn combine(variables: &[&Variable]) -> Function
[src]
fn num_outputs(&self) -> usize
[src]
fn to_variable(&self) -> Result<Variable, &'static str>
[src]
fn evaluate(
&self,
input_data_map: &DataMap,
output_data_map: &mut DataMap,
device: DeviceDescriptor
)
[src]
&self,
input_data_map: &DataMap,
output_data_map: &mut DataMap,
device: DeviceDescriptor
)
fn forward(
&self,
input_data_map: &DataMap,
output_data_map: &mut DataMap,
device: DeviceDescriptor,
retain_backward_state_for: &VariableSet,
exclude_gradients_for: &VariableSet
) -> BackPropState
[src]
&self,
input_data_map: &DataMap,
output_data_map: &mut DataMap,
device: DeviceDescriptor,
retain_backward_state_for: &VariableSet,
exclude_gradients_for: &VariableSet
) -> BackPropState
fn backward(
&self,
bpstate: &BackPropState,
gradient_values: &DataMap,
output_map: &mut DataMap
)
[src]
&self,
bpstate: &BackPropState,
gradient_values: &DataMap,
output_map: &mut DataMap
)
fn save(&self, path: &str)
[src]
fn load(path: &str, device: DeviceDescriptor) -> Function
[src]
fn num_inputs(&self) -> usize
[src]
fn inputs(&self) -> Vec<Variable>
[src]
fn outputs(&self) -> Vec<Variable>
[src]
fn replace_placeholders(
self,
placeholder_replacements: &ReplacementMap
) -> Function
[src]
self,
placeholder_replacements: &ReplacementMap
) -> Function