package toco

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

message ArraysExtraInfo

model_flags.proto:98

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:99

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:24

Next ID to USE: 7.

Used in: ModelFlags

message InputArrayShape

model_flags.proto:19

Used in: ArraysExtraInfo.Entry, InputArray

message ModelFlags

model_flags.proto:134

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: 20.

message ModelFlags.ModelCheck

model_flags.proto:152

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:80

Used in: ModelFlags

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: 31.