You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
let x = dev.tensor(1.0);let y = x
.clone().put_tape(OwnedTape::<f32,Cpu>::default())
+ x.with_empty_tape();// Crash is here.
y.backward();
Code to reproduce for Arc<Mutex<OwnedTape<_, _>>>:
let dev = Cpu::default();let x = dev
.tensor(1.0).put_tape(Arc::<Mutex<OwnedTape<f32,Cpu>>,>::default());let y = x.clone() + x;// Crash is here.
y.backward();
Code to reproduce for
OwnedTape<_, _>
:Code to reproduce for
Arc<Mutex<OwnedTape<_, _>>>
:The code crashes with this error:
The crash is caused by the assert here, which appear to be related to a requirement that operands represent unique tensors.
The text was updated successfully, but these errors were encountered: