pub struct TensorTransaction<'a> {
pub name: &'a str,
pub shape: TensorShape,
pub rows: &'a [TensorBatchRow],
pub access: TensorAccess,
pub data: TensorDataMut<'a>,
}Expand description
One owned tensor transaction presented synchronously to Rust.
Fields§
§name: &'a strExact graph-node name.
shape: TensorShapeValidated shape.
rows: &'a [TensorBatchRow]Exact logical rows represented by this native tensor.
access: TensorAccessNative access granted by the selector.
data: TensorDataMut<'a>Typed Rust-owned values.
Trait Implementations§
Auto Trait Implementations§
impl<'a> !UnwindSafe for TensorTransaction<'a>
impl<'a> Freeze for TensorTransaction<'a>
impl<'a> RefUnwindSafe for TensorTransaction<'a>
impl<'a> Send for TensorTransaction<'a>
impl<'a> Sync for TensorTransaction<'a>
impl<'a> Unpin for TensorTransaction<'a>
impl<'a> UnsafeUnpin for TensorTransaction<'a>
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