class_docstr: Module that produces a tfd.MultivariateNormalDiag distribution.
class_docstr_tok: ["Module","that","produces","a","tfd.MultivariateNormalDiag","distribution","."]
code: def __call__(self, inputs: jnp.ndarray) -> tfd.Distribution:
      loc = self._loc_layer(inputs)
      scale = jax.nn.softplus(self._scale_layer(inputs))
      scale *= self._init_scale / jax.nn.softplus(0.0)
      scale += self._min_scale
      return tfd.MultivariateNormalDiag(loc=loc, scale_diag=scale)
  
imports: from typing import Any, List, Optional, Sequence, Union, Callable
  import chex
  import haiku
  import jax
  import jax.numpy
  import numpy
  import tensorflow_probability
  import tensorflow_probability.substrates.jax
label_desc: Use image node_id 2 for calling the MultivariateNormalDiagHead obj's underlying member method code with example usage: obj.__call__(inputs) and returns: tfd