class_docstr: Duration model of phonemes.
class_docstr_tok: ["Duration","model","of","phonemes","."]
code: def __call__(self, inputs: DurationInput):
      x = self.encoder(inputs.phonemes, inputs.lengths)
      x = jnp.squeeze(self.projection(x), axis=-1)
      x = jax.nn.softplus(x)
      return x
  
imports: import haiku
  import jax
  import jax.numpy
  from jax.numpy import ndarray
  from .config import FLAGS, AcousticInput, DurationInput
label_desc: Use image node_id 2 for calling the DurationModel obj's underlying member method code with example usage: obj.__call__(inputs) and returns: x