class_docstr: Identical to the TestOptimizeLinear in tests_tf/test_attacks.
class_docstr_tok: ["Identical","to","the","TestOptimizeLinear","in","tests_tf\/test_attacks","."]
code: def test_clip_eta_linf(self):
      clipped = self.clip_eta(eta=self.rand_eta, norm=np.inf, eps=0.5)
      self.assertTrue(torch.all(clipped <= 0.5))
      self.assertTrue(torch.all(clipped >= -0.5))
  
file_path: cleverhans/cleverhans/torch/tests/test_utils.py
imports: import numpy
  import torch
  import cleverhans.torch.utils
  from cleverhans.devtools.checks import CleverHansTest
label_desc: Use image node_id 9 for calling the TestOptimizeLinear obj's underlying member method code with example usage: obj.test_clip_eta_linf() without return types