Home
last modified time | relevance | path

Searched refs:CreateFromDimensions (Results 1 – 11 of 11) sorted by relevance

/external/tensorflow/tensorflow/compiler/mlir/xla/tests/
Dmlir_hlo_builder_test.cc95 LiteralUtil::CreateFromDimensions(F32, outfeed_shape.dimensions())); in TEST_F()
107 &xla_builder_, LiteralUtil::CreateFromDimensions(F32, {2, 4, 5})); in TEST_F()
109 &xla_builder_, LiteralUtil::CreateFromDimensions(F32, {2, 6, 5})); in TEST_F()
120 LiteralUtil::CreateFromDimensions(F32, {3, 7})); in TEST_F()
122 LiteralUtil::CreateFromDimensions(F32, {})); in TEST_F()
133 LiteralUtil::CreateFromDimensions(F32, {3, 7})); in TEST_F()
135 LiteralUtil::CreateFromDimensions(F32, {})); in TEST_F()
147 LiteralUtil::CreateFromDimensions(F32, {3, 7})); in TEST_F()
158 LiteralUtil::CreateFromDimensions(F32, {3, 7})); in TEST_F()
/external/tensorflow/tensorflow/compiler/xla/service/
Dgather_expander.cc120 LiteralUtil::CreateFromDimensions(index_shape.element_type(), {0}))); in ExpandIndexVectorIntoOperandSpace()
125 LiteralUtil::CreateFromDimensions(index_shape.element_type(), {1}))); in ExpandIndexVectorIntoOperandSpace()
Dscatter_expander.cc141 LiteralUtil::CreateFromDimensions(index_shape.element_type(), {0}))); in ExpandIndexVectorIntoOperandSpace()
146 LiteralUtil::CreateFromDimensions(index_shape.element_type(), {1}))); in ExpandIndexVectorIntoOperandSpace()
Dhlo_constant_folding_test.cc130 auto literal = LiteralUtil::CreateFromDimensions(F32, dimensions); in TEST_F()
Dwhile_loop_all_reduce_code_motion.cc372 HloInstruction::CreateConstant(LiteralUtil::CreateFromDimensions( in CreateNewWhileInit()
Dhlo_evaluator.cc510 auto result_literal = LiteralUtil::CreateFromDimensions( in HandleConcatenate()
Dhlo_parser.cc3122 *literal = LiteralUtil::CreateFromDimensions( in ParseDenseLiteral()
/external/tensorflow/tensorflow/compiler/xla/
Dliteral_util.h213 static Literal CreateFromDimensions(PrimitiveType primitive_type,
Dliteral_util.cc85 /* static */ Literal LiteralUtil::CreateFromDimensions( in CreateFromDimensions() function in xla::LiteralUtil
Dliteral_test.cc184 LiteralUtil::CreateFromDimensions(S32, {2, 2, 1, 1, 1, 2}); in TEST_F()
/external/tensorflow/tensorflow/compiler/xla/tests/
Dexhaustive_op_test_utils.h450 literals[i] = LiteralUtil::CreateFromDimensions(T, {GetInputSize()});