Skip to content

Commit 1e2e4b1

Browse files
committed
fix unit test
Signed-off-by: Salvetti, Francesco <[email protected]>
1 parent 476c57b commit 1e2e4b1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_backend.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5038,7 +5038,7 @@ def func(x):
50385038
def test_unique_with_counts_out_int32(self):
50395039
x_val = np.array([2, 3, 3, 6, 4, 1, 1], dtype=np.float32)
50405040
def func(x):
5041-
x1_, x2_, x3_ = tf.unique(x, out_idx=tf.int32)
5041+
x1_, x2_, x3_ = tf.unique_with_counts(x, out_idx=tf.int32)
50425042
y1 = tf.identity(x1_, name=_TFOUTPUT)
50435043
y2 = tf.identity(x2_, name=_TFOUTPUT1)
50445044
y3 = tf.identity(x3_, name=_TFOUTPUT2)

0 commit comments

Comments
 (0)