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

Function GetAsVector

tensorflow/lite/tools/optimize/quantize_weights_test.cc:64–66  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

62
63template <typename T>
64std::vector<T> GetAsVector(const flatbuffers::Vector<T>* vec) {
65 return std::vector<T>(vec->begin(), vec->end());
66}
67
68class QuantizeWeightsTest : public testing::Test {
69 protected:

Callers 1

TEST_FFunction · 0.70

Calls 2

beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected