Home
last modified time | relevance | path

Searched refs:WithRankAtMost (Results 1 – 17 of 17) sorted by relevance

/external/tensorflow/tensorflow/core/ops/
Drpc_ops.cc29 TF_RETURN_IF_ERROR(c->WithRankAtMost(c->input(0), 1, &address)); in RpcShapeOp()
33 TF_RETURN_IF_ERROR(c->WithRankAtMost(c->input(1), 1, &method)); in RpcShapeOp()
37 TF_RETURN_IF_ERROR(c->WithRankAtMost(c->input(2), 1, &request)); in RpcShapeOp()
Dragged_math_ops.cc49 TF_RETURN_IF_ERROR(c->WithRankAtMost(starts, 1, &starts)); in RaggedRangeShapeFn()
50 TF_RETURN_IF_ERROR(c->WithRankAtMost(limits, 1, &limits)); in RaggedRangeShapeFn()
51 TF_RETURN_IF_ERROR(c->WithRankAtMost(deltas, 1, &deltas)); in RaggedRangeShapeFn()
Drandom_ops.cc78 TF_RETURN_IF_ERROR(c->WithRankAtMost(c->input(1), 1, &unused)); in __anon979c5d7d0202()
79 TF_RETURN_IF_ERROR(c->WithRankAtMost(c->input(2), 1, &unused)); in __anon979c5d7d0202()
80 TF_RETURN_IF_ERROR(c->WithRankAtMost(c->input(3), 1, &unused)); in __anon979c5d7d0202()
81 TF_RETURN_IF_ERROR(c->WithRankAtMost(c->input(4), 1, &unused)); in __anon979c5d7d0202()
Dmanip_ops.cc36 TF_RETURN_IF_ERROR(c->WithRankAtMost(c->input(1), 1, &unused)); in __anon323d2f510102()
38 TF_RETURN_IF_ERROR(c->WithRankAtMost(c->input(2), 1, &unused)); in __anon323d2f510102()
Dexperimental_dataset_ops.cc73 TF_RETURN_IF_ERROR(c->WithRankAtMost(c->input(0), 1, &unused)); in __anondb35634f0202()
87 TF_RETURN_IF_ERROR(c->WithRankAtMost(c->input(i), 1, &v)); in __anondb35634f0202()
249 TF_RETURN_IF_ERROR(c->WithRankAtMost(c->input(0), 1, &unused)); in __anondb35634f0602()
340 TF_RETURN_IF_ERROR(c->WithRankAtMost(c->input(0), 0, &unused)); in __anondb35634f0802()
341 TF_RETURN_IF_ERROR(c->WithRankAtMost(c->input(1), 0, &unused)); in __anondb35634f0802()
Ddataset_ops.cc412 TF_RETURN_IF_ERROR(c->WithRankAtMost(c->input(0), 1, &unused)); in __anondee5e0a20f02()
432 TF_RETURN_IF_ERROR(c->WithRankAtMost(c->input(0), 1, &unused)); in __anondee5e0a21002()
455 TF_RETURN_IF_ERROR(c->WithRankAtMost(c->input(0), 1, &unused)); in __anondee5e0a21102()
475 TF_RETURN_IF_ERROR(c->WithRankAtMost(c->input(0), 1, &unused)); in __anondee5e0a21202()
Dlookup_ops.cc85 TF_RETURN_IF_ERROR(c->WithRankAtMost(c->input(2), 1, &unused)); in __anon8a0811960202()
171 TF_RETURN_IF_ERROR(c->WithRankAtMost(c->input(2), 1, &keys)); in __anon8a0811960302()
321 TF_RETURN_IF_ERROR(c->WithRankAtMost(key, 1, &key_s)); in MutableHashTableShape()
Dparsing_ops.cc349 TF_RETURN_IF_ERROR(c->WithRankAtMost(c->input(i), 1, &v)); in __anon952516500602()
Dio_ops.cc489 TF_RETURN_IF_ERROR(c->WithRankAtMost(c->input(0), 1, &unused)); in __anone43acdb40e02()
Darray_ops.cc487 TF_RETURN_IF_ERROR(c->WithRankAtMost(in, out_rank, &in)); in __anon7c94107b0702()
3121 TF_RETURN_IF_ERROR(c->WithRankAtMost(inputs, 4, &inputs)); in __anon7c94107b4a02()
/external/tensorflow/tensorflow/compiler/xrt/ops/
Dxrt_execute_op.cc35 c->WithRankAtMost(input_handle_shapes[i], 1, &unused)); in __anon8fb216580102()
/external/tensorflow/tensorflow/core/framework/
Dshape_inference_test.cc138 TF_RETURN_IF_ERROR(c->WithRankAtMost(c->input(0), 6, &h)); in TEST_F()
149 TF_RETURN_IF_ERROR(c->WithRankAtMost(c->input(0), 0, &h)); in TEST_F()
175 TF_RETURN_IF_ERROR(c->WithRankAtMost(c->input(0), 0, &h)); in TEST_F()
196 TF_RETURN_IF_ERROR(c->WithRankAtMost(c->input(0), 0, &h)); in TEST_F()
219 TF_RETURN_IF_ERROR(c->WithRankAtMost(c->input(0), 0, &h)); in TEST_F()
242 TF_RETURN_IF_ERROR(c->WithRankAtMost(c->input(0), 0, &h)); in TEST_F()
349 TEST_F(ShapeInferenceTest, WithRankAtMost) { in TEST_F() argument
360 EXPECT_TRUE(c.WithRankAtMost(in0, 1, &s1).ok()); in TEST_F()
364 EXPECT_TRUE(c.WithRankAtMost(in0, 2, &s2).ok()); in TEST_F()
371 c.WithRankAtMost(in1, 2, &s1).ToString(), in TEST_F()
[all …]
Dcommon_shape_fns.h194 TF_RETURN_IF_ERROR(c->WithRankAtMost(c->input(0), rank, &out)); in UnchangedShapeWithRankAtMost()
Dshape_inference.cc406 Status InferenceContext::WithRankAtMost(ShapeHandle shape, int64 rank, in WithRankAtMost() function in tensorflow::shape_inference::InferenceContext
778 TF_RETURN_IF_ERROR(WithRankAtMost(input(input_idx), 1, &input_shape)); in MakeShapeFromShapeTensorTreatScalarAsUnknownShape()
Dshape_inference.h398 Status WithRankAtMost(ShapeHandle shape, int64 rank,
Dcommon_shape_fns.cc1163 TF_RETURN_IF_ERROR(c->WithRankAtMost(c->input(1), 1, &indices)); in ReductionShape()
/external/tensorflow/tensorflow/contrib/reduce_slice_ops/ops/
Dreduce_slice_ops.cc39 TF_RETURN_IF_ERROR(c->WithRankAtMost(c->input(1), 2, &handle)); in ReduceSliceShapeFn()