pub trait ToNalgebraInt<B: Backend, const D: usize> {
// Required methods
fn to_nalgebra(&self) -> DMatrix<u32>;
fn into_nalgebra(self) -> DMatrix<u32>;
}
Expand description
Trait for converting burn
tensor to nalgebra::DMatrix
or
nalgebra::DVector
(Int type)
Required Methods§
fn to_nalgebra(&self) -> DMatrix<u32>
fn into_nalgebra(self) -> DMatrix<u32>
Implementations on Foreign Types§
Source§impl<B: Backend> ToNalgebraInt<B, 2> for Tensor<B, 2, Int>
Implement trait to convert burn
tensor to nalgebra::DMatrix<u32>
(Int
type)
impl<B: Backend> ToNalgebraInt<B, 2> for Tensor<B, 2, Int>
Implement trait to convert burn
tensor to nalgebra::DMatrix<u32>
(Int
type)