pub fn var_tensors_by_id<'e: 'g>(
        &'g self,
        env: &'e VariableEnvironment<F>,
    ) -> impl Iterator<Item = (VariableID, Tensor<'g, F>)> {
        (0..env.array_list.len()).map(move |vid| (vid.into(), self.variable_by_id(vid.into())))
    }
/// Get tensors with their variable ids.
///
/// See `VariableEnvironment` for the usages.
Get tensors with their variable ids.
See `VariableEnvironment` for the usages.
Get tensors with their variable ids . See ` VariableEnvironment ` for the usages .
pub fn var_tensors_by_id<'e: 'g>(
        &'g self,
        env: &'e VariableEnvironment<F>,
    ) -> impl Iterator<Item = (VariableID, Tensor<'g, F>)> {
        (0..env.array_list.len()).map(move |vid| (vid.into(), self.variable_by_id(vid.into())))
    }
pub fn var_tensors_by_id < ' e : ' g > ( & ' g self , env : & ' e VariableEnvironment < F > , ) -> impl Iterator < Item = ( VariableID , Tensor < ' g , F > ) > { ( 0 .. env . array_list . len ( ) ) . map ( move | vid | ( vid . into ( ) , self . variable_by_id ( vid . into ( ) ) ) ) }
Get tensors with their variable ids.
Get tensors with their variable ids .
&'g self
env
&'e VariableEnvironment<F>
&'g self
env
&'e VariableEnvironment<F>