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

Method IsScalar

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

Returns whether this is a single-element allocation.

Source from the content-addressed store, hash-verified

186
187 // Returns whether this is a single-element allocation.
188 bool IsScalar() const { return ElementCount() == 1; }
189};
190
191// Host-side representation of packed-and-aligned vector datatypes on the device

Callers

nothing calls this directly

Calls 1

ElementCountFunction · 0.85

Tested by

no test coverage detected