{"record":{"id":"57bddc388a6a74f9","repo":"tracel-ai/burn","slug":"int-scatter-with-other-update-is-not-implement-57bddc","errorCode":null,"errorMessage":"int_scatter with {other:?} update is not implemented","messagePattern":"int_scatter with (.+?) update is not implemented","errorType":"panic","errorClass":null,"httpStatus":null,"severity":"error","filePath":"crates/burn-ndarray/src/ops/int_tensor.rs","lineNumber":298,"sourceCode":"                        dim, tensor, idx_array, value\n                    ))\n                })\n            }\n            burn_backend::tensor::IndexingUpdateOp::Assign => {\n                execute_with_int_dtype!((tensor, value), I, |tensor, value| -> NdArrayTensor {\n                    execute_with_int_dtype!(indices, |idx_array| NdArrayOps::<I>::scatter_assign(\n                        dim, tensor, idx_array, value\n                    ))\n                })\n            }\n            burn_backend::tensor::IndexingUpdateOp::Mul => {\n                execute_with_int_dtype!((tensor, value), I, |tensor, value| -> NdArrayTensor {\n                    execute_with_int_dtype!(indices, |idx_array| NdArrayOps::<I>::scatter_mul(\n                        dim, tensor, idx_array, value\n                    ))\n                })\n            }\n            other => unimplemented!(\"int_scatter with {other:?} update is not implemented\"),\n        }\n    }\n\n    fn int_scatter_nd(\n        data: NdArrayTensor,\n        indices: NdArrayTensor,\n        values: NdArrayTensor,\n        reduction: burn_backend::tensor::IndexingUpdateOp,\n    ) -> NdArrayTensor {\n        execute_with_int_dtype!((data, values), I, |data, values| -> NdArrayTensor {\n            execute_with_int_dtype!(indices, |idx_array| NdArrayOps::<I>::scatter_nd(\n                data, idx_array, values, reduction\n            ))\n        })\n    }\n\n    fn int_gather_nd(data: NdArrayTensor, indices: NdArrayTensor) -> NdArrayTensor {\n        execute_with_int_dtype!(data, E, |array| -> NdArrayTensor {","sourceCodeStart":280,"sourceCodeEnd":316,"githubUrl":"https://github.com/tracel-ai/burn/blob/d16f7ba2ed0d41408189384044cc886fb4c8f957/crates/burn-ndarray/src/ops/int_tensor.rs#L280-L316","documentation":"Unimplemented-operation guard in the ndarray backend's `int_scatter`: only certain `IndexingUpdateOp` variants (e.g., Assign/Add depending on the code path) are supported for scattering into integer tensors; the requested update op (`other`) has no ndarray implementation.","triggerScenarios":"Thrown at crates/burn-ndarray/src/ops/int_tensor.rs:298 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Use a supported update op (e.g., Assign) for integer scatter","Perform the multiplication manually: gather, multiply, then scatter-assign","Implement the missing `IndexingUpdateOp` arm in burn-ndarray if needed"],"exampleFix":null,"handlingStrategy":"fallback","validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"d16f7ba2ed0d41408189384044cc886fb4c8f957","analyzedAt":"2026-09-05T13:19:14.260Z","contentChangedAt":"2026-09-05T13:19:14.260Z","schemaVersion":2},"datasetVersion":"2026-09-12T17:17:11.597Z"}