TF 2.0 is out! Get hands-on practice at TF World, Oct 28-31. Use code TF20 for 20% off select passes. Register now


This is an abstract class.

#include <model.h>

Abstract interface that verifies whether a given model is legit.


It facilitates the use-case to verify and build a model without loading it twice.

Constructors and Destructors


Public functions

Verify(const char *data, int length, ErrorReporter *reporter)=0
virtual bool
Returns true if the model is legit.

Public functions


virtual bool Verify(
  const char *data,
  int length,
  ErrorReporter *reporter

Returns true if the model is legit.


virtual  ~TfLiteVerifier()