pub fn dim(&self, i: usize) -> TDim {
        if let Some(ref stream) = self.stream_info {
            if stream.axis == i {
                return stream.len.clone();
            }
        }
        self.shape[i].to_dim()
    }
/// Extended dimension of the i-th axis.
///
/// The TDim will wrap a plain integer for regular (non-streaming) tensors.
Extended dimension of the i-th axis.
The TDim will wrap a plain integer for regular (non-streaming) tensors.
Extended dimension of the i - th axis . The TDim will wrap a plain integer for regular ( non - streaming ) tensors .
pub fn dim(&self, i: usize) -> TDim {
        if let Some(ref stream) = self.stream_info {
            if stream.axis == i {
                return stream.len.clone();
            }
        }
        self.shape[i].to_dim()
    }
pub fn dim ( & self , i : usize ) -> TDim { if let Some ( ref stream ) = self . stream_info { if stream . axis == i { return stream . len . clone ( ) ; } } self . shape [ i ] . to_dim ( ) }
Extended dimension of the i-th axis.
Extended dimension of the i - th axis .
&self
i
usize