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

Function Verify

tensorflow/lite/toco/tflite/import.cc:195–198  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

193
194namespace {
195bool Verify(const void* buf, size_t len) {
196 ::flatbuffers::Verifier verifier(static_cast<const uint8_t*>(buf), len);
197 return ::tflite::VerifyModelBuffer(verifier);
198}
199} // namespace
200
201std::unique_ptr<Model> Import(const ModelFlags& model_flags,

Callers 1

ImportFunction · 0.70

Calls 1

VerifyModelBufferFunction · 0.85

Tested by

no test coverage detected