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.
Implementations§
Source§impl TransactionData
impl TransactionData
pub fn into_ordered(self, orders: Vec<ReadbackOrder>) -> Vec<TensorData>
Trait Implementations§
Source§impl Default for TransactionData
impl Default for TransactionData
Source§fn default() -> TransactionData
fn default() -> TransactionData
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl !RefUnwindSafe for TransactionData
impl !UnwindSafe for TransactionData
impl Freeze for TransactionData
impl Send for TransactionData
impl Sync for TransactionData
impl Unpin for TransactionData
impl UnsafeUnpin for TransactionData
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