pub trait PutTape<T> { type Output; // Required method fn put_tape(self, tape: T) -> Self::Output; }
Put a tape of type T into the tensor
T
let a: Tensor<Rank2<2, 3>, f32, _, NoneTape> = dev.zeros(); let a: Tensor<Rank2<2, 3>, f32, _, OwnedTape<f32, Cpu>> = a.put_tape(Default::default());