ml_switcheroo.frameworks.tensorflow¶

TensorFlow Framework Adapter.

This module provides the adapter for TensorFlow, supporting both core TF operations and legacy Keras integration if present within the TF namespace.

Refactor: Distributed definitions populated.

Classes¶

TensorFlowAdapter

Adapter for TensorFlow (Core & Keras).

Module Contents¶

class ml_switcheroo.frameworks.tensorflow.TensorFlowAdapter¶

Adapter for TensorFlow (Core & Keras).

display_name: str = 'TensorFlow'¶
inherits_from: str | None = None¶
ui_priority: int = 30¶
property search_modules: List[str]¶
property import_alias: Tuple[str, str]¶
property import_namespaces: Dict[str, Dict[str, str]]¶
property discovery_heuristics: Dict[str, List[str]]¶
property test_config: Dict[str, str]¶
property structural_traits: ml_switcheroo.frameworks.base.StructuralTraits¶
property supported_tiers: List[ml_switcheroo.enums.SemanticTier]¶
property definitions: Dict[str, ml_switcheroo.frameworks.base.StandardMap]¶

Static definitions for core operations.

property rng_seed_methods: List[str]¶
collect_api(category: ml_switcheroo.frameworks.base.StandardCategory) → List[ml_switcheroo.core.ghost.GhostRef]¶
apply_wiring(snapshot: Dict[str, Any]) → None¶
classmethod get_example_code() → str¶
get_tiered_examples() → Dict[str, str]¶
get_device_syntax(device_type: str, device_index: str | None = None) → str¶
get_serialization_imports() → List[str]¶
get_serialization_syntax(op: str, file_arg: str, object_arg: str | None = None) → str¶
convert(data)¶