class_docstr: Test class for the individual model components.
class_docstr_tok: ["Test","class","for","the","individual","model","components","."]
code: def testCompressorClassWithSampleShape(self):
      encoder = disentangled_vae.Compressor(self.hidden_size)
  
      xt = tf.random.normal(
          [self.samples, self.batch_size, self.length, 64, 64, 3]
      )
      out = encoder(xt)
      self.assertEqual(
          out.shape,
          (
              self.samples,
              self.batch_size,
              self.length,
              self.hidden_size,
          ),
      )
  
imports: import numpy
  import tensorflow.compat.v1
  from tensorflow_probability.examples import disentangled_vae
  from tensorflow.python.framework import test_util
label_desc: Use image node_id 7 for calling the DisentangledVAEComponentsTest obj's underlying member method code with example usage: obj.testCompressorClassWithSampleShape() without return types