We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9f8c850 commit d31faa1Copy full SHA for d31faa1
keras/src/backend/tensorflow/image.py
@@ -707,7 +707,7 @@ def process_coordinates(coords, size):
707
gathered = tf.transpose(tf.gather_nd(input_arr, indices))
708
709
# Cast to computation dtype early to avoid type issues
710
- dtype=weights[0].dtype
+ dtype = weights[0].dtype
711
gathered = tf.cast(gathered, dtype)
712
gathered = tf.cast(gathered, weights[0].dtype)
713
0 commit comments