Preview Flyte 2 for productionHosted on Union.ai
ONNX TensorFlow

ONNX TensorFlow

flytekitplugins-onnxtensorflow

FlytekitModel Servingonnxtensorflowmodel

This plugin allows you to generate ONNX models from your TensorFlow Keras models.

Install
pip install flytekitplugins-onnxtensorflow

Quick Start(example, may need adjustment)

See full examples
pip 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)

configTensorFlow2ONNX

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

configTensorFlow2ONNXConfig

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

tf2onnxtensorflow

Related Plugins

Package Info

Min Flytekit1.3.0
Modules2

Downloads

Last day1
Last week879
Last month1,614