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

Method op_segment

tensorflow/core/common_runtime/device.h:166–166  ·  view source on GitHub ↗

Returns the op segment of this device. The caller can reuse op kernels registered for the same session running on this device.

Source from the content-addressed store, hash-verified

164 // Returns the op segment of this device. The caller can reuse op
165 // kernels registered for the same session running on this device.
166 OpSegment* op_segment() { return &op_seg_; }
167
168 // Returns the resource manager associated w/ this device.
169 virtual ResourceMgr* resource_manager() { return rmgr_; }

Callers 5

DirectSessionMethod · 0.80
~DirectSessionMethod · 0.80
CreateExecutorsMethod · 0.80
~ItemMethod · 0.80
InitItemMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected