Skip to content

Commit

Permalink
fix: transform_fn_w_list_comp test
Browse files Browse the repository at this point in the history
  • Loading branch information
Sam-Armstrong committed Jan 16, 2025
1 parent e88116c commit 026cee8
Showing 1 changed file with 5 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ def test_transform_fn_w_list_comp(target):
from ivy.transpiler.transformations.configurations.ivy_postprocessing_transformer_config import (
IvyCodePostProcessorConfig,
)
from ivy.transpiler.transformations.transformers.postprocessing_transformer.ivy_postprocessing_transformer import (
IvyCodePostProcessor,
from ivy.transpiler.transformations.transformers.postprocessing_transformer.ivy_to_tf_postprocessing_transformer import (
IvyToTFCodePostProcessor,
)

# Set up the configurations container
Expand All @@ -43,7 +43,9 @@ def test_transform_fn_w_list_comp(target):

# Instantiate the transformer and transform the object
configuration = IvyCodePostProcessorConfig()
processor = IvyCodePostProcessor(

# TODO: generalize this for other target frameworks
processor = IvyToTFCodePostProcessor(
root,
Transformer(object_like, container.translator_configurations[0]),
configuration,
Expand Down

0 comments on commit 026cee8

Please sign in to comment.