MCPcopy Create free account
hub / github.com/Oneflow-Inc/oneflow / ToTransportTaskProto

Method ToTransportTaskProto

oneflow/core/graph/boxing_zeros_task_node.cpp:72–78  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

70}
71
72void BoxingZerosTaskNode::ToTransportTaskProto(TransportTaskProto* transport_task_proto) const {
73 ToProto(transport_task_proto->mutable_task_proto(), /*check=*/false);
74 auto* proto = transport_task_proto->mutable_boxing_zeros_task();
75 shape_.ToProto(proto->mutable_shape());
76 proto->set_data_type(data_type_);
77 time_shape_.ToProto(proto->mutable_time_shape());
78}
79
80} // namespace oneflow

Callers

nothing calls this directly

Calls 2

ToProtoMethod · 0.45
set_data_typeMethod · 0.45

Tested by

no test coverage detected