This commit is contained in:
mepatrick73 2024-08-14 19:57:03 -04:00
parent 9e23cc4227
commit c9eb8d817d
1 changed files with 1 additions and 1 deletions

View File

@ -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(),
};