Skip to content

Commit

Permalink
fixed test
Browse files Browse the repository at this point in the history
  • Loading branch information
VPraharsha03 authored Oct 29, 2022
1 parent 3090609 commit 95cfdaa
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/flytekit/unit/extras/tensorflow/test_tensor.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

@task
def create_rank1_tensor() -> tf.Tensor:
return tf.constant([5, 4, 3, 2, 1], dtype=tf.int32)
return tf.constant([6, 5, 4, 3, 2, 1], dtype=tf.int32)


@task
Expand All @@ -33,13 +33,13 @@ def task1(tensor: tf.Tensor) -> tf.Tensor:

@task
def task2(tensor: tf.Tensor) -> tf.Tensor:
return tensor.reshape(tensor, [2, 3])
return tf.reshape(tensor, [2, 3])


@workflow
def wf():
task1(tensor=create_rank1_tensor())
# task2(tensor=create_rank1_tensor())
task2(tensor=create_rank1_tensor())


@workflow
Expand Down

0 comments on commit 95cfdaa

Please sign in to comment.