ONNX TensorFlow
flytekitplugins-onnxtensorflow
This plugin allows you to generate ONNX models from your TensorFlow Keras models.
pip install flytekitplugins-onnxtensorflowQuick Start(example, may need adjustment)
See full examplespip install flytekitplugins-onnxtensorflow
from flytekit import task, workflow
from flytekitplugins.onnxtensorflow import TensorFlow2ONNX, TensorFlow2ONNXConfig
config = TensorFlow2ONNX(...)
@task
def my_task() -> None:
...
@workflow
def my_workflow() -> None:
my_task()Available Imports (2)
TensorFlow2ONNXConfig is the config used during the tensorflow to ONNX conversion.
extends dataclass — configuration or data structure for plugin setup
from flytekitplugins.onnxtensorflow import TensorFlow2ONNX
TensorFlow2ONNXConfig is the config used during the tensorflow to ONNX conversion.
extends dataclass — configuration or data structure for plugin setup
from flytekitplugins.onnxtensorflow import TensorFlow2ONNXConfig
Dependencies
Related Plugins
ONNX PyTorch
This plugin allows you to generate ONNX models from your PyTorch models.
ONNX ScikitLearn
This plugin allows you to generate ONNX models from your ScikitLearn models.
Dgxc-lepton
A professional Flytekit plugin that enables seamless deployment and management of AI inference endpoints using Lepton AI infrastructure within Flyte workflows.
Inference
Serve models natively in Flyte tasks using inference providers like NIM, Ollama, and others.