Struct TransactionPrimitiveData
pub struct TransactionPrimitiveData {
pub read_floats: Vec<TensorData>,
pub read_qfloats: Vec<TensorData>,
pub read_ints: Vec<TensorData>,
pub read_bools: Vec<TensorData>,
}Expand description
Contains all data related to a transaction.
Fields§
§read_floats: Vec<TensorData>Float tensor data.
read_qfloats: Vec<TensorData>Quantized tensor data.
read_ints: Vec<TensorData>Int tensor data.
read_bools: Vec<TensorData>Bool tensor data.
Trait Implementations§
§impl Default for TransactionPrimitiveData
impl Default for TransactionPrimitiveData
§fn default() -> TransactionPrimitiveData
fn default() -> TransactionPrimitiveData
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for TransactionPrimitiveData
impl !RefUnwindSafe for TransactionPrimitiveData
impl Send for TransactionPrimitiveData
impl Sync for TransactionPrimitiveData
impl Unpin for TransactionPrimitiveData
impl !UnwindSafe for TransactionPrimitiveData
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more