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

Method Buffer

tensorflow/core/framework/tensor.cc:469–471  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

467
468template <typename T>
469Buffer<T>::Buffer(Allocator* a, int64 n)
470 : BufferBase(a, TypedAllocator::Allocate<T>(a, n, AllocationAttributes())),
471 elem_(n) {}
472
473template <typename T>
474Buffer<T>::Buffer(Allocator* a, int64 n,

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected