pub struct TensorInfo {
pub name: String,
pub shape: Vec<i32>,
pub channel_last: bool,
}Expand description
Native tensor metadata.
Fields§
§name: StringGraph tensor name.
shape: Vec<i32>Signed native shape. Negative dimensions represent dynamic axes.
channel_last: boolWhether the public contiguous tensor is channel-last (NHWC).
Trait Implementations§
Source§impl Clone for TensorInfo
impl Clone for TensorInfo
Source§impl Debug for TensorInfo
impl Debug for TensorInfo
impl Eq for TensorInfo
Source§impl PartialEq for TensorInfo
impl PartialEq for TensorInfo
impl StructuralPartialEq for TensorInfo
Auto Trait Implementations§
impl Freeze for TensorInfo
impl RefUnwindSafe for TensorInfo
impl Send for TensorInfo
impl Sync for TensorInfo
impl Unpin for TensorInfo
impl UnsafeUnpin for TensorInfo
impl UnwindSafe for TensorInfo
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