class_docstr: A Text Classification model.
code: def logits_from_embedded_inputs(
      self,
      embedded_inputs: Array,
      lengths: Array,
      deterministic: Optional[bool] = None,
  ) -> Array:
      deterministic = nn.module.merge_param(
          "deterministic", self.deterministic, deterministic
      )
      encoded_inputs = self.encoder(embedded_inputs, lengths)
      return self.classifier(
          encoded_inputs, lengths, deterministic=deterministic
      )
  
imports: import functools
  from typing import Any, Callable, Optional
  from flax import linen
  import jax
  from jax import numpy
label_desc: Use image node_id 3 for calling the TextClassifier obj's underlying member method code with example usage: obj.logits_from_embedded_inputs(embedded_inputs, lengths, deterministic) and returns: self