pub struct TensorAxis {
pub name: String,
pub dimension: SymbolicDimension,
}Expand description
Named tensor axis in storage order.
Fields§
§name: StringSemantic axis name; independent of checkpoint field spelling.
dimension: SymbolicDimensionKnown extent or operation-dependent symbolic dimension.
Trait Implementations§
Source§impl Clone for TensorAxis
impl Clone for TensorAxis
Source§fn clone(&self) -> TensorAxis
fn clone(&self) -> TensorAxis
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for TensorAxis
impl Debug for TensorAxis
Source§impl<'de> Deserialize<'de> for TensorAxis
impl<'de> Deserialize<'de> for TensorAxis
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for TensorAxis
Source§impl PartialEq for TensorAxis
impl PartialEq for TensorAxis
Source§impl Serialize for TensorAxis
impl Serialize for TensorAxis
impl StructuralPartialEq for TensorAxis
Auto Trait Implementations§
impl Freeze for TensorAxis
impl RefUnwindSafe for TensorAxis
impl Send for TensorAxis
impl Sync for TensorAxis
impl Unpin for TensorAxis
impl UnsafeUnpin for TensorAxis
impl UnwindSafe for TensorAxis
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