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

Function vector_as_array

tensorflow/core/lib/gtl/stl_util.h:45–47  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

43// is empty.
44template <typename T, typename Allocator>
45inline T* vector_as_array(std::vector<T, Allocator>* v) {
46 return v->data();
47}
48
49template <typename T, typename Allocator>
50inline const T* vector_as_array(const std::vector<T, Allocator>* v) {

Callers 4

RunMethod · 0.85
SetOutputAttrsMethod · 0.85
SetOutputAttrsFunction · 0.85
CreateOpKernelContextMethod · 0.85

Calls 1

dataMethod · 0.45

Tested by 3

SetOutputAttrsMethod · 0.68
SetOutputAttrsFunction · 0.68
CreateOpKernelContextMethod · 0.68