@@ -198,18 +198,18 @@ TEST_F(OpBucketizeTest, SanityCheck) {
198198 TensorFactory<ScalarType::Float> tf_comp;
199199
200200 Tensor values = tf_comp.make (
201- {2 , 4 , 4 }, {0 , 4 , 6 , 8 , 1 , 4 , 5 , 8 , 1 , 5 , 6 , 8 , -1 , 4 , 6 , 9 ,
201+ {2 , 2 , 2 , 4 }, {0 , 4 , 6 , 8 , 1 , 4 , 5 , 8 , 1 , 5 , 6 , 8 , -1 , 4 , 6 , 9 ,
202202
203- 1 , 4 , 6 , 8 , 1 , 4 , 7 , 8 , -2 , 4 , 6 , 8 , 1 , 4 , 6 , 8 });
203+ 1 , 4 , 6 , 8 , 1 , 4 , 7 , 8 , -2 , 4 , 6 , 8 , 1 , 4 , 6 , 8 });
204204
205205 Tensor boundaries = tf_comp.make ({5 }, {0 , 3 , 5 , 7 , 9 });
206206
207- Tensor expected =
208- tf_out. make ( {2 , 4 , 4 }, {1 , 2 , 3 , 4 , 1 , 2 , 3 , 4 , 1 , 3 , 3 , 4 , 0 , 2 , 3 , 5 ,
207+ Tensor expected = tf_out. make (
208+ {2 , 2 , 2 , 4 }, {1 , 2 , 3 , 4 , 1 , 2 , 3 , 4 , 1 , 3 , 3 , 4 , 0 , 2 , 3 , 5 ,
209209
210- 1 , 2 , 3 , 4 , 1 , 2 , 4 , 4 , 0 , 2 , 3 , 4 , 1 , 2 , 3 , 4 });
210+ 1 , 2 , 3 , 4 , 1 , 2 , 4 , 4 , 0 , 2 , 3 , 4 , 1 , 2 , 3 , 4 });
211211
212- Tensor out = tf_out.zeros ({2 , 4 , 4 });
212+ Tensor out = tf_out.zeros ({2 , 2 , 2 , 4 });
213213
214214 // The execution of the operator
215215 Tensor ret = op_bucketize_out (values, boundaries, false , true , out);
0 commit comments