MCPcopy Create free account
hub / github.com/DeepRec-AI/DeepRec / AsyncOutSend

Method AsyncOutSend

tensorflow/compiler/xla/client/xla_builder.cc:665–676  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

663}
664
665XlaOp XlaBuilder::AsyncOutSend(const XlaOp& operand,
666 const Shape& shape_with_layout,
667 const string& rendezvous_key) {
668 return ReportErrorOrReturn([&]() -> StatusOr<XlaOp> {
669 HloInstructionProto instr;
670 *instr.mutable_shape() = ShapeUtil::MakeNil().ToProto();
671 *instr.mutable_async_out_send_shape() = shape_with_layout.ToProto();
672 instr.set_rendezvous_key(rendezvous_key);
673 return AddInstruction(std::move(instr), HloOpcode::kAsyncOutSend,
674 {operand});
675 });
676}
677
678XlaOp XlaBuilder::Iota(const Shape& shape, int64 iota_dimension) {
679 return ReportErrorOrReturn([&]() -> StatusOr<XlaOp> {

Callers 1

AsyncOutSendFunction · 0.80

Calls 2

mutable_shapeMethod · 0.45
ToProtoMethod · 0.45

Tested by

no test coverage detected