Expand description
Python Integration Module for ToRSh FX
This module provides comprehensive Python bindings and PyTorch interoperability for the ToRSh FX graph framework, enabling seamless integration with Python ML ecosystems.
Structs§
- Deployment
Package - Deployment package structure
- Generated
Python Code - Generated Python code structure
- PyTorch
Model Metadata - PyTorch model metadata
- Python
Binding Config - Python binding configuration
- Python
Code GenOptions - Python code generation options
- Python
Integration Service - Python integration service
- Training
Info - Training metadata information
Enums§
- Python
Deployment Target - Python deployment target
- Python
Framework - Supported Python ML frameworks
Functions§
- create_
jax_ integration - Create a JAX integration service
- create_
pytorch_ integration - Convenience functions for Python integration Create a PyTorch integration service
- generate_
python_ api - Generate Python bindings for a graph
- graph_
to_ pytorch_ code - Convert FxGraph to PyTorch model code