class_docstr: Decoder model.
class_docstr_tok: ["Decoder","model","."]
code: def __call__(self, z: jnp.ndarray) -> jnp.ndarray:
      z = hk.Linear(self.hidden_size)(z)
      z = jax.nn.relu(z)
  
      logits = hk.Linear(np.prod(self.output_shape))(z)
      logits = jnp.reshape(logits, (-1, *self.output_shape))
  
      return logits
  
imports: import os
  import typing
  from datetime import datetime
  from typing import Any, Generator, Mapping, Tuple
  import haiku
  import jax
  import jax.numpy
  import matplotlib.pyplot
  import numpy
  import optax
  import typer
  from datasets.load import load_dataset
  from tensorboardX.writer import SummaryWriter
  import elegy
label_desc: Use image node_id 2 for calling the Decoder obj's underlying member method code with example usage: obj.__call__(z) and returns: logits