Skip to content

Commit d31faa1

Browse files
committed
Update image.py
1 parent 9f8c850 commit d31faa1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

keras/src/backend/tensorflow/image.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -707,7 +707,7 @@ def process_coordinates(coords, size):
707707
gathered = tf.transpose(tf.gather_nd(input_arr, indices))
708708

709709
# Cast to computation dtype early to avoid type issues
710-
dtype=weights[0].dtype
710+
dtype = weights[0].dtype
711711
gathered = tf.cast(gathered, dtype)
712712
gathered = tf.cast(gathered, weights[0].dtype)
713713

0 commit comments

Comments
 (0)