| 1138 | } |
| 1139 | |
| 1140 | Status Service::GetShape(const GetShapeRequest* arg, GetShapeResponse* result) { |
| 1141 | TF_ASSIGN_OR_RETURN(const ShapedBuffer* buffer, |
| 1142 | allocation_tracker_.ResolveForReplica(arg->data(), 0)); |
| 1143 | *result->mutable_shape() = buffer->on_host_shape().ToProto(); |
| 1144 | return Status::OK(); |
| 1145 | } |
| 1146 | |
| 1147 | Status Service::GetComputationGraphStats( |
| 1148 | const ComputationGraphStatsRequest* arg, ComputationStatsResponse* result) { |
no test coverage detected