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

Method operator<

tensorflow/stream_executor/device_memory.h:75–77  ·  view source on GitHub ↗

Provides a partial order between device memory values. This operator is provided so that this object can be used as a key in an ordered map.

Source from the content-addressed store, hash-verified

73 // This operator is provided so that this object can be used as a key in an
74 // ordered map.
75 bool operator<(const DeviceMemoryBase &other) const {
76 return opaque() < other.opaque();
77 }
78
79 // Returns the size, in bytes, for the backing memory.
80 uint64 size() const { return size_; }

Callers

nothing calls this directly

Calls 1

opaqueMethod · 0.80

Tested by

no test coverage detected