Skip to content

Commit

Permalink
adding more testing capability to concat_v2
Browse files Browse the repository at this point in the history
  • Loading branch information
srinidhigoud committed Jul 16, 2021
1 parent 6012605 commit d3f3aa3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/python/frontend/tensorflow2/test_functional_models.py
Original file line number Diff line number Diff line change
Expand Up @@ -354,7 +354,8 @@ def get_input(self):
@tf.function(input_signature=[tf.TensorSpec(shape=(1, 30), dtype=tf.float32)])
def func(self, x):
a, b, c = tf.split(x, 3, axis=1)
return tf.raw_ops.ConcatV2(values=[a, b, c], axis=1)
axis = tf.add(tf.constant(1, dtype="int32"),tf.constant(0, dtype="int32"))
return tf.raw_ops.ConcatV2(values=[a, b, c], axis=axis)

run_all(ConcatV2)

Expand Down

0 comments on commit d3f3aa3

Please sign in to comment.