class_docstr: Base class for encoders in TensorFlow.
class_docstr_tok: ["Base","class","for","encoders","in","TensorFlow","."]
docstr: Get samples of embedding for the given inputs.
  
  Args:
      input_values (numpy.ndarray): Tensors to encode.
  
  Returns:
      numpy.ndarray: Embeddings sampled from embedding distribution.
      dict: Embedding distribution information.
  
  Note:
      It returns an embedding and a dict, with keys
      - mean (list[numpy.ndarray]): Means of the distribution.
      - log_std (list[numpy.ndarray]): Log standard deviations of the
          distribution.
docstr_tok: ["Get","samples","of","embedding","for","the","given","inputs",".","Args",":","input_values","(","numpy.ndarray",")",":","Tensors","to","encode",".","Returns",":","numpy.ndarray",":","Embeddings","sampled","from","embedding","distribution",".","dict",":","Embedding","distribution","information",".","Note",":","It","returns","an","embedding","and","a","dict",",","with","keys","-","mean","(","list","[","numpy.ndarray","]",")",":","Means","of","the","distribution",".","-","log_std","(","list","[","numpy.ndarray","]",")",":","Log","standard","deviations","of","the","distribution","."]
code: def get_latents(self, input_values):
      """Get samples of embedding for the given inputs.
  
      Args:
          input_values (numpy.ndarray): Tensors to encode.
  
      Returns:
          numpy.ndarray: Embeddings sampled from embedding distribution.
          dict: Embedding distribution information.
  
      Note:
          It returns an embedding and a dict, with keys
          - mean (list[numpy.ndarray]): Means of the distribution.
          - log_std (list[numpy.ndarray]): Log standard deviations of the
              distribution.
  
      """
  
file_path: garage/src/garage/tf/embeddings/encoder.py
imports: from garage.np.embeddings import Encoder
  from garage.np.embeddings import StochasticEncoder
  from garage.tf.models import Module, StochasticModule
label_desc: Use image node_id 2 for calling the Encoder obj's underlying member method code with example usage: obj.get_latents(input_values) without return types