Trait TryFromCv

Source
pub trait TryFromCv<T>
where Self: Sized,
{ type Error; // Required method fn try_from_cv(from: T) -> Result<Self, Self::Error>; }
Expand description

Fallible type conversion that is analogous to TryFrom.

Required Associated Types§

Required Methods§

Source

fn try_from_cv(from: T) -> Result<Self, Self::Error>

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

Source§

impl TryFromCv<&DynamicImage> for Mat

Source§

impl TryFromCv<&Mat> for DynamicImage

Source§

type Error = Error

Source§

fn try_from_cv(from: &Mat) -> Result<Self, Self::Error>

Source§

impl TryFromCv<&Mat> for Tensor

Source§

type Error = Error

Source§

fn try_from_cv(mat: &Mat) -> Result<Self, Self::Error>

Source§

impl TryFromCv<&Tensor> for Mat

Source§

type Error = Error

Source§

fn try_from_cv(from: &Tensor) -> Result<Self, Self::Error>

Source§

impl TryFromCv<&OpenCvPose<&Point3_<f64>>> for Isometry3<f64>

Source§

impl TryFromCv<&OpenCvPose<&Mat>> for Isometry3<f64>

Source§

impl TryFromCv<&OpenCvPose<Point3_<f64>>> for Isometry3<f64>

Source§

impl TryFromCv<&OpenCvPose<Mat>> for Isometry3<f64>

Source§

impl TryFromCv<&TchTensorAsImage> for Mat

Source§

impl TryFromCv<DynamicImage> for Mat

Source§

impl TryFromCv<Mat> for DynamicImage

Source§

type Error = Error

Source§

fn try_from_cv(from: Mat) -> Result<Self, Self::Error>

Source§

impl TryFromCv<Mat> for Tensor

Source§

type Error = Error

Source§

fn try_from_cv(from: Mat) -> Result<Self, Self::Error>

Source§

impl TryFromCv<Tensor> for Mat

Source§

type Error = Error

Source§

fn try_from_cv(from: Tensor) -> Result<Self, Self::Error>

Source§

impl TryFromCv<OpenCvPose<&Point3_<f64>>> for Isometry3<f64>

Source§

impl TryFromCv<OpenCvPose<&Mat>> for Isometry3<f64>

Source§

impl TryFromCv<OpenCvPose<Point3_<f64>>> for Isometry3<f64>

Source§

impl TryFromCv<OpenCvPose<Mat>> for Isometry3<f64>

Source§

impl TryFromCv<TchTensorAsImage> for Mat

Source§

impl<'a, A, D> TryFromCv<&'a Mat> for ArrayView<'a, A, D>
where A: OpenCvElement, D: Dimension,

Source§

type Error = Error

Source§

fn try_from_cv(from: &'a Mat) -> Result<Self, Self::Error>

Source§

impl<'a, const N1: usize, const N2: usize> TryFromCv<&'a Tensor> for &'a [[bool; N2]; N1]

Source§

type Error = Error

Source§

fn try_from_cv(from: &Tensor) -> Result<Self, Self::Error>

Source§

impl<'a, const N1: usize, const N2: usize> TryFromCv<&'a Tensor> for &'a [[f32; N2]; N1]

Source§

type Error = Error

Source§

fn try_from_cv(from: &Tensor) -> Result<Self, Self::Error>

Source§

impl<'a, const N1: usize, const N2: usize> TryFromCv<&'a Tensor> for &'a [[f64; N2]; N1]

Source§

type Error = Error

Source§

fn try_from_cv(from: &Tensor) -> Result<Self, Self::Error>

Source§

impl<'a, const N1: usize, const N2: usize> TryFromCv<&'a Tensor> for &'a [[i8; N2]; N1]

Source§

type Error = Error

Source§

fn try_from_cv(from: &Tensor) -> Result<Self, Self::Error>

Source§

impl<'a, const N1: usize, const N2: usize> TryFromCv<&'a Tensor> for &'a [[i16; N2]; N1]

Source§

type Error = Error

Source§

fn try_from_cv(from: &Tensor) -> Result<Self, Self::Error>

Source§

impl<'a, const N1: usize, const N2: usize> TryFromCv<&'a Tensor> for &'a [[i32; N2]; N1]

Source§

type Error = Error

Source§

fn try_from_cv(from: &Tensor) -> Result<Self, Self::Error>

Source§

impl<'a, const N1: usize, const N2: usize> TryFromCv<&'a Tensor> for &'a [[i64; N2]; N1]

Source§

type Error = Error

Source§

fn try_from_cv(from: &Tensor) -> Result<Self, Self::Error>

Source§

impl<'a, const N1: usize, const N2: usize> TryFromCv<&'a Tensor> for &'a [[u8; N2]; N1]

Source§

type Error = Error

Source§

fn try_from_cv(from: &Tensor) -> Result<Self, Self::Error>

Source§

impl<'a, const N1: usize, const N2: usize> TryFromCv<&'a Tensor> for &'a [[f16; N2]; N1]

Source§

type Error = Error

Source§

fn try_from_cv(from: &Tensor) -> Result<Self, Self::Error>

Source§

impl<'a, const N1: usize, const N2: usize, const N3: usize> TryFromCv<&'a Tensor> for &'a [[[bool; N3]; N2]; N1]

Source§

type Error = Error

Source§

fn try_from_cv(from: &Tensor) -> Result<Self, Self::Error>

Source§

impl<'a, const N1: usize, const N2: usize, const N3: usize> TryFromCv<&'a Tensor> for &'a [[[f32; N3]; N2]; N1]

Source§

type Error = Error

Source§

fn try_from_cv(from: &Tensor) -> Result<Self, Self::Error>

Source§

impl<'a, const N1: usize, const N2: usize, const N3: usize> TryFromCv<&'a Tensor> for &'a [[[f64; N3]; N2]; N1]

Source§

type Error = Error

Source§

fn try_from_cv(from: &Tensor) -> Result<Self, Self::Error>

Source§

impl<'a, const N1: usize, const N2: usize, const N3: usize> TryFromCv<&'a Tensor> for &'a [[[i8; N3]; N2]; N1]

Source§

type Error = Error

Source§

fn try_from_cv(from: &Tensor) -> Result<Self, Self::Error>

Source§

impl<'a, const N1: usize, const N2: usize, const N3: usize> TryFromCv<&'a Tensor> for &'a [[[i16; N3]; N2]; N1]

Source§

type Error = Error

Source§

fn try_from_cv(from: &Tensor) -> Result<Self, Self::Error>

Source§

impl<'a, const N1: usize, const N2: usize, const N3: usize> TryFromCv<&'a Tensor> for &'a [[[i32; N3]; N2]; N1]

Source§

type Error = Error

Source§

fn try_from_cv(from: &Tensor) -> Result<Self, Self::Error>

Source§

impl<'a, const N1: usize, const N2: usize, const N3: usize> TryFromCv<&'a Tensor> for &'a [[[i64; N3]; N2]; N1]

Source§

type Error = Error

Source§

fn try_from_cv(from: &Tensor) -> Result<Self, Self::Error>

Source§

impl<'a, const N1: usize, const N2: usize, const N3: usize> TryFromCv<&'a Tensor> for &'a [[[u8; N3]; N2]; N1]

Source§

type Error = Error

Source§

fn try_from_cv(from: &Tensor) -> Result<Self, Self::Error>

Source§

impl<'a, const N1: usize, const N2: usize, const N3: usize> TryFromCv<&'a Tensor> for &'a [[[f16; N3]; N2]; N1]

Source§

type Error = Error

Source§

fn try_from_cv(from: &Tensor) -> Result<Self, Self::Error>

Source§

impl<'a, const N1: usize, const N2: usize, const N3: usize, const N4: usize> TryFromCv<&'a Tensor> for &'a [[[[bool; N4]; N3]; N2]; N1]

Source§

type Error = Error

Source§

fn try_from_cv(from: &Tensor) -> Result<Self, Self::Error>

Source§

impl<'a, const N1: usize, const N2: usize, const N3: usize, const N4: usize> TryFromCv<&'a Tensor> for &'a [[[[f32; N4]; N3]; N2]; N1]

Source§

type Error = Error

Source§

fn try_from_cv(from: &Tensor) -> Result<Self, Self::Error>

Source§

impl<'a, const N1: usize, const N2: usize, const N3: usize, const N4: usize> TryFromCv<&'a Tensor> for &'a [[[[f64; N4]; N3]; N2]; N1]

Source§

type Error = Error

Source§

fn try_from_cv(from: &Tensor) -> Result<Self, Self::Error>

Source§

impl<'a, const N1: usize, const N2: usize, const N3: usize, const N4: usize> TryFromCv<&'a Tensor> for &'a [[[[i8; N4]; N3]; N2]; N1]

Source§

type Error = Error

Source§

fn try_from_cv(from: &Tensor) -> Result<Self, Self::Error>

Source§

impl<'a, const N1: usize, const N2: usize, const N3: usize, const N4: usize> TryFromCv<&'a Tensor> for &'a [[[[i16; N4]; N3]; N2]; N1]

Source§

type Error = Error

Source§

fn try_from_cv(from: &Tensor) -> Result<Self, Self::Error>

Source§

impl<'a, const N1: usize, const N2: usize, const N3: usize, const N4: usize> TryFromCv<&'a Tensor> for &'a [[[[i32; N4]; N3]; N2]; N1]

Source§

type Error = Error

Source§

fn try_from_cv(from: &Tensor) -> Result<Self, Self::Error>

Source§

impl<'a, const N1: usize, const N2: usize, const N3: usize, const N4: usize> TryFromCv<&'a Tensor> for &'a [[[[i64; N4]; N3]; N2]; N1]

Source§

type Error = Error

Source§

fn try_from_cv(from: &Tensor) -> Result<Self, Self::Error>

Source§

impl<'a, const N1: usize, const N2: usize, const N3: usize, const N4: usize> TryFromCv<&'a Tensor> for &'a [[[[u8; N4]; N3]; N2]; N1]

Source§

type Error = Error

Source§

fn try_from_cv(from: &Tensor) -> Result<Self, Self::Error>

Source§

impl<'a, const N1: usize, const N2: usize, const N3: usize, const N4: usize> TryFromCv<&'a Tensor> for &'a [[[[f16; N4]; N3]; N2]; N1]

Source§

type Error = Error

Source§

fn try_from_cv(from: &Tensor) -> Result<Self, Self::Error>

Source§

impl<'a, const N1: usize, const N2: usize, const N3: usize, const N4: usize, const N5: usize> TryFromCv<&'a Tensor> for &'a [[[[[bool; N5]; N4]; N3]; N2]; N1]

Source§

type Error = Error

Source§

fn try_from_cv(from: &Tensor) -> Result<Self, Self::Error>

Source§

impl<'a, const N1: usize, const N2: usize, const N3: usize, const N4: usize, const N5: usize> TryFromCv<&'a Tensor> for &'a [[[[[f32; N5]; N4]; N3]; N2]; N1]

Source§

type Error = Error

Source§

fn try_from_cv(from: &Tensor) -> Result<Self, Self::Error>

Source§

impl<'a, const N1: usize, const N2: usize, const N3: usize, const N4: usize, const N5: usize> TryFromCv<&'a Tensor> for &'a [[[[[f64; N5]; N4]; N3]; N2]; N1]

Source§

type Error = Error

Source§

fn try_from_cv(from: &Tensor) -> Result<Self, Self::Error>

Source§

impl<'a, const N1: usize, const N2: usize, const N3: usize, const N4: usize, const N5: usize> TryFromCv<&'a Tensor> for &'a [[[[[i8; N5]; N4]; N3]; N2]; N1]

Source§

type Error = Error

Source§

fn try_from_cv(from: &Tensor) -> Result<Self, Self::Error>

Source§

impl<'a, const N1: usize, const N2: usize, const N3: usize, const N4: usize, const N5: usize> TryFromCv<&'a Tensor> for &'a [[[[[i16; N5]; N4]; N3]; N2]; N1]

Source§

type Error = Error

Source§

fn try_from_cv(from: &Tensor) -> Result<Self, Self::Error>

Source§

impl<'a, const N1: usize, const N2: usize, const N3: usize, const N4: usize, const N5: usize> TryFromCv<&'a Tensor> for &'a [[[[[i32; N5]; N4]; N3]; N2]; N1]

Source§

type Error = Error

Source§

fn try_from_cv(from: &Tensor) -> Result<Self, Self::Error>

Source§

impl<'a, const N1: usize, const N2: usize, const N3: usize, const N4: usize, const N5: usize> TryFromCv<&'a Tensor> for &'a [[[[[i64; N5]; N4]; N3]; N2]; N1]

Source§

type Error = Error

Source§

fn try_from_cv(from: &Tensor) -> Result<Self, Self::Error>

Source§

impl<'a, const N1: usize, const N2: usize, const N3: usize, const N4: usize, const N5: usize> TryFromCv<&'a Tensor> for &'a [[[[[u8; N5]; N4]; N3]; N2]; N1]

Source§

type Error = Error

Source§

fn try_from_cv(from: &Tensor) -> Result<Self, Self::Error>

Source§

impl<'a, const N1: usize, const N2: usize, const N3: usize, const N4: usize, const N5: usize> TryFromCv<&'a Tensor> for &'a [[[[[f16; N5]; N4]; N3]; N2]; N1]

Source§

type Error = Error

Source§

fn try_from_cv(from: &Tensor) -> Result<Self, Self::Error>

Source§

impl<'a, const N1: usize, const N2: usize, const N3: usize, const N4: usize, const N5: usize, const N6: usize> TryFromCv<&'a Tensor> for &'a [[[[[[bool; N6]; N5]; N4]; N3]; N2]; N1]

Source§

type Error = Error

Source§

fn try_from_cv(from: &Tensor) -> Result<Self, Self::Error>

Source§

impl<'a, const N1: usize, const N2: usize, const N3: usize, const N4: usize, const N5: usize, const N6: usize> TryFromCv<&'a Tensor> for &'a [[[[[[f32; N6]; N5]; N4]; N3]; N2]; N1]

Source§

type Error = Error

Source§

fn try_from_cv(from: &Tensor) -> Result<Self, Self::Error>

Source§

impl<'a, const N1: usize, const N2: usize, const N3: usize, const N4: usize, const N5: usize, const N6: usize> TryFromCv<&'a Tensor> for &'a [[[[[[f64; N6]; N5]; N4]; N3]; N2]; N1]

Source§

type Error = Error

Source§

fn try_from_cv(from: &Tensor) -> Result<Self, Self::Error>

Source§

impl<'a, const N1: usize, const N2: usize, const N3: usize, const N4: usize, const N5: usize, const N6: usize> TryFromCv<&'a Tensor> for &'a [[[[[[i8; N6]; N5]; N4]; N3]; N2]; N1]

Source§

type Error = Error

Source§

fn try_from_cv(from: &Tensor) -> Result<Self, Self::Error>

Source§

impl<'a, const N1: usize, const N2: usize, const N3: usize, const N4: usize, const N5: usize, const N6: usize> TryFromCv<&'a Tensor> for &'a [[[[[[i16; N6]; N5]; N4]; N3]; N2]; N1]

Source§

type Error = Error

Source§

fn try_from_cv(from: &Tensor) -> Result<Self, Self::Error>

Source§

impl<'a, const N1: usize, const N2: usize, const N3: usize, const N4: usize, const N5: usize, const N6: usize> TryFromCv<&'a Tensor> for &'a [[[[[[i32; N6]; N5]; N4]; N3]; N2]; N1]

Source§

type Error = Error

Source§

fn try_from_cv(from: &Tensor) -> Result<Self, Self::Error>

Source§

impl<'a, const N1: usize, const N2: usize, const N3: usize, const N4: usize, const N5: usize, const N6: usize> TryFromCv<&'a Tensor> for &'a [[[[[[i64; N6]; N5]; N4]; N3]; N2]; N1]

Source§

type Error = Error

Source§

fn try_from_cv(from: &Tensor) -> Result<Self, Self::Error>

Source§

impl<'a, const N1: usize, const N2: usize, const N3: usize, const N4: usize, const N5: usize, const N6: usize> TryFromCv<&'a Tensor> for &'a [[[[[[u8; N6]; N5]; N4]; N3]; N2]; N1]

Source§

type Error = Error

Source§

fn try_from_cv(from: &Tensor) -> Result<Self, Self::Error>

Source§

impl<'a, const N1: usize, const N2: usize, const N3: usize, const N4: usize, const N5: usize, const N6: usize> TryFromCv<&'a Tensor> for &'a [[[[[[f16; N6]; N5]; N4]; N3]; N2]; N1]

Source§

type Error = Error

Source§

fn try_from_cv(from: &Tensor) -> Result<Self, Self::Error>

Source§

impl<'a, const N: usize> TryFromCv<&'a Tensor> for &'a [bool; N]

Source§

type Error = Error

Source§

fn try_from_cv(from: &Tensor) -> Result<Self, Self::Error>

Source§

impl<'a, const N: usize> TryFromCv<&'a Tensor> for &'a [f32; N]

Source§

type Error = Error

Source§

fn try_from_cv(from: &Tensor) -> Result<Self, Self::Error>

Source§

impl<'a, const N: usize> TryFromCv<&'a Tensor> for &'a [f64; N]

Source§

type Error = Error

Source§

fn try_from_cv(from: &Tensor) -> Result<Self, Self::Error>

Source§

impl<'a, const N: usize> TryFromCv<&'a Tensor> for &'a [i8; N]

Source§

type Error = Error

Source§

fn try_from_cv(from: &Tensor) -> Result<Self, Self::Error>

Source§

impl<'a, const N: usize> TryFromCv<&'a Tensor> for &'a [i16; N]

Source§

type Error = Error

Source§

fn try_from_cv(from: &Tensor) -> Result<Self, Self::Error>

Source§

impl<'a, const N: usize> TryFromCv<&'a Tensor> for &'a [i32; N]

Source§

type Error = Error

Source§

fn try_from_cv(from: &Tensor) -> Result<Self, Self::Error>

Source§

impl<'a, const N: usize> TryFromCv<&'a Tensor> for &'a [i64; N]

Source§

type Error = Error

Source§

fn try_from_cv(from: &Tensor) -> Result<Self, Self::Error>

Source§

impl<'a, const N: usize> TryFromCv<&'a Tensor> for &'a [u8; N]

Source§

type Error = Error

Source§

fn try_from_cv(from: &Tensor) -> Result<Self, Self::Error>

Source§

impl<'a, const N: usize> TryFromCv<&'a Tensor> for &'a [f16; N]

Source§

type Error = Error

Source§

fn try_from_cv(from: &Tensor) -> Result<Self, Self::Error>

Source§

impl<A, D> TryFromCv<&Mat> for Array<A, D>
where A: OpenCvElement + Clone, D: Dimension,

Source§

type Error = Error

Source§

fn try_from_cv(from: &Mat) -> Result<Self, Self::Error>

Source§

impl<A, D> TryFromCv<&Tensor> for Array<A, D>
where D: Dimension, A: Element, Vec<A>: TryFrom<Tensor, Error = TchError>, Vec<i64>: ToNdArrayShape<D, Error = Error>,

Source§

type Error = Error

Source§

fn try_from_cv(from: &Tensor) -> Result<Self, Self::Error>

Source§

impl<A, D> TryFromCv<Mat> for Array<A, D>
where A: OpenCvElement + Clone, D: Dimension,

Source§

type Error = Error

Source§

fn try_from_cv(from: Mat) -> Result<Self, Self::Error>

Source§

impl<A, D> TryFromCv<Tensor> for Array<A, D>
where D: Dimension, A: Element, Vec<A>: TryFrom<Tensor, Error = TchError>, Vec<i64>: ToNdArrayShape<D, Error = Error>,

Source§

type Error = Error

Source§

fn try_from_cv(from: Tensor) -> Result<Self, Self::Error>

Source§

impl<A, S, D> TryFromCv<&ArrayBase<S, D>> for Mat
where A: DataType, S: RawData<Elem = A> + Data, D: Dimension,

Source§

type Error = Error

Source§

fn try_from_cv(from: &ArrayBase<S, D>) -> Result<Self>

Source§

impl<A, S, D> TryFromCv<ArrayBase<S, D>> for Mat
where A: DataType, S: RawData<Elem = A> + Data, D: Dimension,

Source§

type Error = Error

Source§

fn try_from_cv(from: ArrayBase<S, D>) -> Result<Self>

Source§

impl<N, R, C> TryFromCv<&Mat> for OMatrix<N, R, C>
where N: Scalar + DataType, R: Dim, C: Dim, DefaultAllocator: Allocator<N, R, C>,

Source§

impl<N, R, C> TryFromCv<Mat> for OMatrix<N, R, C>
where N: Scalar + DataType, R: Dim, C: Dim, DefaultAllocator: Allocator<N, R, C>,

Source§

impl<N, R, C, S> TryFromCv<&Matrix<N, R, C, S>> for Mat
where N: Scalar + DataType, R: Dim, C: Dim, S: Storage<N, R, C>, DefaultAllocator: Allocator<N, C, R>,

Source§

type Error = Error

Source§

fn try_from_cv(from: &Matrix<N, R, C, S>) -> Result<Self>

Source§

impl<N, R, C, S> TryFromCv<Matrix<N, R, C, S>> for Mat
where N: Scalar + DataType, R: Dim, C: Dim, S: Storage<N, R, C>, DefaultAllocator: Allocator<N, C, R>,

Source§

type Error = Error

Source§

fn try_from_cv(from: Matrix<N, R, C, S>) -> Result<Self>

Source§

impl<N, const D: usize> TryFromCv<&Translation<N, D>> for Mat
where N: Scalar + DataType,

Source§

type Error = Error

Source§

fn try_from_cv(translation: &Translation<N, D>) -> Result<Self>

Source§

impl<N, const D: usize> TryFromCv<Translation<N, D>> for Mat
where N: Scalar + DataType,

Source§

type Error = Error

Source§

fn try_from_cv(translation: Translation<N, D>) -> Result<Self>

Source§

impl<P, Container> TryFromCv<&ImageBuffer<P, Container>> for Mat
where P: Pixel, P::Subpixel: OpenCvElement, Container: Deref<Target = [P::Subpixel]> + Clone,

Source§

type Error = Error

Source§

fn try_from_cv(from: &ImageBuffer<P, Container>) -> Result<Self, Self::Error>

Source§

impl<P, Container> TryFromCv<ImageBuffer<P, Container>> for Mat
where P: Pixel, P::Subpixel: OpenCvElement, Container: Deref<Target = [P::Subpixel]> + Clone,

Source§

type Error = Error

Source§

fn try_from_cv(from: ImageBuffer<P, Container>) -> Result<Self, Self::Error>

Source§

impl<T> TryFromCv<&Point3_<T>> for Mat
where T: DataType,

Source§

impl<T> TryFromCv<&Point_<T>> for Mat
where T: DataType,

Source§

type Error = Error

Source§

fn try_from_cv(from: &Point_<T>) -> Result<Self>

Source§

impl<T> TryFromCv<&Mat> for ImageBuffer<Luma<T>, Vec<T>>

Source§

type Error = Error

Source§

fn try_from_cv(from: &Mat) -> Result<Self, Self::Error>

Source§

impl<T> TryFromCv<&Mat> for ImageBuffer<Rgb<T>, Vec<T>>
where Rgb<T>: Pixel<Subpixel = T>, T: OpenCvElement + Primitive + DataType,

Source§

type Error = Error

Source§

fn try_from_cv(from: &Mat) -> Result<Self, Self::Error>

Source§

impl<T> TryFromCv<&Mat> for Point3_<T>
where T: DataType,

Source§

impl<T> TryFromCv<&Mat> for Point_<T>
where T: DataType,

Source§

impl<T> TryFromCv<Point3_<T>> for Mat
where T: DataType,

Source§

impl<T> TryFromCv<Point_<T>> for Mat
where T: DataType,

Source§

impl<T> TryFromCv<Mat> for ImageBuffer<Luma<T>, Vec<T>>

Source§

type Error = Error

Source§

fn try_from_cv(from: Mat) -> Result<Self, Self::Error>

Source§

impl<T> TryFromCv<Mat> for ImageBuffer<Rgb<T>, Vec<T>>
where Rgb<T>: Pixel<Subpixel = T>, T: OpenCvElement + Primitive + DataType,

Source§

type Error = Error

Source§

fn try_from_cv(from: Mat) -> Result<Self, Self::Error>

Source§

impl<T> TryFromCv<Mat> for Point3_<T>
where T: DataType,

Source§

impl<T> TryFromCv<Mat> for Point_<T>
where T: DataType,

Source§

impl<const N1: usize, const N2: usize> TryFromCv<&Tensor> for [[bool; N2]; N1]

Source§

type Error = Error

Source§

fn try_from_cv(from: &Tensor) -> Result<Self, Self::Error>

Source§

impl<const N1: usize, const N2: usize> TryFromCv<&Tensor> for [[f32; N2]; N1]

Source§

type Error = Error

Source§

fn try_from_cv(from: &Tensor) -> Result<Self, Self::Error>

Source§

impl<const N1: usize, const N2: usize> TryFromCv<&Tensor> for [[f64; N2]; N1]

Source§

type Error = Error

Source§

fn try_from_cv(from: &Tensor) -> Result<Self, Self::Error>

Source§

impl<const N1: usize, const N2: usize> TryFromCv<&Tensor> for [[i8; N2]; N1]

Source§

type Error = Error

Source§

fn try_from_cv(from: &Tensor) -> Result<Self, Self::Error>

Source§

impl<const N1: usize, const N2: usize> TryFromCv<&Tensor> for [[i16; N2]; N1]

Source§

type Error = Error

Source§

fn try_from_cv(from: &Tensor) -> Result<Self, Self::Error>

Source§

impl<const N1: usize, const N2: usize> TryFromCv<&Tensor> for [[i32; N2]; N1]

Source§

type Error = Error

Source§

fn try_from_cv(from: &Tensor) -> Result<Self, Self::Error>

Source§

impl<const N1: usize, const N2: usize> TryFromCv<&Tensor> for [[i64; N2]; N1]

Source§

type Error = Error

Source§

fn try_from_cv(from: &Tensor) -> Result<Self, Self::Error>

Source§

impl<const N1: usize, const N2: usize> TryFromCv<&Tensor> for [[u8; N2]; N1]

Source§

type Error = Error

Source§

fn try_from_cv(from: &Tensor) -> Result<Self, Self::Error>

Source§

impl<const N1: usize, const N2: usize> TryFromCv<&Tensor> for [[f16; N2]; N1]

Source§

type Error = Error

Source§

fn try_from_cv(from: &Tensor) -> Result<Self, Self::Error>

Source§

impl<const N1: usize, const N2: usize> TryFromCv<Tensor> for [[bool; N2]; N1]

Source§

type Error = Error

Source§

fn try_from_cv(from: Tensor) -> Result<Self, Self::Error>

Source§

impl<const N1: usize, const N2: usize> TryFromCv<Tensor> for [[f32; N2]; N1]

Source§

type Error = Error

Source§

fn try_from_cv(from: Tensor) -> Result<Self, Self::Error>

Source§

impl<const N1: usize, const N2: usize> TryFromCv<Tensor> for [[f64; N2]; N1]

Source§

type Error = Error

Source§

fn try_from_cv(from: Tensor) -> Result<Self, Self::Error>

Source§

impl<const N1: usize, const N2: usize> TryFromCv<Tensor> for [[i8; N2]; N1]

Source§

type Error = Error

Source§

fn try_from_cv(from: Tensor) -> Result<Self, Self::Error>

Source§

impl<const N1: usize, const N2: usize> TryFromCv<Tensor> for [[i16; N2]; N1]

Source§

type Error = Error

Source§

fn try_from_cv(from: Tensor) -> Result<Self, Self::Error>

Source§

impl<const N1: usize, const N2: usize> TryFromCv<Tensor> for [[i32; N2]; N1]

Source§

type Error = Error

Source§

fn try_from_cv(from: Tensor) -> Result<Self, Self::Error>

Source§

impl<const N1: usize, const N2: usize> TryFromCv<Tensor> for [[i64; N2]; N1]

Source§

type Error = Error

Source§

fn try_from_cv(from: Tensor) -> Result<Self, Self::Error>

Source§

impl<const N1: usize, const N2: usize> TryFromCv<Tensor> for [[u8; N2]; N1]

Source§

type Error = Error

Source§

fn try_from_cv(from: Tensor) -> Result<Self, Self::Error>

Source§

impl<const N1: usize, const N2: usize> TryFromCv<Tensor> for [[f16; N2]; N1]

Source§

type Error = Error

Source§

fn try_from_cv(from: Tensor) -> Result<Self, Self::Error>

Source§

impl<const N1: usize, const N2: usize, const N3: usize> TryFromCv<&Tensor> for [[[bool; N3]; N2]; N1]

Source§

type Error = Error

Source§

fn try_from_cv(from: &Tensor) -> Result<Self, Self::Error>

Source§

impl<const N1: usize, const N2: usize, const N3: usize> TryFromCv<&Tensor> for [[[f32; N3]; N2]; N1]

Source§

type Error = Error

Source§

fn try_from_cv(from: &Tensor) -> Result<Self, Self::Error>

Source§

impl<const N1: usize, const N2: usize, const N3: usize> TryFromCv<&Tensor> for [[[f64; N3]; N2]; N1]

Source§

type Error = Error

Source§

fn try_from_cv(from: &Tensor) -> Result<Self, Self::Error>

Source§

impl<const N1: usize, const N2: usize, const N3: usize> TryFromCv<&Tensor> for [[[i8; N3]; N2]; N1]

Source§

type Error = Error

Source§

fn try_from_cv(from: &Tensor) -> Result<Self, Self::Error>

Source§

impl<const N1: usize, const N2: usize, const N3: usize> TryFromCv<&Tensor> for [[[i16; N3]; N2]; N1]

Source§

type Error = Error

Source§

fn try_from_cv(from: &Tensor) -> Result<Self, Self::Error>

Source§

impl<const N1: usize, const N2: usize, const N3: usize> TryFromCv<&Tensor> for [[[i32; N3]; N2]; N1]

Source§

type Error = Error

Source§

fn try_from_cv(from: &Tensor) -> Result<Self, Self::Error>

Source§

impl<const N1: usize, const N2: usize, const N3: usize> TryFromCv<&Tensor> for [[[i64; N3]; N2]; N1]

Source§

type Error = Error

Source§

fn try_from_cv(from: &Tensor) -> Result<Self, Self::Error>

Source§

impl<const N1: usize, const N2: usize, const N3: usize> TryFromCv<&Tensor> for [[[u8; N3]; N2]; N1]

Source§

type Error = Error

Source§

fn try_from_cv(from: &Tensor) -> Result<Self, Self::Error>

Source§

impl<const N1: usize, const N2: usize, const N3: usize> TryFromCv<&Tensor> for [[[f16; N3]; N2]; N1]

Source§

type Error = Error

Source§

fn try_from_cv(from: &Tensor) -> Result<Self, Self::Error>

Source§

impl<const N1: usize, const N2: usize, const N3: usize> TryFromCv<Tensor> for [[[bool; N3]; N2]; N1]

Source§

type Error = Error

Source§

fn try_from_cv(from: Tensor) -> Result<Self, Self::Error>

Source§

impl<const N1: usize, const N2: usize, const N3: usize> TryFromCv<Tensor> for [[[f32; N3]; N2]; N1]

Source§

type Error = Error

Source§

fn try_from_cv(from: Tensor) -> Result<Self, Self::Error>

Source§

impl<const N1: usize, const N2: usize, const N3: usize> TryFromCv<Tensor> for [[[f64; N3]; N2]; N1]

Source§

type Error = Error

Source§

fn try_from_cv(from: Tensor) -> Result<Self, Self::Error>

Source§

impl<const N1: usize, const N2: usize, const N3: usize> TryFromCv<Tensor> for [[[i8; N3]; N2]; N1]

Source§

type Error = Error

Source§

fn try_from_cv(from: Tensor) -> Result<Self, Self::Error>

Source§

impl<const N1: usize, const N2: usize, const N3: usize> TryFromCv<Tensor> for [[[i16; N3]; N2]; N1]

Source§

type Error = Error

Source§

fn try_from_cv(from: Tensor) -> Result<Self, Self::Error>

Source§

impl<const N1: usize, const N2: usize, const N3: usize> TryFromCv<Tensor> for [[[i32; N3]; N2]; N1]

Source§

type Error = Error

Source§

fn try_from_cv(from: Tensor) -> Result<Self, Self::Error>

Source§

impl<const N1: usize, const N2: usize, const N3: usize> TryFromCv<Tensor> for [[[i64; N3]; N2]; N1]

Source§

type Error = Error

Source§

fn try_from_cv(from: Tensor) -> Result<Self, Self::Error>

Source§

impl<const N1: usize, const N2: usize, const N3: usize> TryFromCv<Tensor> for [[[u8; N3]; N2]; N1]

Source§

type Error = Error

Source§

fn try_from_cv(from: Tensor) -> Result<Self, Self::Error>

Source§

impl<const N1: usize, const N2: usize, const N3: usize> TryFromCv<Tensor> for [[[f16; N3]; N2]; N1]

Source§

type Error = Error

Source§

fn try_from_cv(from: Tensor) -> Result<Self, Self::Error>

Source§

impl<const N1: usize, const N2: usize, const N3: usize, const N4: usize> TryFromCv<&Tensor> for [[[[bool; N4]; N3]; N2]; N1]

Source§

type Error = Error

Source§

fn try_from_cv(from: &Tensor) -> Result<Self, Self::Error>

Source§

impl<const N1: usize, const N2: usize, const N3: usize, const N4: usize> TryFromCv<&Tensor> for [[[[f32; N4]; N3]; N2]; N1]

Source§

type Error = Error

Source§

fn try_from_cv(from: &Tensor) -> Result<Self, Self::Error>

Source§

impl<const N1: usize, const N2: usize, const N3: usize, const N4: usize> TryFromCv<&Tensor> for [[[[f64; N4]; N3]; N2]; N1]

Source§

type Error = Error

Source§

fn try_from_cv(from: &Tensor) -> Result<Self, Self::Error>

Source§

impl<const N1: usize, const N2: usize, const N3: usize, const N4: usize> TryFromCv<&Tensor> for [[[[i8; N4]; N3]; N2]; N1]

Source§

type Error = Error

Source§

fn try_from_cv(from: &Tensor) -> Result<Self, Self::Error>

Source§

impl<const N1: usize, const N2: usize, const N3: usize, const N4: usize> TryFromCv<&Tensor> for [[[[i16; N4]; N3]; N2]; N1]

Source§

type Error = Error

Source§

fn try_from_cv(from: &Tensor) -> Result<Self, Self::Error>

Source§

impl<const N1: usize, const N2: usize, const N3: usize, const N4: usize> TryFromCv<&Tensor> for [[[[i32; N4]; N3]; N2]; N1]

Source§

type Error = Error

Source§

fn try_from_cv(from: &Tensor) -> Result<Self, Self::Error>

Source§

impl<const N1: usize, const N2: usize, const N3: usize, const N4: usize> TryFromCv<&Tensor> for [[[[i64; N4]; N3]; N2]; N1]

Source§

type Error = Error

Source§

fn try_from_cv(from: &Tensor) -> Result<Self, Self::Error>

Source§

impl<const N1: usize, const N2: usize, const N3: usize, const N4: usize> TryFromCv<&Tensor> for [[[[u8; N4]; N3]; N2]; N1]

Source§

type Error = Error

Source§

fn try_from_cv(from: &Tensor) -> Result<Self, Self::Error>

Source§

impl<const N1: usize, const N2: usize, const N3: usize, const N4: usize> TryFromCv<&Tensor> for [[[[f16; N4]; N3]; N2]; N1]

Source§

type Error = Error

Source§

fn try_from_cv(from: &Tensor) -> Result<Self, Self::Error>

Source§

impl<const N1: usize, const N2: usize, const N3: usize, const N4: usize> TryFromCv<Tensor> for [[[[bool; N4]; N3]; N2]; N1]

Source§

type Error = Error

Source§

fn try_from_cv(from: Tensor) -> Result<Self, Self::Error>

Source§

impl<const N1: usize, const N2: usize, const N3: usize, const N4: usize> TryFromCv<Tensor> for [[[[f32; N4]; N3]; N2]; N1]

Source§

type Error = Error

Source§

fn try_from_cv(from: Tensor) -> Result<Self, Self::Error>

Source§

impl<const N1: usize, const N2: usize, const N3: usize, const N4: usize> TryFromCv<Tensor> for [[[[f64; N4]; N3]; N2]; N1]

Source§

type Error = Error

Source§

fn try_from_cv(from: Tensor) -> Result<Self, Self::Error>

Source§

impl<const N1: usize, const N2: usize, const N3: usize, const N4: usize> TryFromCv<Tensor> for [[[[i8; N4]; N3]; N2]; N1]

Source§

type Error = Error

Source§

fn try_from_cv(from: Tensor) -> Result<Self, Self::Error>

Source§

impl<const N1: usize, const N2: usize, const N3: usize, const N4: usize> TryFromCv<Tensor> for [[[[i16; N4]; N3]; N2]; N1]

Source§

type Error = Error

Source§

fn try_from_cv(from: Tensor) -> Result<Self, Self::Error>

Source§

impl<const N1: usize, const N2: usize, const N3: usize, const N4: usize> TryFromCv<Tensor> for [[[[i32; N4]; N3]; N2]; N1]

Source§

type Error = Error

Source§

fn try_from_cv(from: Tensor) -> Result<Self, Self::Error>

Source§

impl<const N1: usize, const N2: usize, const N3: usize, const N4: usize> TryFromCv<Tensor> for [[[[i64; N4]; N3]; N2]; N1]

Source§

type Error = Error

Source§

fn try_from_cv(from: Tensor) -> Result<Self, Self::Error>

Source§

impl<const N1: usize, const N2: usize, const N3: usize, const N4: usize> TryFromCv<Tensor> for [[[[u8; N4]; N3]; N2]; N1]

Source§

type Error = Error

Source§

fn try_from_cv(from: Tensor) -> Result<Self, Self::Error>

Source§

impl<const N1: usize, const N2: usize, const N3: usize, const N4: usize> TryFromCv<Tensor> for [[[[f16; N4]; N3]; N2]; N1]

Source§

type Error = Error

Source§

fn try_from_cv(from: Tensor) -> Result<Self, Self::Error>

Source§

impl<const N1: usize, const N2: usize, const N3: usize, const N4: usize, const N5: usize> TryFromCv<&Tensor> for [[[[[bool; N5]; N4]; N3]; N2]; N1]

Source§

type Error = Error

Source§

fn try_from_cv(from: &Tensor) -> Result<Self, Self::Error>

Source§

impl<const N1: usize, const N2: usize, const N3: usize, const N4: usize, const N5: usize> TryFromCv<&Tensor> for [[[[[f32; N5]; N4]; N3]; N2]; N1]

Source§

type Error = Error

Source§

fn try_from_cv(from: &Tensor) -> Result<Self, Self::Error>

Source§

impl<const N1: usize, const N2: usize, const N3: usize, const N4: usize, const N5: usize> TryFromCv<&Tensor> for [[[[[f64; N5]; N4]; N3]; N2]; N1]

Source§

type Error = Error

Source§

fn try_from_cv(from: &Tensor) -> Result<Self, Self::Error>

Source§

impl<const N1: usize, const N2: usize, const N3: usize, const N4: usize, const N5: usize> TryFromCv<&Tensor> for [[[[[i8; N5]; N4]; N3]; N2]; N1]

Source§

type Error = Error

Source§

fn try_from_cv(from: &Tensor) -> Result<Self, Self::Error>

Source§

impl<const N1: usize, const N2: usize, const N3: usize, const N4: usize, const N5: usize> TryFromCv<&Tensor> for [[[[[i16; N5]; N4]; N3]; N2]; N1]

Source§

type Error = Error

Source§

fn try_from_cv(from: &Tensor) -> Result<Self, Self::Error>

Source§

impl<const N1: usize, const N2: usize, const N3: usize, const N4: usize, const N5: usize> TryFromCv<&Tensor> for [[[[[i32; N5]; N4]; N3]; N2]; N1]

Source§

type Error = Error

Source§

fn try_from_cv(from: &Tensor) -> Result<Self, Self::Error>

Source§

impl<const N1: usize, const N2: usize, const N3: usize, const N4: usize, const N5: usize> TryFromCv<&Tensor> for [[[[[i64; N5]; N4]; N3]; N2]; N1]

Source§

type Error = Error

Source§

fn try_from_cv(from: &Tensor) -> Result<Self, Self::Error>

Source§

impl<const N1: usize, const N2: usize, const N3: usize, const N4: usize, const N5: usize> TryFromCv<&Tensor> for [[[[[u8; N5]; N4]; N3]; N2]; N1]

Source§

type Error = Error

Source§

fn try_from_cv(from: &Tensor) -> Result<Self, Self::Error>

Source§

impl<const N1: usize, const N2: usize, const N3: usize, const N4: usize, const N5: usize> TryFromCv<&Tensor> for [[[[[f16; N5]; N4]; N3]; N2]; N1]

Source§

type Error = Error

Source§

fn try_from_cv(from: &Tensor) -> Result<Self, Self::Error>

Source§

impl<const N1: usize, const N2: usize, const N3: usize, const N4: usize, const N5: usize> TryFromCv<Tensor> for [[[[[bool; N5]; N4]; N3]; N2]; N1]

Source§

type Error = Error

Source§

fn try_from_cv(from: Tensor) -> Result<Self, Self::Error>

Source§

impl<const N1: usize, const N2: usize, const N3: usize, const N4: usize, const N5: usize> TryFromCv<Tensor> for [[[[[f32; N5]; N4]; N3]; N2]; N1]

Source§

type Error = Error

Source§

fn try_from_cv(from: Tensor) -> Result<Self, Self::Error>

Source§

impl<const N1: usize, const N2: usize, const N3: usize, const N4: usize, const N5: usize> TryFromCv<Tensor> for [[[[[f64; N5]; N4]; N3]; N2]; N1]

Source§

type Error = Error

Source§

fn try_from_cv(from: Tensor) -> Result<Self, Self::Error>

Source§

impl<const N1: usize, const N2: usize, const N3: usize, const N4: usize, const N5: usize> TryFromCv<Tensor> for [[[[[i8; N5]; N4]; N3]; N2]; N1]

Source§

type Error = Error

Source§

fn try_from_cv(from: Tensor) -> Result<Self, Self::Error>

Source§

impl<const N1: usize, const N2: usize, const N3: usize, const N4: usize, const N5: usize> TryFromCv<Tensor> for [[[[[i16; N5]; N4]; N3]; N2]; N1]

Source§

type Error = Error

Source§

fn try_from_cv(from: Tensor) -> Result<Self, Self::Error>

Source§

impl<const N1: usize, const N2: usize, const N3: usize, const N4: usize, const N5: usize> TryFromCv<Tensor> for [[[[[i32; N5]; N4]; N3]; N2]; N1]

Source§

type Error = Error

Source§

fn try_from_cv(from: Tensor) -> Result<Self, Self::Error>

Source§

impl<const N1: usize, const N2: usize, const N3: usize, const N4: usize, const N5: usize> TryFromCv<Tensor> for [[[[[i64; N5]; N4]; N3]; N2]; N1]

Source§

type Error = Error

Source§

fn try_from_cv(from: Tensor) -> Result<Self, Self::Error>

Source§

impl<const N1: usize, const N2: usize, const N3: usize, const N4: usize, const N5: usize> TryFromCv<Tensor> for [[[[[u8; N5]; N4]; N3]; N2]; N1]

Source§

type Error = Error

Source§

fn try_from_cv(from: Tensor) -> Result<Self, Self::Error>

Source§

impl<const N1: usize, const N2: usize, const N3: usize, const N4: usize, const N5: usize> TryFromCv<Tensor> for [[[[[f16; N5]; N4]; N3]; N2]; N1]

Source§

type Error = Error

Source§

fn try_from_cv(from: Tensor) -> Result<Self, Self::Error>

Source§

impl<const N1: usize, const N2: usize, const N3: usize, const N4: usize, const N5: usize, const N6: usize> TryFromCv<&Tensor> for [[[[[[bool; N6]; N5]; N4]; N3]; N2]; N1]

Source§

type Error = Error

Source§

fn try_from_cv(from: &Tensor) -> Result<Self, Self::Error>

Source§

impl<const N1: usize, const N2: usize, const N3: usize, const N4: usize, const N5: usize, const N6: usize> TryFromCv<&Tensor> for [[[[[[f32; N6]; N5]; N4]; N3]; N2]; N1]

Source§

type Error = Error

Source§

fn try_from_cv(from: &Tensor) -> Result<Self, Self::Error>

Source§

impl<const N1: usize, const N2: usize, const N3: usize, const N4: usize, const N5: usize, const N6: usize> TryFromCv<&Tensor> for [[[[[[f64; N6]; N5]; N4]; N3]; N2]; N1]

Source§

type Error = Error

Source§

fn try_from_cv(from: &Tensor) -> Result<Self, Self::Error>

Source§

impl<const N1: usize, const N2: usize, const N3: usize, const N4: usize, const N5: usize, const N6: usize> TryFromCv<&Tensor> for [[[[[[i8; N6]; N5]; N4]; N3]; N2]; N1]

Source§

type Error = Error

Source§

fn try_from_cv(from: &Tensor) -> Result<Self, Self::Error>

Source§

impl<const N1: usize, const N2: usize, const N3: usize, const N4: usize, const N5: usize, const N6: usize> TryFromCv<&Tensor> for [[[[[[i16; N6]; N5]; N4]; N3]; N2]; N1]

Source§

type Error = Error

Source§

fn try_from_cv(from: &Tensor) -> Result<Self, Self::Error>

Source§

impl<const N1: usize, const N2: usize, const N3: usize, const N4: usize, const N5: usize, const N6: usize> TryFromCv<&Tensor> for [[[[[[i32; N6]; N5]; N4]; N3]; N2]; N1]

Source§

type Error = Error

Source§

fn try_from_cv(from: &Tensor) -> Result<Self, Self::Error>

Source§

impl<const N1: usize, const N2: usize, const N3: usize, const N4: usize, const N5: usize, const N6: usize> TryFromCv<&Tensor> for [[[[[[i64; N6]; N5]; N4]; N3]; N2]; N1]

Source§

type Error = Error

Source§

fn try_from_cv(from: &Tensor) -> Result<Self, Self::Error>

Source§

impl<const N1: usize, const N2: usize, const N3: usize, const N4: usize, const N5: usize, const N6: usize> TryFromCv<&Tensor> for [[[[[[u8; N6]; N5]; N4]; N3]; N2]; N1]

Source§

type Error = Error

Source§

fn try_from_cv(from: &Tensor) -> Result<Self, Self::Error>

Source§

impl<const N1: usize, const N2: usize, const N3: usize, const N4: usize, const N5: usize, const N6: usize> TryFromCv<&Tensor> for [[[[[[f16; N6]; N5]; N4]; N3]; N2]; N1]

Source§

type Error = Error

Source§

fn try_from_cv(from: &Tensor) -> Result<Self, Self::Error>

Source§

impl<const N1: usize, const N2: usize, const N3: usize, const N4: usize, const N5: usize, const N6: usize> TryFromCv<Tensor> for [[[[[[bool; N6]; N5]; N4]; N3]; N2]; N1]

Source§

type Error = Error

Source§

fn try_from_cv(from: Tensor) -> Result<Self, Self::Error>

Source§

impl<const N1: usize, const N2: usize, const N3: usize, const N4: usize, const N5: usize, const N6: usize> TryFromCv<Tensor> for [[[[[[f32; N6]; N5]; N4]; N3]; N2]; N1]

Source§

type Error = Error

Source§

fn try_from_cv(from: Tensor) -> Result<Self, Self::Error>

Source§

impl<const N1: usize, const N2: usize, const N3: usize, const N4: usize, const N5: usize, const N6: usize> TryFromCv<Tensor> for [[[[[[f64; N6]; N5]; N4]; N3]; N2]; N1]

Source§

type Error = Error

Source§

fn try_from_cv(from: Tensor) -> Result<Self, Self::Error>

Source§

impl<const N1: usize, const N2: usize, const N3: usize, const N4: usize, const N5: usize, const N6: usize> TryFromCv<Tensor> for [[[[[[i8; N6]; N5]; N4]; N3]; N2]; N1]

Source§

type Error = Error

Source§

fn try_from_cv(from: Tensor) -> Result<Self, Self::Error>

Source§

impl<const N1: usize, const N2: usize, const N3: usize, const N4: usize, const N5: usize, const N6: usize> TryFromCv<Tensor> for [[[[[[i16; N6]; N5]; N4]; N3]; N2]; N1]

Source§

type Error = Error

Source§

fn try_from_cv(from: Tensor) -> Result<Self, Self::Error>

Source§

impl<const N1: usize, const N2: usize, const N3: usize, const N4: usize, const N5: usize, const N6: usize> TryFromCv<Tensor> for [[[[[[i32; N6]; N5]; N4]; N3]; N2]; N1]

Source§

type Error = Error

Source§

fn try_from_cv(from: Tensor) -> Result<Self, Self::Error>

Source§

impl<const N1: usize, const N2: usize, const N3: usize, const N4: usize, const N5: usize, const N6: usize> TryFromCv<Tensor> for [[[[[[i64; N6]; N5]; N4]; N3]; N2]; N1]

Source§

type Error = Error

Source§

fn try_from_cv(from: Tensor) -> Result<Self, Self::Error>

Source§

impl<const N1: usize, const N2: usize, const N3: usize, const N4: usize, const N5: usize, const N6: usize> TryFromCv<Tensor> for [[[[[[u8; N6]; N5]; N4]; N3]; N2]; N1]

Source§

type Error = Error

Source§

fn try_from_cv(from: Tensor) -> Result<Self, Self::Error>

Source§

impl<const N1: usize, const N2: usize, const N3: usize, const N4: usize, const N5: usize, const N6: usize> TryFromCv<Tensor> for [[[[[[f16; N6]; N5]; N4]; N3]; N2]; N1]

Source§

type Error = Error

Source§

fn try_from_cv(from: Tensor) -> Result<Self, Self::Error>

Source§

impl<const N: usize> TryFromCv<&Tensor> for [bool; N]

Source§

type Error = Error

Source§

fn try_from_cv(from: &Tensor) -> Result<Self, Self::Error>

Source§

impl<const N: usize> TryFromCv<&Tensor> for [f32; N]

Source§

type Error = Error

Source§

fn try_from_cv(from: &Tensor) -> Result<Self, Self::Error>

Source§

impl<const N: usize> TryFromCv<&Tensor> for [f64; N]

Source§

type Error = Error

Source§

fn try_from_cv(from: &Tensor) -> Result<Self, Self::Error>

Source§

impl<const N: usize> TryFromCv<&Tensor> for [i8; N]

Source§

type Error = Error

Source§

fn try_from_cv(from: &Tensor) -> Result<Self, Self::Error>

Source§

impl<const N: usize> TryFromCv<&Tensor> for [i16; N]

Source§

type Error = Error

Source§

fn try_from_cv(from: &Tensor) -> Result<Self, Self::Error>

Source§

impl<const N: usize> TryFromCv<&Tensor> for [i32; N]

Source§

type Error = Error

Source§

fn try_from_cv(from: &Tensor) -> Result<Self, Self::Error>

Source§

impl<const N: usize> TryFromCv<&Tensor> for [i64; N]

Source§

type Error = Error

Source§

fn try_from_cv(from: &Tensor) -> Result<Self, Self::Error>

Source§

impl<const N: usize> TryFromCv<&Tensor> for [u8; N]

Source§

type Error = Error

Source§

fn try_from_cv(from: &Tensor) -> Result<Self, Self::Error>

Source§

impl<const N: usize> TryFromCv<&Tensor> for [f16; N]

Source§

type Error = Error

Source§

fn try_from_cv(from: &Tensor) -> Result<Self, Self::Error>

Source§

impl<const N: usize> TryFromCv<Tensor> for [bool; N]

Source§

type Error = Error

Source§

fn try_from_cv(from: Tensor) -> Result<Self, Self::Error>

Source§

impl<const N: usize> TryFromCv<Tensor> for [f32; N]

Source§

type Error = Error

Source§

fn try_from_cv(from: Tensor) -> Result<Self, Self::Error>

Source§

impl<const N: usize> TryFromCv<Tensor> for [f64; N]

Source§

type Error = Error

Source§

fn try_from_cv(from: Tensor) -> Result<Self, Self::Error>

Source§

impl<const N: usize> TryFromCv<Tensor> for [i8; N]

Source§

type Error = Error

Source§

fn try_from_cv(from: Tensor) -> Result<Self, Self::Error>

Source§

impl<const N: usize> TryFromCv<Tensor> for [i16; N]

Source§

type Error = Error

Source§

fn try_from_cv(from: Tensor) -> Result<Self, Self::Error>

Source§

impl<const N: usize> TryFromCv<Tensor> for [i32; N]

Source§

type Error = Error

Source§

fn try_from_cv(from: Tensor) -> Result<Self, Self::Error>

Source§

impl<const N: usize> TryFromCv<Tensor> for [i64; N]

Source§

type Error = Error

Source§

fn try_from_cv(from: Tensor) -> Result<Self, Self::Error>

Source§

impl<const N: usize> TryFromCv<Tensor> for [u8; N]

Source§

type Error = Error

Source§

fn try_from_cv(from: Tensor) -> Result<Self, Self::Error>

Source§

impl<const N: usize> TryFromCv<Tensor> for [f16; N]

Source§

type Error = Error

Source§

fn try_from_cv(from: Tensor) -> Result<Self, Self::Error>

Implementors§