class_docstr: Base class for encoders in TensorFlow.
class_docstr_tok: ["Base","class","for","encoders","in","TensorFlow","."]
docstr: Return a clone of the encoder.
  
  It copies the configuration of the primitive and also the parameters.
  
  Args:
      name (str): Name of the newly created encoder. It has to be
          different from source encoder if cloned under the same
          computational graph.
  
  Returns:
      garage.tf.embeddings.encoder.Encoder: Newly cloned encoder.
docstr_tok: ["Return","a","clone","of","the","encoder",".","It","copies","the","configuration","of","the","primitive","and","also","the","parameters",".","Args",":","name","(","str",")",":","Name","of","the","newly","created","encoder",".","It","has","to","be","different","from","source","encoder","if","cloned","under","the","same","computational","graph",".","Returns",":","garage.tf.embeddings.encoder.Encoder",":","Newly","cloned","encoder","."]
code: def clone(self, name):
      """Return a clone of the encoder.
  
      It copies the configuration of the primitive and also the parameters.
  
      Args:
          name (str): Name of the newly created encoder. It has to be
              different from source encoder if cloned under the same
              computational graph.
  
      Returns:
          garage.tf.embeddings.encoder.Encoder: Newly cloned encoder.
  
      """
  
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 3 for calling the Encoder obj's underlying member method code with example usage: obj.clone(name) without return types