pub struct TensorDim<'a> {
pub _tab: Table<'a>,
}
Expand description
Data structures for dense tensors Shape data for a single axis in a tensor
Fields
_tab: Table<'a>
Implementations
sourceimpl<'a> TensorDim<'a>
impl<'a> TensorDim<'a>
pub fn init_from_table(table: Table<'a>) -> Self
pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr>(
_fbb: &'mut_bldr mut FlatBufferBuilder<'bldr>,
args: &'args TensorDimArgs<'args>
) -> WIPOffset<TensorDim<'bldr>>
pub const VT_SIZE_: VOffsetT = 4u16
pub const VT_NAME: VOffsetT = 6u16
Trait Implementations
sourceimpl Verifiable for TensorDim<'_>
impl Verifiable for TensorDim<'_>
sourcefn run_verifier(
v: &mut Verifier<'_, '_>,
pos: usize
) -> Result<(), InvalidFlatbuffer>
fn run_verifier(
v: &mut Verifier<'_, '_>,
pos: usize
) -> Result<(), InvalidFlatbuffer>
Runs the verifier for this type, assuming its at position pos
in the verifier’s buffer.
Should not need to be called directly. Read more
impl<'a> Copy for TensorDim<'a>
impl<'a> StructuralPartialEq for TensorDim<'a>
Auto Trait Implementations
impl<'a> RefUnwindSafe for TensorDim<'a>
impl<'a> Send for TensorDim<'a>
impl<'a> Sync for TensorDim<'a>
impl<'a> Unpin for TensorDim<'a>
impl<'a> UnwindSafe for TensorDim<'a>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more