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

Function GetAllocator

tensorflow/core/framework/device_base.h:192–195  ·  view source on GitHub ↗

Return the Allocator implementation to use based on the allocator attributes requested. See allocator.h for more details.

Source from the content-addressed store, hash-verified

190 // Return the Allocator implementation to use based on the allocator
191 // attributes requested. See allocator.h for more details.
192 virtual Allocator* GetAllocator(AllocatorAttributes /*attr*/) {
193 LOG(FATAL) << "GetAllocator() is not implemented.";
194 return nullptr;
195 }
196
197 // This method is provided for backwards compatibility, and will be removed
198 // in a future release.

Callers 4

GetStepAllocatorFunction · 0.70
gpu_device.ccFile · 0.50
GetAllocatorMethod · 0.50
MakeTensorFromProtoMethod · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected