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

Function SpanToVector

tensorflow/compiler/xla/util.h:529–531  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

527
528template <typename T>
529std::vector<T> SpanToVector(absl::Span<const T> slice) {
530 return std::vector<T>(slice.begin(), slice.end());
531}
532
533template <typename T, size_t N>
534std::vector<T> InlinedVectorToVector(

Callers 15

DimensionSizesMethod · 0.85
ExpandFunction · 0.85
CompileMethod · 0.85
ExecuteTensorListPopBackFunction · 0.85
ExecuteTensorListSetItemFunction · 0.85
ExecuteTensorListGetItemFunction · 0.85
AlignLayoutsMethod · 0.85
TorchIndexSelectFunction · 0.85

Calls 2

beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected