Skip to content

Commit fa5d19d

Browse files
committed
fix unit test.
1 parent 0347299 commit fa5d19d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/TensorFlowNET.Core/APIs/tf.tile.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ public Tensor tile(Tensor input, Tensor multiples, string name = null)
2323
=> gen_array_ops.tile(input, multiples, name);
2424

2525
public Tensor tile(Tensor input, object[] multiples, string name = null)
26-
=> array_ops.tile(input, multiples, name);
26+
=> array_ops.tile(input, constant_op.constant(shape_utils.from_object_array(multiples).dims), name);
2727

2828
public Tensor tile(Tensor input, Shape multiples, string name = null)
2929
{

0 commit comments

Comments
 (0)