static
| 302 | |
| 303 | // static |
| 304 | Status CopyTensor::Register(DeviceType sender_device_type, |
| 305 | DeviceType receiver_device_type, |
| 306 | CopyFunction copy_function) { |
| 307 | std::vector<RegistrationInfo>* registry = MutableRegistry(); |
| 308 | registry->emplace_back(sender_device_type, receiver_device_type, |
| 309 | copy_function); |
| 310 | return Status::OK(); |
| 311 | } |
| 312 | |
| 313 | namespace { |
| 314 |
no test coverage detected