Skip to content

Commit 7c7b409

Browse files
committed
Fixed cases where tf.TensorShape was constructed with float dimensions
This is a prerequisite for making TensorShape and Dimension more strict about the types of their arguments. PiperOrigin-RevId: 275340768
1 parent 01ce405 commit 7c7b409

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

morph_net/tools/configurable_ops_test.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ def testSeparableConv2dOp(self):
128128
self.inputs,
129129
num_outputs=88,
130130
kernel_size=3,
131-
depth_multiplier=1.0,
131+
depth_multiplier=1,
132132
scope='test')
133133
self.assertEqual(12, output.shape.as_list()[-1])
134134

0 commit comments

Comments
 (0)