package tflite.proto

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

message BenchmarkError

configuration.proto:445

An error that occurred during benchmarking. Used with event type ERROR.

Used in: BenchmarkEvent

message BenchmarkEvent

configuration.proto:458

Top-level benchmarking event stored on-device. All events for a model are parsed to detect the status.

enum BenchmarkEventType

configuration.proto:375

Which stage of benchmarking the event is for. There might be multiple events with the same type, if a benchmark is run multiple times.

Used in: BenchmarkEvent

message BenchmarkMetric

configuration.proto:394

A correctness metric from a benchmark, for example KL-divergence between known-good CPU output and on-device output. These are primarily used for telemetry and monitored server-side.

Used in: BenchmarkResult

message BenchmarkResult

configuration.proto:404

Outcome of a successfully complete benchmark run. This information is intended to both be used on-device to select best compute configuration as well as sent to server for monitoring. Used with event type END.

Used in: BenchmarkEvent

enum BenchmarkStage

configuration.proto:434

When during benchmark execution an error occurred.

Used in: BenchmarkError

message CPUSettings

configuration.proto:301

Used in: TFLiteSettings

message ComputeSettings

configuration.proto:82

One possible acceleration configuration.

message CoralSettings

configuration.proto:275

Coral Dev Board / USB accelerator delegate settings. See https://github.com/google-coral/edgetpu/blob/master/libedgetpu/edgetpu_c.h

Used in: TFLiteSettings

enum CoralSettings.Performance

configuration.proto:276

Used in: CoralSettings

enum Delegate

configuration.proto:48

TFLite accelerator to use.

Used in: ErrorCode, TFLiteSettings

message EdgeTpuDeviceSpec

configuration.proto:192

EdgeTPU device spec.

Used in: EdgeTpuSettings

enum EdgeTpuDeviceSpec.PlatformType

configuration.proto:194

EdgeTPU platform types.

Used in: EdgeTpuDeviceSpec

message EdgeTpuInactivePowerConfig

configuration.proto:244

Used in: EdgeTpuSettings

enum EdgeTpuPowerState

configuration.proto:215

Generic definitions of EdgeTPU power states.

Used in: EdgeTpuInactivePowerConfig, EdgeTpuSettings

message EdgeTpuSettings

configuration.proto:254

EdgeTPU Delegate settings.

Used in: TFLiteSettings

message ErrorCode

configuration.proto:423

A handled error.

Used in: BenchmarkError

enum ExecutionPreference

configuration.proto:34

ExecutionPreference is used to match accelerators against the preferences of the current application or usecase. Some of the values here can appear both in the compatibility list and as input, some only as input. These are separate from NNAPIExecutionPreference - the compatibility list design doesn't assume a one-to-one mapping between which usecases compatibility list entries have been developed for and what settings are used for NNAPI.

Used in: ComputeSettings

message FallbackSettings

configuration.proto:340

Whether to automatically fallback to TFLite CPU path on delegation errors. Typically fallback is enabled in production use but disabled in tests and benchmarks to ensure they test the intended path.

Used in: NNAPISettings, TFLiteSettings

enum GPUBackend

configuration.proto:151

Which GPU backend to select. Default behaviour on Android is to try OpenCL and if it's not available fall back to OpenGL.

Used in: GPUSettings

message GPUSettings

configuration.proto:164

GPU Delegate settings. See https://github.com/tensorflow/tensorflow/blob/master/tensorflow/lite/delegates/gpu/delegate.h

Used in: TFLiteSettings

message HexagonSettings

configuration.proto:175

Hexagon Delegate settings. See https://github.com/tensorflow/tensorflow/blob/master/tensorflow/lite/delegates/hexagon/hexagon_delegate.h

Used in: TFLiteSettings

enum NNAPIExecutionPreference

configuration.proto:61

Used in: NNAPISettings

enum NNAPIExecutionPriority

configuration.proto:74

Used in: NNAPISettings

message NNAPISettings

configuration.proto:93

NNAPI delegate settings.

Used in: TFLiteSettings

message TFLiteSettings

configuration.proto:307

How to configure TFLite.

Used in: BenchmarkEvent, ComputeSettings

message XNNPackSettings

configuration.proto:186

XNNPack Delegate settings. See https://github.com/tensorflow/tensorflow/blob/master/tensorflow/lite/delegates/xnnpack/xnnpack_delegate.h

Used in: TFLiteSettings