package tflite.proto

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

message BenchmarkError

configuration.proto:438

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

Used in: BenchmarkEvent

message BenchmarkEvent

configuration.proto:451

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

enum BenchmarkEventType

configuration.proto:368

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

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

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

When during benchmark execution an error occurred.

Used in: BenchmarkError

message CPUSettings

configuration.proto:295

Used in: TFLiteSettings

message ComputeSettings

configuration.proto:82

One possible acceleration configuration.

message CoralSettings

configuration.proto:269

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

Used in: CoralSettings

enum Delegate

configuration.proto:48

TFLite accelerator to use.

Used in: ErrorCode, TFLiteSettings

message EdgeTpuDeviceSpec

configuration.proto:186

EdgeTPU device spec.

Used in: EdgeTpuSettings

enum EdgeTpuDeviceSpec.PlatformType

configuration.proto:188

EdgeTPU platform types.

Used in: EdgeTpuDeviceSpec

message EdgeTpuInactivePowerConfig

configuration.proto:238

Used in: EdgeTpuSettings

enum EdgeTpuPowerState

configuration.proto:209

Generic definitions of EdgeTPU power states.

Used in: EdgeTpuInactivePowerConfig, EdgeTpuSettings

message EdgeTpuSettings

configuration.proto:248

EdgeTPU Delegate settings.

Used in: TFLiteSettings

message ErrorCode

configuration.proto:416

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

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

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

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

Used in: TFLiteSettings

message HexagonSettings

configuration.proto:169

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

How to configure TFLite.

Used in: BenchmarkEvent, ComputeSettings

message XNNPackSettings

configuration.proto:180

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

Used in: TFLiteSettings