pub trait TensorDualIO<D: Dir, O> {
    type Txn: Transaction<D>;

    fn write<'async_trait>(
        self,
        txn: Self::Txn,
        bounds: Bounds,
        value: O
    ) -> Pin<Box<dyn Future<Output = TCResult<()>> + Send + 'async_trait>>
    where
        Self: 'async_trait
; }
Expand description

Tensor I/O operations which accept another Tensor as an argument

Required Associated Types§

The type of Transaction to expect

Required Methods§

Overwrite the slice of this Tensor given by Bounds with the given value.

Implementors§