class_docstr: Base class for modules.
  
  Args:
      device (string): Device name
          (<span style="color:#00C000"><b>default</b></span>: inherit value of parent module).
      l2_regularization (float >= 0.0): Scalar controlling L2 regularization
          (<span style="color:#00C000"><b>default</b></span>: inherit value of parent module).
      name (string): <span style="color:#0000C0"><b>internal use</b></span>.
code: def saved_variables(self):
      predicate = lambda x: isinstance(x, tf.Variable) and getattr(
          x, "is_saved", True
      )
      variables = list(
          self._flatten(recursive=False, predicate=predicate)
      )
      for module in self.this_submodules:
          if not isinstance(module, Module):
              variables.extend(module.variables)
          elif module.is_saved:
              variables.extend(module.saved_variables)
      return variables
  
imports: import functools
  import json
  import os
  import re
  import numpy
  import tensorflow
  from tensorforce import TensorforceError, util
  import tensorforce.core
  from tensorforce.core import SignatureDict, TensorSpec, tf_util, VariableDict
label_desc: Use image node_id 9 for calling the Module obj's underlying member method code with example usage: obj.saved_variables() and returns: variables