fn eval_t<T: Datum>(
        &self,
        input: Arc<Tensor>,
        shape: &[usize],
    ) -> TractResult<TVec<Arc<Tensor>>> {
        Ok(tvec![input.into_tensor().into_array::<T>()?.into_shape(shape)?.into_arc_tensor()])
    }
/// Evaluates the operation given the input tensors.
Evaluates the operation given the input tensors.
Evaluates the operation given the input tensors .
fn eval_t<T: Datum>(
        &self,
        input: Arc<Tensor>,
        shape: &[usize],
    ) -> TractResult<TVec<Arc<Tensor>>> {
        Ok(tvec![input.into_tensor().into_array::<T>()?.into_shape(shape)?.into_arc_tensor()])
    }
fn eval_t < T : Datum > ( & self , input : Arc < Tensor > , shape : & [ usize ] , ) -> TractResult < TVec < Arc < Tensor > > > { Ok ( tvec ! [ input into_tensor ( ) into_array T ( ) into_shape ( shape ) into_arc_tensor ( ) ] ) }
Evaluates the operation given the input tensors.
Evaluates the operation given the input tensors .
&self
input
Arc<Tensor>
shape
&[usize]
&self
input
Arc<Tensor>
shape
&[usize]