class_docstr: Test class for the individual model components.
class_docstr_tok: ["Test","class","for","the","individual","model","components","."]
code: def testDecoderClassWithSampleShape(self):
      decoder = disentangled_vae.Decoder(20, self.channels)
  
      # Using sample shape.
      z = tf.random.normal(
          [self.samples, self.batch_size, self.length, 10]
      )
      f = tf.random.normal([self.samples, self.batch_size, 10])
      dist = decoder((z, f))
      self.assertDistShape(
          dist,
          (64, 64, self.channels),
          (self.samples, self.batch_size, self.length),
      )
  
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 5 for calling the DisentangledVAEComponentsTest obj's underlying member method code with example usage: obj.testDecoderClassWithSampleShape() without return types