Home
last modified time | relevance | path

Searched refs:MakeTokenShape (Results 1 – 20 of 20) sorted by relevance

/external/tensorflow/tensorflow/compiler/xla/
Dshape_util_test.cc95 EXPECT_TRUE(ShapeUtil::Compatible(ShapeUtil::MakeTokenShape(), in TEST()
96 ShapeUtil::MakeTokenShape())); in TEST()
97 EXPECT_FALSE(ShapeUtil::Compatible(ShapeUtil::MakeTokenShape(), in TEST()
100 ShapeUtil::MakeTokenShape())); in TEST()
102 ShapeUtil::MakeTupleShape({ShapeUtil::MakeTokenShape()}), in TEST()
103 ShapeUtil::MakeTupleShape({ShapeUtil::MakeTokenShape()}))); in TEST()
107 EXPECT_TRUE(ShapeUtil::Equal(ShapeUtil::MakeTokenShape(), in TEST()
108 ShapeUtil::MakeTokenShape())); in TEST()
109 EXPECT_FALSE(ShapeUtil::Equal(ShapeUtil::MakeTokenShape(), in TEST()
112 ShapeUtil::MakeTokenShape())); in TEST()
[all …]
Dshape_test.cc39 const Shape token_ = ShapeUtil::MakeTokenShape();
148 *program_shape.add_parameters() = ShapeUtil::MakeTokenShape(); in TEST_F()
152 ShapeUtil::MakeTupleShape({ShapeUtil::MakeTokenShape()}), in TEST_F()
Dlayout_util_test.cc156 Shape src = ShapeUtil::MakeTokenShape(); in TEST_F()
157 Shape dst = ShapeUtil::MakeTokenShape(); in TEST_F()
180 MakeShapeWithLayout(F32, {42, 123}, {1, 0}), ShapeUtil::MakeTokenShape(), in TEST_F()
186 MakeShapeWithLayout(F32, {42, 123}, {1, 0}), ShapeUtil::MakeTokenShape(), in TEST_F()
217 {ShapeUtil::MakeOpaqueShape(), ShapeUtil::MakeTokenShape()}) { in TEST_F()
Dliteral_util.cc122 return Literal(ShapeUtil::MakeTokenShape()); in CreateToken()
Dshape_util.h397 static Shape MakeTokenShape();
Dshape_util.cc383 /* static */ Shape ShapeUtil::MakeTokenShape() { in MakeTokenShape() function in xla::ShapeUtil
/external/tensorflow/tensorflow/compiler/xla/tests/
Dtoken_hlo_test.cc76 HloInstruction::CreateParameter(1, ShapeUtil::MakeTokenShape(), "p1")); in XLA_TEST_F()
97 {ShapeUtil::MakeShape(F32, {1, 2, 3}), ShapeUtil::MakeTokenShape()}), in XLA_TEST_F()
Dtransfer_manager_test.cc305 auto device_buffer = AllocateDeviceBuffer(ShapeUtil::MakeTokenShape()); in XLA_TEST_F()
Dconcat_test.cc429 auto token_shape = ShapeUtil::MakeTokenShape(); in XLA_TEST_F()
/external/tensorflow/tensorflow/compiler/xla/service/
Dhlo_verifier.cc398 if (!ShapeUtil::Equal(token->shape(), ShapeUtil::MakeTokenShape())) { in CheckIsTokenOperand()
428 {infeed->infeed_shape(), ShapeUtil::MakeTokenShape()})); in HandleInfeed()
444 return CheckShape(outfeed, ShapeUtil::MakeTokenShape()); in HandleOutfeed()
1012 ShapeUtil::MakeTokenShape()}), in HandleSend()
1017 return CheckShape(send_done, ShapeUtil::MakeTokenShape()); in HandleSendDone()
1025 ShapeUtil::MakeShape(U32, {}), ShapeUtil::MakeTokenShape()}), in HandleRecv()
1034 ShapeUtil::MakeTokenShape()})); in HandleRecvDone()
1153 return CheckShape(token, ShapeUtil::MakeTokenShape()); in HandleAfterAll()
Dhlo_dce_test.cc335 ShapeUtil::MakeTokenShape(), {param}, nested_called_computation)); in TEST_F()
345 ShapeUtil::MakeTokenShape(), {param}, called_computation)); in TEST_F()
Dwhile_loop_invariant_code_motion_test.cc254 auto token_shape = ShapeUtil::MakeTokenShape(); in TEST_F()
303 auto token_shape = ShapeUtil::MakeTokenShape(); in TEST_F()
Dhlo_instructions.cc498 ShapeUtil::MakeTokenShape()}), in HloSendInstruction()
514 : HloSendRecvInstruction(HloOpcode::kSendDone, ShapeUtil::MakeTokenShape(), in HloSendDoneInstruction()
536 ShapeUtil::MakeTokenShape()}), in HloRecvInstruction()
556 ShapeUtil::MakeTokenShape()}), in HloRecvDoneInstruction()
2052 {infeed_shape, ShapeUtil::MakeTokenShape()})), in HloInfeedInstruction()
2091 : HloInstruction(HloOpcode::kOutfeed, ShapeUtil::MakeTokenShape()), in HloOutfeedInstruction()
Dhlo_instruction.cc1164 new HloInstruction(HloOpcode::kAfterAll, ShapeUtil::MakeTokenShape())); in CreateAfterAll()
1173 new HloInstruction(HloOpcode::kAfterAll, ShapeUtil::MakeTokenShape())); in CreateToken()
/external/tensorflow/tensorflow/compiler/mlir/xla/
Dtype_to_shape.cc185 return ShapeUtil::MakeTokenShape(); in TypeToShape()
/external/tensorflow/tensorflow/compiler/xla/client/
Dxla_builder.cc1670 ShapeUtil::MakeTupleShape({shape, ShapeUtil::MakeTokenShape()}); in Infeed()
1691 *token_instr.mutable_shape() = ShapeUtil::MakeTokenShape().ToProto(); in Infeed()
1743 ShapeUtil::MakeTupleShape({shape, ShapeUtil::MakeTokenShape()}); in InfeedWithToken()
1773 *instr.mutable_shape() = ShapeUtil::MakeTokenShape().ToProto(); in Outfeed()
1793 *token_instr.mutable_shape() = ShapeUtil::MakeTokenShape().ToProto(); in Outfeed()
1844 *instr.mutable_shape() = ShapeUtil::MakeTokenShape().ToProto(); in OutfeedWithTokenInternal()
1854 *instr.mutable_shape() = ShapeUtil::MakeTokenShape().ToProto(); in CreateToken()
1874 *instr.mutable_shape() = ShapeUtil::MakeTokenShape().ToProto(); in AfterAll()
3149 *token_instr.mutable_shape() = ShapeUtil::MakeTokenShape().ToProto(); in Send()
3170 ShapeUtil::MakeTokenShape()}) in SendWithToken()
[all …]
/external/tensorflow/tensorflow/compiler/xla/python/
Dxla_compiler.cc202 .def_static("token_shape", []() { return ShapeUtil::MakeTokenShape(); }) in BuildXlaCompilerSubmodule()
/external/tensorflow/tensorflow/compiler/xla/client/lib/
Dmath_test.cc198 shape = ShapeUtil::MakeTokenShape(); in XLA_TEST_F()
/external/tensorflow/tensorflow/compiler/tf2xla/kernels/
Dwhile_op.cc472 xla::ShapeUtil::MakeTokenShape()}); in Compile()
/external/tensorflow/tensorflow/compiler/tf2xla/
Dxla_compiler.cc927 *xla_shape = xla::ShapeUtil::MakeTokenShape(); in XLAShapeForArgument()