class_docstr: Encodes/decodes between strings and integer representations.
class_docstr_tok: ["Encodes\/decodes","between","strings","and","integer","representations","."]
docstr: Decodes a batch of one-hot encoding to strings.
docstr_tok: ["Decodes","a","batch","of","one-hot","encoding","to","strings","."]
code: def decode_onehot(self, batch_inputs: Array) -> np.ndarray:
      """Decodes a batch of one-hot encoding to strings."""
      decode_inputs = lambda inputs: self.decode(inputs.argmax(axis=-1))
      return np.array(list(map(decode_inputs, batch_inputs)))
  
imports: import random
  from typing import Any, Dict, Generator, Optional, Tuple
  import jax.numpy
  import numpy
label_desc: Use image node_id 13 for calling the CharacterTable obj's underlying member method code with example usage: obj.decode_onehot(batch_inputs) and returns: np