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

Replaces whatever tape is in self with tape.

Provided Methods

Clones self and put’s a brand new tape on it

Implementors