We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
see
module { func.func @main(%arg0: tensor<64x3xf32>, %arg1: tensor<45x1xi32>, %arg2: tensor<45x3xf32>) -> (tensor<64x3xf32>, tensor<45x1xi32>) { %cst = stablehlo.constant dense<0.000000e+00> : tensor<64x3xf32> %c = stablehlo.constant dense<0> : tensor<45x1xi32> %0 = "stablehlo.scatter"(%cst, %arg1, %arg2) <{indices_are_sorted = false, scatter_dimension_numbers = #stablehlo.scatter<update_window_dims = [1], inserted_window_dims = [0], scatter_dims_to_operand_dims = [0], index_vector_dim = 1>, unique_indices = false}> ({ ^bb0(%arg3: tensor<f32>, %arg4: tensor<f32>): %1 = stablehlo.add %arg3, %arg4 : tensor<f32> stablehlo.return %1 : tensor<f32> }) : (tensor<64x3xf32>, tensor<45x1xi32>, tensor<45x3xf32>) -> tensor<64x3xf32> return %0, %c : tensor<64x3xf32>, tensor<45x1xi32> } }
cc @avik-pal from https://github.com/EnzymeAD/Enzyme-JAX/pull/316/files#diff-64736ed56dc6dee528feea567b5f53131040242c0c9fe336706bda72a9600ed2
The text was updated successfully, but these errors were encountered:
probably more generally we can const prop the update computation if there is a splatted value
Sorry, something went wrong.
Oh yeah good call
scatter
select_and_scatter
reduce_window
reduce_scatter
No branches or pull requests
see
cc @avik-pal from https://github.com/EnzymeAD/Enzyme-JAX/pull/316/files#diff-64736ed56dc6dee528feea567b5f53131040242c0c9fe336706bda72a9600ed2
The text was updated successfully, but these errors were encountered: