pub struct Matrix<Dtype> { /* private fields */ }
Implementations§
Trait Implementations§
source§impl<'a, Dtype: 'a> BorrowTensor<'a, Dtype> for Matrix<Dtype>
impl<'a, Dtype: 'a> BorrowTensor<'a, Dtype> for Matrix<Dtype>
type Output = MatrixView<'a, Dtype>
fn create_borrowed_tensor( shape: TensorShape, data: &'a TensorStorage<Dtype> ) -> Self::Output
source§impl<'a, Dtype> From<&'a Matrix<Dtype>> for EphemeralView<'a, Dtype>
impl<'a, Dtype> From<&'a Matrix<Dtype>> for EphemeralView<'a, Dtype>
source§impl<Dtype> HasTensorData<Dtype> for Matrix<Dtype>
impl<Dtype> HasTensorData<Dtype> for Matrix<Dtype>
fn data(&self) -> &TensorStorage<Dtype>
source§impl<Dtype> HasTensorShape for Matrix<Dtype>
impl<Dtype> HasTensorShape for Matrix<Dtype>
fn shape(&self) -> &TensorShape
source§impl<Dtype> MatrixTrait<Dtype> for Matrix<Dtype>
impl<Dtype> MatrixTrait<Dtype> for Matrix<Dtype>
source§impl<Dtype: PartialEq> PartialEq for Matrix<Dtype>
impl<Dtype: PartialEq> PartialEq for Matrix<Dtype>
impl<Dtype: Eq> Eq for Matrix<Dtype>
impl<Dtype> StructuralEq for Matrix<Dtype>
impl<Dtype> StructuralPartialEq for Matrix<Dtype>
Auto Trait Implementations§
impl<Dtype> RefUnwindSafe for Matrix<Dtype>where
Dtype: RefUnwindSafe,
impl<Dtype> Send for Matrix<Dtype>where
Dtype: Send,
impl<Dtype> Sync for Matrix<Dtype>where
Dtype: Sync,
impl<Dtype> Unpin for Matrix<Dtype>where
Dtype: Unpin,
impl<Dtype> UnwindSafe for Matrix<Dtype>where
Dtype: UnwindSafe,
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more