pub trait WithEmptyTape {
    // Required method
    fn with_empty_tape(&self) -> Self;
}
Expand description

Clones self and inserts a new empty tape into the clone

Required Methods§

source

fn with_empty_tape(&self) -> Self

Clones self and inserts a new empty tape into the clone

Implementors§

source§

impl<S: Shape, E: Dtype, D: DeviceStorage, T: Default> WithEmptyTape for Tensor<S, E, D, T>