Skip to content

Commit 3e4d429

Browse files
TF2JAXDevTF2JAXDev
authored andcommitted
bad_indcies_policy for ScatterNd
PiperOrigin-RevId: 637646019
1 parent ad9afbb commit 3e4d429

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tf2jax/_src/ops.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1727,7 +1727,7 @@ def _func(
17271727
@register_operation("ScatterNd")
17281728
def _scatter_nd(proto):
17291729
"""Parse a ScatterNd op."""
1730-
_check_attrs(proto, {"T", "Tindices"})
1730+
_check_attrs(proto, {"T", "Tindices", "bad_indices_policy"})
17311731

17321732
def _func(
17331733
indices: jnp.ndarray,

0 commit comments

Comments
 (0)