{"record":{"id":"c8027dccd7412ca5","repo":"tracel-ai/burn","slug":"float-select-assign-with-other-update-is-not-i-c8027d","errorCode":null,"errorMessage":"float_select_assign with {other:?} update is not implemented","messagePattern":"float_select_assign with (.+?) update is not implemented","errorType":"panic","errorClass":null,"httpStatus":null,"severity":"error","filePath":"crates/burn-ndarray/src/ops/tensor.rs","lineNumber":314,"sourceCode":"                        execute_with_float_dtype!((tensor, value), |tensor, value| {\n                            NdArrayMathOps::select_assign_replace(tensor, dim, 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                            NdArrayMathOps::select_assign_mul(tensor, dim, idx_array, value)\n                        })\n                    }\n                )\n            }\n            other => {\n                unimplemented!(\"float_select_assign with {other:?} update is not implemented\")\n            }\n        }\n    }\n\n    fn float_slice(tensor: FloatTensor<Self>, slices: &[burn_backend::Slice]) -> FloatTensor<Self> {\n        slice!(tensor, slices)\n    }\n\n    fn float_slice_assign(\n        tensor: FloatTensor<Self>,\n        slices: &[burn_backend::Slice],\n        value: FloatTensor<Self>,\n    ) -> FloatTensor<Self> {\n        execute_with_float_dtype!((tensor, value), |tensor, value| {\n            NdArrayOps::slice_assign(tensor, slices, value)\n        })\n    }\n","sourceCodeStart":296,"sourceCodeEnd":332,"githubUrl":"https://github.com/tracel-ai/burn/blob/d16f7ba2ed0d41408189384044cc886fb4c8f957/crates/burn-ndarray/src/ops/tensor.rs#L296-L332","documentation":"Raised inside the IndexingUpdateOp dispatch in float_select_assign: the op extracted from the update tensor (e.g. a Value op other than the handled Replace/Add/Mul set) has no float implementation on the ndarray backend. It signals an unimplemented backend capability rather than invalid user input — the selected update operation variant is simply not yet coded for float dtypes in this backend.","triggerScenarios":"Thrown at crates/burn-ndarray/src/ops/tensor.rs:314 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Use a supported update op (e.g., Assign) for float select_assign","Implement via slice assignment on the float tensor","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"}