No public description
PiperOrigin-RevId: 580292393
This commit is contained in:
parent
8d370f4f5b
commit
c375761480
|
@ -78,10 +78,10 @@ class ModelResources {
|
||||||
ModelResources& operator=(const ModelResources&) = delete;
|
ModelResources& operator=(const ModelResources&) = delete;
|
||||||
|
|
||||||
// Returns the model resources tag.
|
// Returns the model resources tag.
|
||||||
std::string GetTag() const { return tag_; }
|
const std::string& GetTag() const { return tag_; }
|
||||||
|
|
||||||
// Returns a copy of the model file proto.
|
// Returns the model file proto.
|
||||||
proto::ExternalFile GetModelFile() const { return *model_file_; }
|
const proto::ExternalFile& GetModelFile() const { return *model_file_; }
|
||||||
|
|
||||||
// Returns a pointer to tflite::model.
|
// Returns a pointer to tflite::model.
|
||||||
const tflite::Model* GetTfLiteModel() const;
|
const tflite::Model* GetTfLiteModel() const;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user