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

Method Serialize

tensorflow/compiler/xrt/client/xrt_tf_client.cc:441–445  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

439}
440
441void XrtTensorHandle::Serialize(eager::RemoteTensorHandle* proto) const {
442 proto->set_op_id(tensor_id_.first);
443 proto->set_output_num(tensor_id_.second);
444 proto->set_device(context_->devices_.at(device_id_).name());
445}
446
447AttrValue MakeAttrValue(std::string s) {
448 AttrValue a;

Callers 2

EnqueueOpMethod · 0.45

Calls 3

nameMethod · 0.65
set_deviceMethod · 0.45
atMethod · 0.45

Tested by

no test coverage detected