mirror of https://github.com/tracel-ai/burn.git
test
This commit is contained in:
parent
9e23cc4227
commit
c9eb8d817d
|
@ -77,7 +77,7 @@ pub(crate) fn scatter<R: JitRuntime, E: JitElement, I: JitElement, const D: usiz
|
|||
let value = kernel::into_contiguous(value);
|
||||
|
||||
let tensor = match tensor.can_mut() {
|
||||
true => tensor,
|
||||
true => tensor.copy(),
|
||||
false => tensor.copy(),
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue