Skip to content

Commit

Permalink
Some internal changes.
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 714502148
  • Loading branch information
wangpengmit authored and Orbax Authors committed Jan 18, 2025
1 parent 2a72d26 commit 0947135
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 14 deletions.
7 changes: 0 additions & 7 deletions export/orbax/export/export_manager_obm_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,13 +37,6 @@
)


def _get_expected_tf_function_body(name: str, support_tf_resources: bool):
if support_tf_resources:
return f'inlined_string: "{name}"'
else:
return 'file_system_location { string_path: "%s.pb" }' % name


class ExportManagerObmTest(parameterized.TestCase, tf.test.TestCase):

@parameterized.named_parameters(
Expand Down
7 changes: 0 additions & 7 deletions export/orbax/export/obm_export_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,13 +38,6 @@ def _package_jax_module(m: jax_module.JaxModule):
return result


def _get_expected_tf_function_body(name: str, support_tf_resources: bool):
if support_tf_resources:
return f'inlined_string: "{name}"'
else:
return 'file_system_location { string_path: "%s.pb" }' % name


class ObmExportTest(parameterized.TestCase, tf.test.TestCase):

def setUp(self):
Expand Down

0 comments on commit 0947135

Please sign in to comment.