| 70 | } |
| 71 | |
| 72 | void 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 |
nothing calls this directly
no test coverage detected