{"record":{"id":"0328222a0a06990e","repo":"tracel-ai/burn","slug":"float-scatter-with-other-update-is-not-impleme-032822","errorCode":null,"errorMessage":"float_scatter with {other:?} update is not implemented","messagePattern":"float_scatter with (.+?) update is not implemented","errorType":"panic","errorClass":null,"httpStatus":null,"severity":"error","filePath":"crates/burn-ndarray/src/ops/tensor.rs","lineNumber":223,"sourceCode":"                    |idx_array: SharedArray<IntElem>| -> NdArrayTensor {\n                        execute_with_float_dtype!((tensor, value), |tensor, value| {\n                            NdArrayOps::scatter_assign(dim, tensor, idx_array, value)\n                        })\n                    }\n                )\n            }\n            burn_backend::tensor::IndexingUpdateOp::Mul => {\n                execute_with_int_dtype!(\n                    indices,\n                    IntElem,\n                    |idx_array: SharedArray<IntElem>| -> NdArrayTensor {\n                        execute_with_float_dtype!((tensor, value), |tensor, value| {\n                            NdArrayOps::scatter_mul(dim, tensor, idx_array, value)\n                        })\n                    }\n                )\n            }\n            other => unimplemented!(\"float_scatter with {other:?} update is not implemented\"),\n        }\n    }\n\n    fn float_scatter_nd(\n        data: FloatTensor<Self>,\n        indices: NdArrayTensor,\n        values: FloatTensor<Self>,\n        reduction: burn_backend::tensor::IndexingUpdateOp,\n    ) -> FloatTensor<Self> {\n        execute_with_int_dtype!(\n            indices,\n            IntElem,\n            |idx_array: SharedArray<IntElem>| -> NdArrayTensor {\n                execute_with_float_dtype!((data, values), |data, values| NdArrayOps::scatter_nd(\n                    data, idx_array, values, reduction\n                ))\n            }\n        )","sourceCodeStart":205,"sourceCodeEnd":241,"githubUrl":"https://github.com/tracel-ai/burn/blob/d16f7ba2ed0d41408189384044cc886fb4c8f957/crates/burn-ndarray/src/ops/tensor.rs#L205-L241","documentation":"Unimplemented-operation guard in the ndarray backend's `float_scatter`: the requested `IndexingUpdateOp` (`other`) for scattering into float tensors is not implemented; only the handled variants (e.g., Set/Assign/Add) are supported.","triggerScenarios":"Thrown at crates/burn-ndarray/src/ops/tensor.rs:223 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Use a supported update op for float scatter","Compose the operation from gather/scatter_assign primitives","Add the missing match arm in burn-ndarray's tensor ops"],"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"}