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

Method base

tensorflow/core/framework/tensor.h:86–88  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

84 /// \brief Helper method to reinterpret the buffer as an array of `T`.
85 template <typename T>
86 T* base() const {
87 return reinterpret_cast<T*>(data());
88 }
89
90 /// \brief Whether this TensorBuffer owns the underlying memory.
91 virtual bool OwnsMemory() const { return true; }

Callers

nothing calls this directly

Calls 1

dataFunction · 0.50

Tested by

no test coverage detected