pub struct TransactionalTensorCapture {
pub name: String,
pub shape: TensorShape,
pub rows: Vec<TensorBatchRow>,
pub data: CapturedTensorData,
}Expand description
Complete retained typed tensor from one callback invocation.
Fields§
§name: StringExact graph-node name.
shape: TensorShapeValidated shape.
rows: Vec<TensorBatchRow>Exact logical batch rows.
data: CapturedTensorDataTyped copied values after a successful handler invocation.
Trait Implementations§
Source§impl Clone for TransactionalTensorCapture
impl Clone for TransactionalTensorCapture
Source§fn clone(&self) -> TransactionalTensorCapture
fn clone(&self) -> TransactionalTensorCapture
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 TransactionalTensorCapture
impl Debug for TransactionalTensorCapture
impl StructuralPartialEq for TransactionalTensorCapture
Auto Trait Implementations§
impl Freeze for TransactionalTensorCapture
impl RefUnwindSafe for TransactionalTensorCapture
impl Send for TransactionalTensorCapture
impl Sync for TransactionalTensorCapture
impl Unpin for TransactionalTensorCapture
impl UnsafeUnpin for TransactionalTensorCapture
impl UnwindSafe for TransactionalTensorCapture
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