class_docstr: Base class for Task Embedding policies in TensorFlow.
  
  This policy needs a task id in addition to observation to sample an action.
class_docstr_tok: ["Base","class","for","Task","Embedding","policies","in","TensorFlow",".","This","policy","needs","a","task","id","in","addition","to","observation","to","sample","an","action","."]
docstr: garage.tf.embeddings.encoder.Encoder: Encoder.
docstr_tok: ["garage.tf.embeddings.encoder.Encoder",":","Encoder","."]
code: def encoder(self):
      """garage.tf.embeddings.encoder.Encoder: Encoder."""
  
file_path: garage/src/garage/tf/policies/task_embedding_policy.py
imports: import abc
  from garage.tf.policies.policy import Policy
label_desc: Use image node_id 1 for calling the TaskEmbeddingPolicy obj's underlying member method code with example usage: obj.encoder() without return types