pub struct TensorType {
pub dtype: String,
pub shape: Vec<Option<i64>>,
}Fields§
§dtype: String§shape: Vec<Option<i64>>Trait Implementations§
Source§impl Clone for TensorType
impl Clone for TensorType
Source§fn clone(&self) -> TensorType
fn clone(&self) -> TensorType
Returns a duplicate of the value. Read more
1.0.0 · 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 TensorType
impl Debug for TensorType
Source§impl PartialEq for TensorType
impl PartialEq for TensorType
Source§impl Serialize for TensorType
impl Serialize for TensorType
impl Eq for TensorType
impl StructuralPartialEq for TensorType
Auto Trait Implementations§
impl Freeze for TensorType
impl RefUnwindSafe for TensorType
impl Send for TensorType
impl Sync for TensorType
impl Unpin for TensorType
impl UnsafeUnpin for TensorType
impl UnwindSafe for TensorType
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