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

Method allocator

tensorflow/core/framework/dataset.h:368–370  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

366 explicit IteratorContext(Params params) : params_(std::move(params)) {}
367
368 Allocator* allocator(AllocatorAttributes attrs) {
369 return params_.allocator_getter(attrs);
370 }
371
372 std::function<Allocator*(AllocatorAttributes)> allocator_getter() {
373 return params_.allocator_getter;

Callers 1

set_eigen_cpu_deviceMethod · 0.45

Calls 1

allocator_getterMethod · 0.80

Tested by

no test coverage detected