class_docstr: A wrapper for ConfigDicts that records access of any config field.
  
  ConfigDictWithAccessRecord behaves like a standard ConfigDict, except that it
  records access to any config field (including nested instances of
  ConfigDictWithAccessRecord). This allows testing for unused config fields.
  
  Example usage:
  
    def test_config_access(self):
      with mock.patch('configs.my_config.ml_collections.ConfigDict',
                      test_utils.ConfigDictWithAccessRecord):
        config = config_module.get_config()
      config.reset_access_record()  # Resets previous access records.
      ...  # Code that uses config.
      self.assertEmpty(config.get_not_accessed())
class_docstr_tok: ["A","wrapper","for","ConfigDicts","that","records","access","of","any","config","field",".","ConfigDictWithAccessRecord","behaves","like","a","standard","ConfigDict",",","except","that","it","records","access","to","any","config","field","(","including","nested","instances","of","ConfigDictWithAccessRecord",")",".","This","allows","testing","for","unused","config","fields",".","Example","usage",":","def","test_config_access","(","self",")",":","with","mock.patch","(","'configs.my_config.ml_collections.ConfigDict","'",",","test_utils.ConfigDictWithAccessRecord",")",":","config","=","config_module.get_config","(",")","config.reset_access_record","(",")","#","Resets","previous","access","records",".","...","#","Code","that","uses","config",".","self.assertEmpty","(","config.get_not_accessed","(",")",")"]
docstr: Resets the record of config field accesses.
docstr_tok: ["Resets","the","record","of","config","field","accesses","."]
code: def reset_access_record(self):
      """Resets the record of config field accesses."""
      for value in self._fields.values():
          if isinstance(value, type(self)):
              value.reset_access_record()
      # object.__setattr__ avoids triggering ConfigDict's __getattr__:
      object.__setattr__(self, "_access_record", set())
  
imports: from collections import abc
  from concurrent import futures
  import json
  import operator
  import threading
  from typing import Any, Callable, Optional, Sequence, Set, Tuple, Union
  from absl import logging
  from clu import parameter_overview
  import jax
  import jax.numpy
  from jax.tree_util import tree_map
  import ml_collections
label_desc: Use image node_id 3 for calling the ConfigDictWithAccessRecord obj's underlying member method code with example usage: obj.reset_access_record() without return types