Edge TPU online compiler

Compile your model for the Edge TPU

Compile your TensorFlow Lite model for compatibility with the Edge TPU by uploading your .tflite file below.

Warning: The online compiler is running an outdated version of the Edge TPU Compiler and may be deprecated soon. Although you can still use it and your models will be compatible with the latest Edge TPU runtime, the web compiler is missing several bug fixes and new features.

We strongly recommend that you instead use the offline Edge TPU Compiler.

Alternatively, you can also train and compile an Edge TPU model online using AutoML Vision.

Requirements

To create a TensorFlow model that takes full advantage of the Edge TPU at runtime, it must meet the following requirements:

  • Tensor parameters are quantized (8-bit fixed-point numbers). You must use quantization-aware training (post-training quantization is not supported).
  • Tensor sizes are constant at compile-time (no dynamic sizes).
  • Model parameters (such as bias tensors) are constant at compile-time.
  • Tensors are either 1-, 2-, or 3-dimensional. If a tensor has more than 3 dimensions, then only the 3 innermost dimensions may have a size greater than 1.
  • The model uses only the operations supported by the Edge TPU (see the following link).

For more details about creating compatible models, read TensorFlow models on the Edge TPU.


Do not close this window

Model successfully compiled.

Download it!