/external/tensorflow/tensorflow/compiler/xla/tests/ |
D | select_and_scatter_test.cc | 264 ConstantR2<int32_t>(&builder_, {{7, 2, 5, 3, 10, 2}, {3, 8, 9, 3, 4, 2}}); in XLA_TEST_F() 265 const auto source = ConstantR2<int32_t>(&builder_, {{2, 6}}); in XLA_TEST_F() 276 const auto operand = ConstantR2<float>( in XLA_TEST_F() 278 const auto source = ConstantR2<float>( in XLA_TEST_F() 290 const auto operand = ConstantR2<int32_t>( in XLA_TEST_F() 294 const auto source = ConstantR2<int32_t>(&builder_, {{2, 6}}); in XLA_TEST_F() 305 ConstantR2<int32_t>(&builder_, {{7, 2, 5, 3, 8}, {3, 8, 9, 3, 4}}); in XLA_TEST_F() 306 const auto source = ConstantR2<int32_t>(&builder_, {{2, 6, 4}}); in XLA_TEST_F() 317 ConstantR2<int32_t>(&builder_, {{7, 2, 5, 3, 8}, {3, 8, 9, 3, 4}}); in XLA_TEST_F() 318 const auto source = ConstantR2<int32_t>(&builder_, {{2, 6, 4}}); in XLA_TEST_F() [all …]
|
D | client_test.cc | 45 Add(ConstantR2<int32_t>(&b, {{1, 2}, {3, 4}}), in XLA_TEST_F() 46 ConstantR2<int32_t>(&b, {{10, 20}, {30, 40}})); in XLA_TEST_F() 74 Tuple(&b, {ConstantR2<int32_t>(&b, {{1, 2}, {3, 4}}), in XLA_TEST_F() 75 ConstantR2<int32_t>(&b, {{10, 20}, {30, 40}})}); in XLA_TEST_F() 125 ConstantR2<int32_t>(&b, {{1, 2}, {3, 4}})); in XLA_TEST_F()
|
D | array_elementwise_ops_test.cc | 815 auto a = ConstantR2<bool>(&builder, {{false, false}, {true, true}}); in XLA_TEST_F() 816 auto b = ConstantR2<bool>(&builder, {{false, true}, {false, true}}); in XLA_TEST_F() 843 auto a = ConstantR2<int32_t>(&builder, {{0, -5}, {-1, 5}}); in XLA_TEST_F() 844 auto b = ConstantR2<int32_t>(&builder, {{1, -6}, {4, 5}}); in XLA_TEST_F() 871 auto a = ConstantR2<uint32_t>(&builder, {{0, 1}, {3, 8}}); in XLA_TEST_F() 872 auto b = ConstantR2<uint32_t>(&builder, {{1, 0}, {7, 6}}); in XLA_TEST_F() 899 auto a = ConstantR2<bool>(&builder, {{false, false}, {true, true}}); in XLA_TEST_F() 900 auto b = ConstantR2<bool>(&builder, {{false, true}, {false, true}}); in XLA_TEST_F() 927 auto a = ConstantR2<int32_t>(&builder, {{0, -1}, {8, 8}}); in XLA_TEST_F() 928 auto b = ConstantR2<int32_t>(&builder, {{5, -7}, {4, 1}}); in XLA_TEST_F() [all …]
|
D | pred_test.cc | 88 ConstantR2<bool>(&builder, {{false, true, true}, {true, false, false}}); in TEST_F() 119 auto a = ConstantR2<bool>(&builder, { in TEST_F() 130 auto a = ConstantR2<bool>(&builder, { in TEST_F()
|
D | reshape_motion_test.cc | 46 auto a = ConstantR2<int32_t>(&builder, {{2, 3, 5}, {7, 11, 13}}); in TEST_F() 47 auto b = ConstantR2<int32_t>(&builder, {{17, 19}, {23, 29}, {31, 37}}); in TEST_F()
|
D | tuple_test.cc | 89 ConstantR2<float>(&builder, constant_matrix)}); in XLA_TEST_F() 128 ConstantR2<float>(&builder, constant_matrix)}); in XLA_TEST_F() 167 ConstantR2<float>(&builder, constant_matrix)}); in XLA_TEST_F() 196 ConstantR2<float>(&builder, constant_matrix)}); in XLA_TEST_F() 231 ConstantR2<float>(&builder, constant_matrix)}); in XLA_TEST_F()
|
D | broadcast_simple_test.cc | 188 BroadcastInDim(ConstantR2<float>(&b, {{1.0, 5.0}, {2.0, 6.0}}), {2, 2, 2}, 206 BroadcastInDim(ConstantR2<float>(&b, {{1.0, 5.0}, {2.0, 6.0}}), {2, 2, 2}, 290 Add(ConstantR2<float>(&b, {{1.0, 5.0}}), in XLA_TEST_F() 733 Add(ConstantR2<float>(&b, {{1.0, 5.0}, {1.0, 5.0}}), in XLA_TEST_F() 748 Add(ConstantR2<float>(&b, {{1.0, 2.0}}), in XLA_TEST_F() 749 ConstantR2<float>(&b, {{1.0, 2.0, 3.0}, {4.0, 5.0, 6.0}})); in XLA_TEST_F() 761 Add(ConstantR2<float>(&b, {{1.0, 2.0}}), in XLA_TEST_F() 762 ConstantR2<float>(&b, {{1.0, 2.0, 3.0}, {4.0, 5.0, 6.0}})); in XLA_TEST_F()
|
D | compute_constant_test.cc | 173 Add(ConstantR2<float>(&b, {{1.0f}}), ConstantR2<float>(&b, {{1.0f}})); in TEST_F() 255 Add(ConstantR2<int32_t>(&b, {{1, 2}, {3, 4}}), in XLA_TEST_F() 256 ConstantR2<int32_t>(&b, {{10, 20}, {30, 40}})), in XLA_TEST_F()
|
D | vector_ops_reduce_test.cc | 107 auto x = ConstantR2<float>(&builder_, { in TEST_F() 123 auto x = ConstantR2<float>(&builder_, { in TEST_F()
|
D | multidimensional_slice_test.cc | 36 auto original = ConstantR2<float>( in XLA_TEST_F()
|
D | binop_scaling_test.cc | 98 auto rhs = ConstantR2<float>(&builder, { in TEST_F()
|
D | transpose_test.cc | 65 auto lhs = ConstantR2<float>(&builder, { in TEST_F()
|
D | unary_op_test.cc | 194 auto arg = ConstantR2<float>(&builder, {{1.0, -2.0}, {-3.0, 4.0}}); in XLA_TEST_F()
|
D | value_inference_test.cc | 143 auto c = ConstantR2<int32_t>(&b, {{0, 0}}); in TEST_F()
|
/external/tensorflow/tensorflow/compiler/xla/client/lib/ |
D | quantize_test.cc | 216 ConstantR2<uint32_t>(&builder, {{PackToUint32<uint8_t>(input[0])[0]}, in XLA_TEST_F() 240 ConstantR2<uint32_t>(&builder, {{PackToUint32<uint8_t>(input[0])[0]}, in XLA_TEST_F() 263 auto x = ConstantR2<uint32_t>( in XLA_TEST_F() 294 auto x = ConstantR2<uint32_t>( in XLA_TEST_F()
|
D | arithmetic_test.cc | 53 XlaOp x = ConstantR2<NativeT>(&builder, input); in TestArgMinMax()
|
/external/tensorflow/tensorflow/compiler/tf2xla/kernels/ |
D | resampler_ops.cc | 57 auto first_term = xla::ConstantR2<float>( in BilinearWeights() 89 auto sign_change = xla::ConstantR2<float>( in BilinearWeights()
|
/external/tensorflow/tensorflow/compiler/xla/client/ |
D | xla_builder.h | 1686 XlaOp ConstantR2(XlaBuilder* builder, 2738 XlaOp ConstantR2(XlaBuilder* builder, in ConstantR2() function
|