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

Method GetStats

tensorflow/core/framework/allocator.h:218–218  ·  view source on GitHub ↗

Fills in 'stats' with statistics collected by this allocator.

Source from the content-addressed store, hash-verified

216
217 // Fills in 'stats' with statistics collected by this allocator.
218 virtual absl::optional<AllocatorStats> GetStats() { return absl::nullopt; }
219
220 // Clears the internal stats except for the `in_use` field.
221 virtual void ClearStats() {}

Callers 3

CheckStatsFunction · 0.45
GetPeakMemoryUsageMethod · 0.45
ComputeAsyncMethod · 0.45

Calls

no outgoing calls

Tested by 1

CheckStatsFunction · 0.36