Searched refs:mutable_literal (Results 1 – 6 of 6) sorted by relevance
65 return Literal::CreateFromProto(*response.mutable_literal()); in Transfer()71 *request.mutable_literal() = literal.ToProto(); in TransferToServer()99 *request.mutable_literal() = literal.ToProto(); in TransferToInfeed()
95 *instr->mutable_literal() = literal_broadcast.ToProto(); in SetInstructionAsConstant()796 *instr.mutable_literal() = scalar.ToProto(); in ConstantLiteral()804 *instr.mutable_literal() = literal.ToProto(); in ConstantLiteral()1220 *instr.mutable_literal() = LiteralUtil::CreateR1U8(tag).ToProto(); in Trace()1942 *instr.mutable_literal() = literal->ToProto(); in CustomCallInternal()1978 *instr.mutable_literal() = literal->ToProto(); in CustomCall()3819 *const_instr.mutable_literal() = literal.ToProto(); in BuildConstantSubGraph()3822 *const_instr.mutable_literal() = instr_proto->literal(); in BuildConstantSubGraph()
940 *result->mutable_literal() = result_literal.ToProto(); in TransferToClient()942 *result->mutable_literal() = in TransferToClient()1041 *result->mutable_literal() = literal.ToProto(); in TransferFromOutfeed()1091 *result->mutable_literal() = result_literal.ToProto(); in ComputeConstantGraph()
1274 *proto.mutable_literal() = literal_->ToProto(); in ToProto()1349 *proto.mutable_literal() = literal_.ToProto(); in ToProto()2433 *proto.mutable_literal() = literal_->ToProto(); in ToProto()
840 Literal* mutable_literal() { return &literal_.value(); } in mutable_literal() function
110 Literal& literal = *Cast<HloConstantInstruction>(instr)->mutable_literal(); in EmitConstants()