class_docstr: Write me
      
code: def __init__(self, nb_actions, mode="full", **kwargs):
      if mode not in ("full", "diag"):
          raise RuntimeError(
              'Unknown mode "{}" in NAFLayer.'.format(self.mode)
          )
  
      self.nb_actions = nb_actions
      self.mode = mode
      super(NAFLayer, self).__init__(**kwargs)
  
imports: from __future__ import division
  import warnings
  import keras.backend
  from keras.models import Model
  from keras.layers import Lambda, Input, Layer, Dense
  from rl.core import Agent
  from rl.policy import EpsGreedyQPolicy, GreedyQPolicy
  from rl.util import *
label_desc: Use image node_id 1 to create a new NAFLayer object from inherited base classes: Layer with example: obj = NAFLayer(nb_actions, mode)