class_docstr: Feed Forward network.
class_docstr_tok: ["Feed","Forward","network","."]
docstr: Runs the given observation through the network.
  
  Args:
    observation: The observation to provide to the network.
    step_type: The step type for the given observation. See `StepType` in
      time_step.py.
    network_state: A state tuple to pass to the network, mainly used by RNNs.
    training: Whether the output is being used for training.
  
  Returns:
    A tuple `(logits, network_state)`.
docstr_tok: ["Runs","the","given","observation","through","the","network",".","Args",":","observation",":","The","observation","to","provide","to","the","network",".","step_type",":","The","step","type","for","the","given","observation",".","See","`","StepType","`","in","time_step.py",".","network_state",":","A","state","tuple","to","pass","to","the","network",",","mainly","used","by","RNNs",".","training",":","Whether","the","output","is","being","used","for","training",".","Returns",":","A","tuple","`","(","logits",",","network_state",")","`","."]
code: def call(
      self,
      observation,
      step_type=None,
      network_state=(),
      training=False,
  ):
      """Runs the given observation through the network.
  
      Args:
        observation: The observation to provide to the network.
        step_type: The step type for the given observation. See `StepType` in
          time_step.py.
        network_state: A state tuple to pass to the network, mainly used by RNNs.
        training: Whether the output is being used for training.
  
      Returns:
        A tuple `(logits, network_state)`.
      """
      state, network_state = self._encoder(
          observation,
          step_type=step_type,
          network_state=network_state,
          training=training,
      )
      q_value = self._q_value_layer(state, training=training)
      return q_value, network_state
  
file_path: agents/tf_agents/networks/q_network.py
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import gin
  import tensorflow
  from tf_agents.networks import encoding_network
  from tf_agents.networks import network
label_desc: Use image node_id 2 for calling the QNetwork obj's underlying member method code with example usage: obj.call(observation, step_type, network_state, training) and returns: q_value,  network_state