class_docstr: A convolutional value and policy networks for SAC.
  
  This uses the SAC-AE network for processing images. For more information,
  view SACEncoderNetwork.
class_docstr_tok: ["A","convolutional","value","and","policy","networks","for","SAC",".","This","uses","the","SAC-AE","network","for","processing","images",".","For","more","information",",","view","SACEncoderNetwork","."]
docstr: Calls the SAC actor network.
  
  This can be called using network_def.apply(..., method=network_def.actor).
  
  Args:
    state: An input state.
    key: A PRNGKey to use to sample an action from the actor's output
      distribution.
  
  Returns:
    A named tuple containing a sampled action, the mean action, and the
      likelihood of the sampled action.
docstr_tok: ["Calls","the","SAC","actor","network",".","This","can","be","called","using","network_def.apply","(","...",",","method=network_def.actor",")",".","Args",":","state",":","An","input","state",".","key",":","A","PRNGKey","to","use","to","sample","an","action","from","the","actor","'s","output","distribution",".","Returns",":","A","named","tuple","containing","a","sampled","action",",","the","mean","action",",","and","the","likelihood","of","the","sampled","action","."]
code: def actor(
      self, state: jnp.ndarray, key: jnp.ndarray
  ) -> continuous_networks.SacActorOutput:
      """Calls the SAC actor network.
  
      This can be called using network_def.apply(..., method=network_def.actor).
  
      Args:
        state: An input state.
        key: A PRNGKey to use to sample an action from the actor's output
          distribution.
  
      Returns:
        A named tuple containing a sampled action, the mean action, and the
          likelihood of the sampled action.
      """
      encoding = self._encoder(state)
      return self._sac_network.actor(encoding.actor_z, key)
  
file_path: dopamine/dopamine/labs/sac_from_pixels/continuous_networks.py
imports: import dataclasses
  from typing import Optional, Tuple
  from dopamine.jax import continuous_networks
  from flax import linen
  import gin
  import jax
  from jax import numpy
label_desc: Use image node_id 3 for calling the SACConvNetwork obj's underlying member method code with example usage: obj.actor(state, key) and returns: self