Enum wonnx_preprocessing::Tensor
source · pub enum Tensor {
F32(ArrayBase<OwnedRepr<f32>, IxDyn>),
I32(ArrayBase<OwnedRepr<i32>, IxDyn>),
I64(ArrayBase<OwnedRepr<i64>, IxDyn>),
}
Variants§
F32(ArrayBase<OwnedRepr<f32>, IxDyn>)
I32(ArrayBase<OwnedRepr<i32>, IxDyn>)
I64(ArrayBase<OwnedRepr<i64>, IxDyn>)
Implementations§
source§impl Tensor
impl Tensor
pub fn input_tensor(&self) -> InputTensor<'_>
Auto Trait Implementations§
impl RefUnwindSafe for Tensor
impl Send for Tensor
impl Sync for Tensor
impl Unpin for Tensor
impl UnwindSafe for Tensor
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