pub trait PutTape<H: Tape> {
type Output;
fn put_tape(self, tape: H) -> Self::Output;
fn with_diff_tape(&self) -> Self::Output
where
Self: Clone,
{ ... }
}
Expand description
Changes the kind of tape inside a tensor.
Required Associated Types
Required Methods
Provided Methods
sourcefn with_diff_tape(&self) -> Self::Outputwhere
Self: Clone,
fn with_diff_tape(&self) -> Self::Outputwhere
Self: Clone,
Clones self
and put’s a brand new tape on it