fn eval(&self, mut inputs: TVec<Arc<Tensor>>) -> TractResult<TVec<Arc<Tensor>>> {
        if self.output_mask {
            let input = args_1!(inputs);
            let mask = ArrayD::from_elem(input.shape(), true);
            Ok(tvec!(input, mask.into_arc_tensor()))
        } else {
            Ok(inputs)
        }
    }
/// Evaluates the operation given the input tensors.
Evaluates the operation given the input tensors.
Evaluates the operation given the input tensors .
fn eval(&self, mut inputs: TVec<Arc<Tensor>>) -> TractResult<TVec<Arc<Tensor>>> {
        if self.output_mask {
            let input = args_1!(inputs);
            let mask = ArrayD::from_elem(input.shape(), true);
            Ok(tvec!(input, mask.into_arc_tensor()))
        } else {
            Ok(inputs)
        }
    }
fn eval ( & self , mut inputs : TVec < Arc < Tensor > > ) -> TractResult < TVec < Arc < Tensor > > > { if self . output_mask { let input = args_1 ! ( inputs ) ; let mask = ArrayD :: from_elem ( input . shape ( ) , true ) ; Ok ( tvec ! ( input mask into_arc_tensor ( ) ) ) } else { Ok ( inputs ) } }
Evaluates the operation given the input tensors.
Evaluates the operation given the input tensors .
&self
inputs
TVec<Arc<Tensor>>