MCPcopy Create free account
hub / github.com/DeepRec-AI/DeepRec / Register

Method Register

tensorflow/core/common_runtime/copy_tensor.cc:304–311  ·  view source on GitHub ↗

static

Source from the content-addressed store, hash-verified

302
303// static
304Status 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
313namespace {
314

Calls 2

MutableRegistryFunction · 0.85
emplace_backMethod · 0.45

Tested by

no test coverage detected