class_docstr: Test class for the individual model components.
class_docstr_tok: ["Test","class","for","the","individual","model","components","."]
code: def testEncoderStaticClassSamples(self):
      encoder = disentangled_vae.EncoderStatic(
          self.latent_size, self.hidden_size
      )
  
      input_features = tf.random.normal(
          [self.samples, self.batch_size, self.length, self.hidden_size]
      )
      dist = encoder(input_features)
      self.assertDistShape(
          dist, (self.latent_size,), (self.samples, self.batch_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 9 for calling the DisentangledVAEComponentsTest obj's underlying member method code with example usage: obj.testEncoderStaticClassSamples() without return types