pub fn append_backprop_input<T: AsRef<Tensor<'graph, F>>>(
        mut self,
        a: T,
    ) -> TensorBuilder<'graph, F> {
        crate::graph::assert_same_graph(a.as_ref().graph, self.graph);
        if let Some(ref mut inputs) = self.backprop_inputs {
            inputs.push(Input::new(a.as_ref(), false));
        } else {
            let mut inputs = InputArray::new();
            inputs.push(Input::new(a.as_ref(), false));
            self.backprop_inputs = Some(inputs);
        }
        self
    }
/// Append the given tensor to the backprop-input-list.
///
/// Not required unless backprop-inputs are differs from normal-case inputs
Append the given tensor to the backprop-input-list.
Not required unless backprop-inputs are differs from normal-case inputs
Append the given tensor to the backprop - input - list . Not required unless backprop - inputs are differs from normal - case inputs
pub fn append_backprop_input<T: AsRef<Tensor<'graph, F>>>(
        mut self,
        a: T,
    ) -> TensorBuilder<'graph, F> {
        crate::graph::assert_same_graph(a.as_ref().graph, self.graph);
        if let Some(ref mut inputs) = self.backprop_inputs {
            inputs.push(Input::new(a.as_ref(), false));
        } else {
            let mut inputs = InputArray::new();
            inputs.push(Input::new(a.as_ref(), false));
            self.backprop_inputs = Some(inputs);
        }
        self
    }
pub fn append_backprop_input < T : AsRef < Tensor < ' graph , F > > > ( mut self , a : T , ) -> TensorBuilder < ' graph , F > { crate :: graph :: assert_same_graph ( a . as_ref ( ) . graph , self . graph ) ; if let Some ( ref mut inputs ) = self . backprop_inputs { inputs . push ( Input :: new ( a . as_ref ( ) , false ) ) ; } else { let mut inputs = InputArray :: new ( ) ; inputs . push ( Input :: new ( a . as_ref ( ) , false ) ) ; self . backprop_inputs = Some ( inputs ) ; } self }
Append the given tensor to the backprop-input-list.
Append the given tensor to the backprop - input - list .
mut self
a
T
mut self
a
T