Skip to content

Commit

Permalink
remove deprecated assertDictContainsSubset
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 716573448
  • Loading branch information
tensorflower-gardener authored and TF Object Detection Team committed Jan 17, 2025
1 parent 8f2c6a9 commit 910ceed
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -513,7 +513,7 @@ def graph_fn():
'top_down/clip_by_value_6'
])
op_names = {op.name: None for op in g.get_operations()}
self.assertDictContainsSubset(expected_added_operations, op_names)
self.assertEqual(op_names, {**op_names, **expected_added_operations})

@unittest.skipIf(tf_version.is_tf2(), 'Skipping TF1.X only test.')
def test_use_bounded_activations_clip_value(
Expand Down

0 comments on commit 910ceed

Please sign in to comment.