class_docstr: An input filter is a module that filters the input from an environment to the agent.
class_docstr_tok: ["An","input","filter","is","a","module","that","filters","the","input","from","an","environment","to","the","agent","."]
docstr: An optional function that allows the filter to get the session if it is required to use tensorflow ops
  :param sess: the session
  :return: None
code: def set_session(self, sess) -> None:
      """
      An optional function that allows the filter to get the session if it is required to use tensorflow ops
      :param sess: the session
      :return: None
      """
      [f.set_session(sess) for f in self.reward_filters.values()]
      [
          [f.set_session(sess) for f in filters.values()]
          for filters in self.observation_filters.values()
      ]
  
imports: import copy
  import os
  from collections import OrderedDict
  from copy import deepcopy
  from typing import Dict, Union, List
  from rl_coach.core_types import EnvResponse, ActionInfo, Transition
  from rl_coach.spaces import ActionSpace, RewardSpace, ObservationSpace
  from rl_coach.utils import force_list
label_desc: Use image node_id 4 for calling the InputFilter obj's underlying member method code with example usage: obj.set_session(sess) without return types