{"record":{"id":"cfc2782f95980468","repo":"tracel-ai/burn","slug":"int-select-assign-with-other-update-is-not-imp-cfc278","errorCode":null,"errorMessage":"int_select_assign with {other:?} update is not implemented","messagePattern":"int_select_assign with (.+?) update is not implemented","errorType":"panic","errorClass":null,"httpStatus":null,"severity":"error","filePath":"crates/burn-ndarray/src/ops/int_tensor.rs","lineNumber":358,"sourceCode":"                        NdArrayMathOps::<I>::select_assign(tensor, dim, 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| {\n                        NdArrayMathOps::<I>::select_assign_replace(tensor, dim, 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| {\n                        NdArrayMathOps::<I>::select_assign_mul(tensor, dim, idx_array, value)\n                    })\n                })\n            }\n            other => unimplemented!(\"int_select_assign with {other:?} update is not implemented\"),\n        }\n    }\n    fn int_argmax(tensor: NdArrayTensor, dim: usize) -> NdArrayTensor {\n        // Use view() for zero-copy on borrowed storage\n        execute_with_int_dtype!(tensor, E, |array: SharedArray<E>| {\n            NdArrayMathOps::argmax_view::<E>(array.view(), dim)\n        })\n    }\n\n    fn int_argmin(tensor: NdArrayTensor, dim: usize) -> NdArrayTensor {\n        // Use view() for zero-copy on borrowed storage\n        execute_with_int_dtype!(tensor, E, |array: SharedArray<E>| {\n            NdArrayMathOps::argmin_view::<E>(array.view(), dim)\n        })\n    }\n\n    fn int_clamp_min(tensor: NdArrayTensor, min: Scalar) -> NdArrayTensor {\n        execute_with_int_dtype!(tensor, |array| NdArrayMathOps::clamp_min(array, min.elem()))","sourceCodeStart":340,"sourceCodeEnd":376,"githubUrl":"https://github.com/tracel-ai/burn/blob/d16f7ba2ed0d41408189384044cc886fb4c8f957/crates/burn-ndarray/src/ops/int_tensor.rs#L340-L376","documentation":"Unimplemented-operation guard in the ndarray backend's `int_select_assign`: the requested `IndexingUpdateOp` (`other`) for selecting-and-updating integer tensors has no implementation; only the implemented variants (such as Assign/Set) work.","triggerScenarios":"Thrown at crates/burn-ndarray/src/ops/int_tensor.rs:358 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Use a supported update op (e.g., Assign) for integer select_assign","Implement the operation manually with slicing on the integer tensor","Add the missing match arm in burn-ndarray's int_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"}