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.cc93 EXPECT_TRUE(ShapeUtil::Compatible(ShapeUtil::MakeTokenShape(), in TEST()
94 ShapeUtil::MakeTokenShape())); in TEST()
95 EXPECT_FALSE(ShapeUtil::Compatible(ShapeUtil::MakeTokenShape(), in TEST()
98 ShapeUtil::MakeTokenShape())); in TEST()
100 ShapeUtil::MakeTupleShape({ShapeUtil::MakeTokenShape()}), in TEST()
101 ShapeUtil::MakeTupleShape({ShapeUtil::MakeTokenShape()}))); in TEST()
105 EXPECT_TRUE(ShapeUtil::Equal(ShapeUtil::MakeTokenShape(), in TEST()
106 ShapeUtil::MakeTokenShape())); in TEST()
107 EXPECT_FALSE(ShapeUtil::Equal(ShapeUtil::MakeTokenShape(), in TEST()
110 ShapeUtil::MakeTokenShape())); in TEST()
[all …]
Dshape_test.cc38 const Shape token_ = ShapeUtil::MakeTokenShape();
147 *program_shape.add_parameters() = ShapeUtil::MakeTokenShape(); in TEST_F()
151 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.h351 static Shape MakeTokenShape();
Dshape_util.cc282 /* 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.cc426 auto token_shape = ShapeUtil::MakeTokenShape(); in XLA_TEST_F()
/external/tensorflow/tensorflow/compiler/xla/service/
Dhlo_verifier.cc310 if (!ShapeUtil::Equal(token->shape(), ShapeUtil::MakeTokenShape())) { in CheckIsTokenOperand()
340 {infeed->infeed_shape(), ShapeUtil::MakeTokenShape()})); in HandleInfeed()
356 return CheckShape(outfeed, ShapeUtil::MakeTokenShape()); in HandleOutfeed()
877 ShapeUtil::MakeTokenShape()}), in HandleSend()
882 return CheckShape(send_done, ShapeUtil::MakeTokenShape()); in HandleSendDone()
890 ShapeUtil::MakeShape(U32, {}), ShapeUtil::MakeTokenShape()}), in HandleRecv()
899 ShapeUtil::MakeTokenShape()})); in HandleRecvDone()
1015 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.cc440 ShapeUtil::MakeTokenShape()}), in HloSendInstruction()
456 : HloSendRecvInstruction(HloOpcode::kSendDone, ShapeUtil::MakeTokenShape(), in HloSendDoneInstruction()
478 ShapeUtil::MakeTokenShape()}), in HloRecvInstruction()
498 ShapeUtil::MakeTokenShape()}), in HloRecvDoneInstruction()
1900 {infeed_shape, ShapeUtil::MakeTokenShape()})), in HloInfeedInstruction()
1939 : HloInstruction(HloOpcode::kOutfeed, ShapeUtil::MakeTokenShape()), in HloOutfeedInstruction()
Dhlo_instruction.cc1005 new HloInstruction(HloOpcode::kAfterAll, ShapeUtil::MakeTokenShape())); in CreateAfterAll()
1014 new HloInstruction(HloOpcode::kAfterAll, ShapeUtil::MakeTokenShape())); in CreateToken()
/external/tensorflow/tensorflow/compiler/xla/client/
Dxla_builder.cc1347 ShapeUtil::MakeTupleShape({shape, ShapeUtil::MakeTokenShape()}); in Infeed()
1368 *token_instr.mutable_shape() = ShapeUtil::MakeTokenShape().ToProto(); in Infeed()
1421 ShapeUtil::MakeTupleShape({shape, ShapeUtil::MakeTokenShape()}); in InfeedWithToken()
1446 *instr.mutable_shape() = ShapeUtil::MakeTokenShape().ToProto(); in Outfeed()
1466 *token_instr.mutable_shape() = ShapeUtil::MakeTokenShape().ToProto(); in Outfeed()
1499 *instr.mutable_shape() = ShapeUtil::MakeTokenShape().ToProto(); in OutfeedWithToken()
1524 *instr.mutable_shape() = ShapeUtil::MakeTokenShape().ToProto(); in CreateToken()
1544 *instr.mutable_shape() = ShapeUtil::MakeTokenShape().ToProto(); in AfterAll()
2347 *token_instr.mutable_shape() = ShapeUtil::MakeTokenShape().ToProto(); in Send()
2368 ShapeUtil::MakeTokenShape()}) in SendWithToken()
[all …]
/external/tensorflow/tensorflow/compiler/mlir/xla/
Dtype_to_shape.cc170 return ShapeUtil::MakeTokenShape(); in TypeToShape()
/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/xla/python/
Dxla.cc381 .def_static("token_shape", []() { return ShapeUtil::MakeTokenShape(); }) in PYBIND11_MODULE()
/external/tensorflow/tensorflow/compiler/tf2xla/
Dxla_compiler.cc895 *xla_shape = xla::ShapeUtil::MakeTokenShape(); in XLAShapeForArgument()