class_docstr: Encoder architecture.
class_docstr_tok: ["Encoder","architecture","."]
code: def num_downsampling_layers(self):
      return self._num_down
  
imports: import collections
  from compare_gan.architectures import abstract_arch
  from compare_gan.architectures import arch_ops
  import numpy
  import tensorflow.compat.v1
  import tensorflow_compression
  from hific.helpers import ModelMode
label_desc: Use image node_id 2 for calling the Encoder obj's underlying member method code with example usage: obj.num_downsampling_layers() and returns: self