class_docstr: Implemets a fully connected model for classification.
class_docstr_tok: ["Implemets","a","fully","connected","model","for","classification","."]
code: def build_flax_model(self) -> nn.Module:
      model_dtype = getattr(
          jnp, self.config.get("model_dtype_str", "float32")
      )
      return FullyConnected(
          num_outputs=self.dataset_meta_data["num_classes"],
          hid_sizes=self.config.hid_sizes,
          dtype=model_dtype,
      )
  
file_path: scenic/scenic/projects/baselines/fully_connected.py
imports: from typing import Callable, Iterable, Union, Sequence
  import flax.linen
  from jax.nn import initializers
  import jax.numpy
  import ml_collections
  from scenic.model_lib.base_models.classification_model import ClassificationModel
  from scenic.model_lib.layers import nn_layers
label_desc: Use image node_id 1 for calling the FullyConnectedClassificationModel obj's underlying member method code with example usage: obj.build_flax_model() and returns: FullyConnected