class_docstr: The convolutional network used to compute the agent's Q-values.
class_docstr_tok: ["The","convolutional","network","used","to","compute","the","agent","'s","Q-values","."]
code: def _record_activations(self, x, layer):
      if self.is_initializing():
          name = "/".join(layer.scope.path)
          self.layer_names.append(name)
      return IdentityLayer(name=f"{layer.name}_act")(x)
  
imports: import math
  from dopamine.discrete_domains import atari_lib
  from flax import linen
  import gin
  import jax.numpy
label_desc: Use image node_id 1 for calling the ScalableNatureDQNNetwork obj's underlying member method code with example usage: obj._record_activations(x, layer) and returns: IdentityLayer