Home
last modified time | relevance | path

Searched refs:CreateFromShape (Results 1 – 22 of 22) sorted by relevance

/external/tensorflow/tensorflow/compiler/xla/service/cpu/
Dcpu_layout_assignment_test.cc72 HloInstruction::CreateConstant(Literal::CreateFromShape(rhs_shape))); in TEST_F()
109 HloInstruction::CreateConstant(Literal::CreateFromShape(rhs_shape))); in TEST_F()
153 HloInstruction::CreateConstant(Literal::CreateFromShape(rhs_shape))); in TEST_F()
189 HloInstruction::CreateConstant(Literal::CreateFromShape(lhs_shape))); in TEST_F()
224 HloInstruction::CreateConstant(Literal::CreateFromShape(constant_shape))); in TEST_F()
279 HloInstruction::CreateConstant(Literal::CreateFromShape(dot_rhs_shape))); in RunDotOutputFusion()
/external/tensorflow/tensorflow/compiler/xla/service/
Dzero_sized_hlo_elimination.cc48 HloInstruction::CreateConstant(Literal::CreateFromShape(shape)))); in Run()
Dhlo_graph_dumper_test.cc133 HloInstruction::CreateConstant(Literal::CreateFromShape(tuple_shape))); in TEST_F()
Dwhile_loop_analysis.cc466 Literal fake_input = Literal::CreateFromShape(while_cond_param->shape()); in ComputeWhileLoopTripCountUpperBound()
Dhlo_creation_utils.cc462 HloInstruction::CreateConstant(Literal::CreateFromShape(range))); in CreateComputationWithSignature()
Dreshape_mover_test.cc92 HloInstruction::CreateConstant(Literal::CreateFromShape(root_shape)));
Dservice.cc1059 auto literal = Literal::CreateFromShape(Shape(arg->shape_with_layout())); in TransferFromOutfeed()
Dhlo_evaluator.cc1048 Literal result = Literal::CreateFromShape(gather->shape()); in HandleGather()
Dhlo_evaluator_test.cc3241 auto output = Literal::CreateFromShape(custom_call->shape()); in TEST_F()
Dalgebraic_simplifier.cc2601 Literal::CreateFromShape(reshaped_shape)); in HandleReshape()
/external/tensorflow/tensorflow/compiler/xla/
Dliteral_test.cc506 auto x = Literal::CreateFromShape(tuple.shape()); in TEST_F()
976 auto source = Literal::CreateFromShape(shape); in TEST_F()
987 auto blank = Literal::CreateFromShape(shape); in TEST_F()
1030 const auto const_empty = Literal::CreateFromShape(empty_r1_shape); in TEST_F()
1034 const auto empty = Literal::CreateFromShape(empty_r1_shape); in TEST_F()
1043 auto empty = Literal::CreateFromShape(empty_r1_shape); in TEST_F()
1139 Literal m1 = Literal::CreateFromShape(ShapeUtil::MakeShape(F16, {2, 2})); in TEST_F()
1777 Literal scalar_f32 = Literal::CreateFromShape(ShapeUtil::MakeShape(F32, {})); in TEST_F()
1781 Literal vector_s32 = Literal::CreateFromShape(ShapeUtil::MakeShape(S32, {3})); in TEST_F()
1787 Literal tuple = Literal::CreateFromShape(ShapeUtil::MakeTupleShape( in TEST_F()
Dliteral_util.cc87 return Literal::CreateFromShape( in CreateFromDimensions()
Dliteral.h318 static Literal CreateFromShape(const Shape& shape);
Dliteral.cc187 Literal LiteralBase::CreateFromShape(const Shape& shape) { in CreateFromShape() function in xla::LiteralBase
595 Literal result = CreateFromShape(shape_with_layout); in Relayout()
/external/tensorflow/tensorflow/compiler/xla/tests/
Dxla_hlo_profile_test.cc149 stream_ptr.get(), Literal::CreateFromShape(lhs_arg_shape), lhs_arg)); in ExecuteAndFetchProfile()
156 stream_ptr.get(), Literal::CreateFromShape(rhs_arg_shape), rhs_arg)); in ExecuteAndFetchProfile()
Dtest_utils.cc208 return Literal::CreateFromShape(shape); in MakeFakeLiteralInternal()
301 return Literal::CreateFromShape(shape); in MakeFakeLiteralInternalWithBounds()
Dcopy_test.cc247 auto empty = Literal::CreateFromShape(in_shape); in XLA_TEST_F()
Dtuple_test.cc574 auto literal = Literal::CreateFromShape(expected.shape()); in XLA_TEST_F()
/external/tensorflow/tensorflow/compiler/xla/service/interpreter/
Dcompiler.cc68 auto output = Literal::CreateFromShape(custom_call->shape()); in HandleEvaluatorCustomCall()
/external/tensorflow/tensorflow/compiler/tf2xla/kernels/
Ddynamic_stitch_op.cc124 xla::Literal empty_literal = xla::Literal::CreateFromShape( in Compile()
Dresampler_ops.cc302 ctx->builder(), xla::Literal::CreateFromShape(data_shape)); in CalculateGradData()
/external/tensorflow/tensorflow/compiler/xla/client/
Dlocal_client.cc303 auto literal = Literal::CreateFromShape(shape); in TransferFromOutfeedLocal()