class_docstr: Abstract encoder class.
  
  Implementations must define the following abstract methods:
   -`build`
   -`encode`
class_docstr_tok: ["Abstract","encoder","class",".","Implementations","must","define","the","following","abstract","methods",":","-","`","build","`","-","`","encode","`"]
docstr: Returns the size of the output final dimension.
docstr_tok: ["Returns","the","size","of","the","output","final","dimension","."]
code: def output_depth(self):
      """Returns the size of the output final dimension."""
      pass
  
imports: import abc
  from magenta.contrib import training
  import tensorflow.compat.v1
  import tensorflow_probability
  import tf_slim
label_desc: Use image node_id 1 for calling the BaseEncoder obj's underlying member method code with example usage: obj.output_depth() without return types