Struct border_tch_agent::TensorSubBatch
source · [−]pub struct TensorSubBatch<S, D> { /* private fields */ }Expand description
A buffer consisting of a Tensor.
Type parameter D is the data type of the buffer.
S is the shape of items in the buffer.
Implementations
Trait Implementations
Performs the conversion.
impl<S, D> SubBatch for TensorSubBatch<S, D> where
S: Shape,
D: 'static + Copy + Element + ZeroTensor,
impl<S, D> SubBatch for TensorSubBatch<S, D> where
S: Shape,
D: 'static + Copy + Element + ZeroTensor,
Auto Trait Implementations
impl<S, D> RefUnwindSafe for TensorSubBatch<S, D> where
D: RefUnwindSafe,
S: RefUnwindSafe,
impl<S, D> Send for TensorSubBatch<S, D> where
D: Send,
S: Send,
impl<S, D> !Sync for TensorSubBatch<S, D>
impl<S, D> Unpin for TensorSubBatch<S, D> where
D: Unpin,
S: Unpin,
impl<S, D> UnwindSafe for TensorSubBatch<S, D> where
D: UnwindSafe,
S: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more