package toco

Mouse Melon logoGet desktop application:
View/edit binary Protocol Buffers messages

message ArraysExtraInfo

model_flags.proto:105

An ArraysExtraInfo message stores a collection of additional Information about arrays in a model, complementing the information in the model itself. It is intentionally a separate message so that it may be serialized and passed separately from the model. See --arrays_extra_info_file. A typical use case is to manually specify MinMax for specific arrays in a model that does not already contain such MinMax information.

Used in: ModelFlags

message ArraysExtraInfo.Entry

model_flags.proto:106

Used in: ArraysExtraInfo

enum FileFormat

toco_flags.proto:21

Supported I/O file formats. Some formats may be input-only or output-only.

Used in: TocoFlags

enum IODataType

types.proto:20

IODataType describes the numeric data types of input and output arrays of a model.

Used in: ArraysExtraInfo.Entry, InputArray, TocoFlags

message InputArray

model_flags.proto:31

Next ID to USE: 7.

Used in: ModelFlags

message InputArrayShape

model_flags.proto:20

Used in: ArraysExtraInfo.Entry, InputArray

message ModelFlags

model_flags.proto:141

ModelFlags encodes properties of a model that, depending on the file format, may or may not be recorded in the model file. The purpose of representing these properties in ModelFlags is to allow passing them separately from the input model file, for instance as command-line parameters, so that we can offer a single uniform interface that can handle files from different input formats. For each of these properties, and each supported file format, we detail in comments below whether the property exists in the given file format. Obsolete flags that have been removed: optional int32 input_depth = 3; optional int32 input_width = 4; optional int32 input_height = 5; optional int32 batch = 6 [ default = 1]; optional float mean_value = 7; optional float std_value = 8 [default = 1.]; optional int32 input_dims = 11 [ default = 4]; repeated int32 input_shape = 13; Next ID to USE: 27.

enum ModelFlags.HloFileType

model_flags.proto:217

The hlo file type enum.

Used in: ModelFlags

message ModelFlags.ModelCheck

model_flags.proto:162

Checks applied to the model, typically after toco's comprehensive graph transformations. Next ID to USE: 4.

Used in: ModelFlags

message RnnState

model_flags.proto:87

Used in: ModelFlags

message TocoConversionLog

toco_conversion_log.proto:21

TocoConversionLog contains the analytics to be gathered when user converts a model to TF Lite using TOCO. Next ID to USE: 14.

message TocoFlags

toco_flags.proto:42

TocoFlags encodes extra parameters that drive tooling operations, that are not normally encoded in model files and in general may not be thought of as properties of models, instead describing how models are to be processed in the context of the present tooling job. Next ID to use: 51.