| 96 | } |
| 97 | |
| 98 | void GroupServerProxy::get_output_shape( |
| 99 | void* input_ptr, size_t input_len, std::string* output) { |
| 100 | INFO_INIT(mm_handler, GetOutputShape); |
| 101 | auto shape = m_mgr.get_output_shape(req.key()); |
| 102 | auto&& shape_proto = *rsp.mutable_shape(); |
| 103 | shape_proto.set_ndim(shape.ndim); |
| 104 | for (size_t i = 0; i < shape.ndim; ++i) { |
| 105 | shape_proto.add_shape(shape[i]); |
| 106 | } |
| 107 | rsp.SerializeToString(output); |
| 108 | } |
| 109 | |
| 110 | void GroupServerProxy::bcast_addr( |
| 111 | void* input_ptr, size_t input_len, std::string* output) { |
no test coverage detected