class_docstr: Customizes how `want` and `got` are compared, see `check_output`.
class_docstr_tok: ["Customizes","how","`","want","`","and","`","got","`","are","compared",",","see","`","check_output","`","."]
code: def _allclose(self, want, got, rtol=1e-3, atol=1e-3):
      return np.allclose(want, got, rtol=rtol, atol=atol)
  
file_path: tensorflow/tensorflow/tools/docs/tf_doctest_lib.py
imports: import doctest
  import re
  import textwrap
  import numpy
label_desc: Use image node_id 2 for calling the TfDoctestOutputChecker obj's underlying member method code with example usage: obj._allclose(want, got, rtol, atol) and returns: np