---
description: TensorFlow export utilities for converting PyTorch models to various TensorFlow formats. Provides functions for converting models to TensorFlow SavedModel, Protocol Buffer (.pb), TensorFlow Lite, Edge TPU, and TensorFlow.js formats via ONNX intermediate representation with support for INT8 quantization and calibration.
keywords: Ultralytics, TensorFlow, SavedModel, Protocol Buffer, TensorFlow Lite, TFLite, Edge TPU, TensorFlow.js, ONNX conversion, PyTorch to TensorFlow, INT8 quantization, model calibration, frozen graph, onnx2tf, model export, web deployment, mobile deployment
---

# Reference for `ultralytics/utils/export/tensorflow.py`

!!! success "Improvements"

    This page is sourced from [https://github.com/ultralytics/ultralytics/blob/main/ultralytics/utils/export/tensorflow.py](https://github.com/ultralytics/ultralytics/blob/main/ultralytics/utils/export/tensorflow.py). Have an improvement or example to add? Open a [Pull Request](https://docs.ultralytics.com/help/contributing/) — thank you! 🙏

<br>

## ::: ultralytics.utils.export.tensorflow.tf_wrapper

<br><br><hr><br>

## ::: ultralytics.utils.export.tensorflow._tf_decode_boxes

<br><br><hr><br>

## ::: ultralytics.utils.export.tensorflow._tf_kpts_decode

<br><br><hr><br>

## ::: ultralytics.utils.export.tensorflow.onnx2saved_model

<br><br><hr><br>

## ::: ultralytics.utils.export.tensorflow.keras2pb

<br><br><hr><br>

## ::: ultralytics.utils.export.tensorflow.tflite2edgetpu

<br><br><hr><br>

## ::: ultralytics.utils.export.tensorflow.pb2tfjs

<br><br><hr><br>

## ::: ultralytics.utils.export.tensorflow.gd_outputs

<br><br>
