/external/tensorflow/tensorflow/core/ops/ |
D | sparse_ops.cc | 36 c->set_output(0, c->Matrix(InferenceContext::kUnknownDim, in SparseSparseMinOrMaxShapeFn() 37 InferenceContext::kUnknownDim)); in SparseSparseMinOrMaxShapeFn() 38 c->set_output(1, c->Vector(InferenceContext::kUnknownDim)); in SparseSparseMinOrMaxShapeFn() 79 0, c->Matrix(InferenceContext::kUnknownDim, c->Dim(a_shape, 0))); in __anon36a8fc880302() 80 c->set_output(1, c->Vector(InferenceContext::kUnknownDim)); in __anon36a8fc880302() 148 c->set_output(0, c->Matrix(InferenceContext::kUnknownDim, 3)); in __anon36a8fc880602() 163 c->set_output(0, c->Matrix(InferenceContext::kUnknownDim, in __anon36a8fc880702() 164 InferenceContext::kUnknownDim)); in __anon36a8fc880702() 165 c->set_output(1, c->Vector(InferenceContext::kUnknownDim)); in __anon36a8fc880702() 166 c->set_output(2, c->Vector(InferenceContext::kUnknownDim)); in __anon36a8fc880702() [all …]
|
D | cudnn_rnn_ops.cc | 335 c->set_output(i, c->Matrix(InferenceContext::kUnknownDim, in __anon815c5c9f0902() 336 InferenceContext::kUnknownDim)); in __anon815c5c9f0902() 340 c->set_output(num_params + i, c->Vector(InferenceContext::kUnknownDim)); in __anon815c5c9f0902() 371 c->set_output(i, c->Matrix(InferenceContext::kUnknownDim, in __anon815c5c9f0a02() 372 InferenceContext::kUnknownDim)); in __anon815c5c9f0a02() 377 c->Vector(InferenceContext::kUnknownDim)); in __anon815c5c9f0a02() 398 c->set_output(0, c->Vector(InferenceContext::kUnknownDim)); in __anon815c5c9f0b02() 420 c->set_output(0, c->Vector(InferenceContext::kUnknownDim)); in __anon815c5c9f0c02()
|
D | string_ops.cc | 195 c->set_output(0, c->Matrix(InferenceContext::kUnknownDim, 2)); in __anon4354d5f10502() 196 c->set_output(1, c->Vector(InferenceContext::kUnknownDim)); in __anon4354d5f10502() 213 c->set_output(0, c->Matrix(InferenceContext::kUnknownDim, 2)); in __anon4354d5f10602() 214 c->set_output(1, c->Vector(InferenceContext::kUnknownDim)); in __anon4354d5f10602()
|
D | collective_ops.cc | 63 shape_inference::InferenceContext::kUnknownDim) { in __anon52c2f9040102() 65 c->Vector(shape_inference::InferenceContext::kUnknownDim); in __anon52c2f9040102()
|
D | tpu_ordinal_selector_ops.cc | 26 c->Vector(shape_inference::InferenceContext::kUnknownDim)); in __anoncf62f5bb0102()
|
D | ctc_ops.cc | 160 c->set_output(out_idx++, c->Matrix(InferenceContext::kUnknownDim, 2)); in __anonbca2cdf40402() 163 c->set_output(out_idx++, c->Vector(InferenceContext::kUnknownDim)); in __anonbca2cdf40402()
|
D | io_ops.cc | 382 ShapeHandle out = c->Vector(InferenceContext::kUnknownDim); in __anon52e493120902() 399 ShapeHandle out = c->Vector(InferenceContext::kUnknownDim); in __anon52e493120a02() 491 c->set_output(0, c->Vector(InferenceContext::kUnknownDim)); in __anon52e493120e02()
|
D | image_ops.cc | 85 c->set_output(0, c->MakeShape({InferenceContext::kUnknownDim, in DecodeImageShapeFn() 86 InferenceContext::kUnknownDim, channels_dim})); in DecodeImageShapeFn() 118 c->MakeShape({InferenceContext::kUnknownDim, in DecodeImageV2ShapeFn() 119 InferenceContext::kUnknownDim, channels_dim})); in DecodeImageV2ShapeFn() 629 c->set_output(0, c->MakeShape({InferenceContext::kUnknownDim, in __anon30b5031d0e02() 630 InferenceContext::kUnknownDim, in __anon30b5031d0e02() 631 InferenceContext::kUnknownDim, 3})); in __anon30b5031d0e02()
|
D | ragged_math_ops.cc | 67 int64 rt_nested_splits_dim = InferenceContext::kUnknownDim; in RaggedRangeShapeFn()
|
D | sdca_ops.cc | 38 {c->Matrix(InferenceContext::kUnknownDim, c->MakeDim(4))}); in ApplySdcaOptimizerShapeFn()
|
D | math_ops.cc | 1133 c->Concatenate(c->Vector(InferenceContext::kUnknownDim), subshape, &out)); in SegmentReductionShapeFn() 1157 c->Concatenate(c->Vector(InferenceContext::kUnknownDim), subshape, &out)); in SparseSegmentReductionShapeFn() 1184 dim0_shape = c->Vector(InferenceContext::kUnknownDim); in SparseSegmentReductionGradShapeFn() 1225 TF_RETURN_IF_ERROR(c->Concatenate(c->Vector(InferenceContext::kUnknownDim), in SparseSegmentReductionWithNumSegmentsShapeFn() 1480 c->set_output(0, c->Vector(InferenceContext::kUnknownDim)); in __anon725c8f640902() 1520 c->set_output(0, c->Vector(InferenceContext::kUnknownDim)); in __anon725c8f640a02() 2077 int32 dim = dim_t == nullptr ? InferenceContext::kUnknownDim in __anon725c8f641c02() 2081 ? InferenceContext::kUnknownDim in __anon725c8f641c02()
|
D | candidate_sampling_ops.cc | 159 ShapeHandle v = c->Vector(InferenceContext::kUnknownDim); in __anonafdb00d10202()
|
D | ragged_array_ops.cc | 103 if (batch_size != InferenceContext::kUnknownDim) { in __anon9deb1dc20102()
|
D | array_ops.cc | 1449 c->set_output(1, c->Vector(InferenceContext::kUnknownDim)); in UniqueIdxShapeFn() 1495 c->set_output(0, c->Vector(InferenceContext::kUnknownDim)); in __anon42d741191e02() 1525 auto uniq = c->Vector(InferenceContext::kUnknownDim); in __anon42d741192002() 1544 c->set_output(2, c->Vector(InferenceContext::kUnknownDim)); in __anon42d741192102() 1901 c->set_output(0, c->Vector(InferenceContext::kUnknownDim)); in __anon42d741192902() 1925 c->set_output(0, c->Vector(InferenceContext::kUnknownDim)); in __anon42d741192a02() 1926 c->set_output(1, c->Vector(InferenceContext::kUnknownDim)); in __anon42d741192a02() 2205 ShapeHandle out = c->Vector(InferenceContext::kUnknownDim); in __anon42d741193102() 2636 c->MakeShape({batch_size_dim, InferenceContext::kUnknownDim, in __anon42d741193902() 2637 InferenceContext::kUnknownDim, output_depth_dim}); in __anon42d741193902() [all …]
|
D | data_flow_ops.cc | 341 n_shape = c->Vector(InferenceContext::kUnknownDim); in __anonea01102b0602() 367 return DequeueManyV2Shape(c, c->Vector(InferenceContext::kUnknownDim)); in __anonea01102b0702() 692 prepend_rank != InferenceContext::kUnknownDim) { in __anonea01102b1702()
|
D | resource_variable_ops.cc | 226 : InferenceContext::kUnknownDim; in VariableShapeShapeFn()
|
/external/tensorflow/tensorflow/c/ |
D | c_api_experimental_test.cc | 157 static constexpr int64_t kUnknownDim = member in tensorflow::__anon347214ea0111::ShapeInferenceTest 158 shape_inference::InferenceContext::kUnknownDim; 179 /*expected_shape*/ make_shape({3, kUnknownDim})); in TEST_F() 184 /*input_shapes*/ {make_shape({kUnknownDim, 2}), make_shape({2, 4})}, in TEST_F() 186 /*expected_shape*/ make_shape({kUnknownDim, 4})); in TEST_F() 192 /*expected_shape*/ make_shape({kUnknownDim, kUnknownDim})); in TEST_F()
|
/external/tensorflow/tensorflow/core/framework/ |
D | shape_inference.cc | 30 constexpr int64 InferenceContext::kUnknownDim; member in tensorflow::shape_inference::InferenceContext 261 if (dim_val == kUnknownDim) { in NumElements() 370 if (existing == kUnknownDim) { in WithValue() 480 if (v0 == kUnknownDim || v1 == kUnknownDim || v0 != v1) { in Relax() 530 if (v0 == kUnknownDim) { in Merge() 531 if (v1 != kUnknownDim) { in Merge() 534 } else if (v1 == kUnknownDim) { in Merge() 1019 } else if (first_value == kUnknownDim || second_value == kUnknownDim) { in Add() 1044 } else if (first_value == kUnknownDim || second_value == kUnknownDim) { in Subtract() 1073 } else if (first_value == kUnknownDim || second_value == kUnknownDim) { in Multiply() [all …]
|
D | shape_inference.h | 158 static constexpr int64 kUnknownDim = -1; 354 return Value(d) != kUnknownDim; in ValueKnown() 490 inline DimensionHandle UnknownDim() { return MakeDim(kUnknownDim); } in UnknownDim() 779 inline Dimension::Dimension() : value_(InferenceContext::kUnknownDim) {} in Dimension() 781 DCHECK(value >= 0 || value == InferenceContext::kUnknownDim) in Dimension() 797 DCHECK(val >= 0 || val == InferenceContext::kUnknownDim) in DimensionOrConstant()
|
D | shape_inference_test.cc | 126 EXPECT_EQ(InferenceContext::kUnknownDim, in TEST_F() 127 c.Value(InferenceContext::kUnknownDim)); in TEST_F() 297 EXPECT_EQ(InferenceContext::kUnknownDim, c.Value(d)); in TEST_F() 549 {S({2, InferenceContext::kUnknownDim, 2, 1, in TEST_F() 550 InferenceContext::kUnknownDim})}, in TEST_F() 565 EXPECT_EQ(InferenceContext::kUnknownDim, c.Value(out)); in TEST_F() 568 EXPECT_EQ(InferenceContext::kUnknownDim, c.Value(out)); in TEST_F() 572 EXPECT_EQ(InferenceContext::kUnknownDim, c.Value(out)); in TEST_F() 588 EXPECT_EQ(InferenceContext::kUnknownDim, c.Value(out)); in TEST_F() 590 EXPECT_EQ(InferenceContext::kUnknownDim, c.Value(out)); in TEST_F() [all …]
|
D | shape_inference_testutil_test.cc | 89 c->set_output(0, c->Matrix(InferenceContext::kUnknownDim, 2)); in TEST()
|
D | shape_inference_testutil.cc | 243 dims.push_back(manager->MakeDim(InferenceContext::kUnknownDim)); in MakeShapeFromString()
|
/external/tensorflow/tensorflow/c/eager/ |
D | c_api_unified_experimental_graph.cc | 48 auto& kUnknownDim = shape_inference::InferenceContext::kUnknownDim; variable 73 std::vector<int64> dims(num_dims, kUnknownDim); in Shape()
|
/external/tflite-support/tensorflow_lite_support/custom_ops/kernel/sentencepiece/ |
D | sentencepiece_tokenizer_op.cc | 54 tensorflow::shape_inference::InferenceContext::kUnknownDim)); in __anon18bebb200102()
|
/external/tensorflow/tensorflow/core/common_runtime/ |
D | shape_refiner_test.cc | 873 0, c->MakeShape({1, shape_inference::InferenceContext::kUnknownDim, 3, in __anon45ba5f3d0c02() 874 shape_inference::InferenceContext::kUnknownDim, 5})); in __anon45ba5f3d0c02() 884 c->MakeShape({6, shape_inference::InferenceContext::kUnknownDim, 8})); in __anon45ba5f3d0d02() 1362 shp = ctx->MakeShape({shape_inference::InferenceContext::kUnknownDim, 7}); in TEST_F()
|