class_docstr: Implements fixed-base positional encoding.
class_docstr_tok: ["Implements","fixed-base","positional","encoding","."]
code: def __init__(
      self,
      bases=[11, 13, 14, 15],
      n_digits=8,  #  pylint: disable=dangerous-default-value
      start_from_zero_one_in=2,
      base_dropout_one_in=100,
      mode="train",
      initializer=init.RandomUniformInitializer(1e-4),
  ):
      super().__init__()
      self._bases = bases
      self._n_digits = n_digits
      self._mode = mode
      self._initializer = initializer
      self._start_from_zero_one_in = start_from_zero_one_in
      self._base_dropout_one_in = base_dropout_one_in
  
imports: import logging
  import jax
  import jax.extend
  import numpy
  import trax
  from trax import fastmath
  from trax.fastmath import numpy
  from trax.layers import base
  from trax.layers import initializers
label_desc: Use image node_id 1 to create a new FixedBasePositionalEncoding object from inherited base classes: layer_base with example: obj = FixedBasePositionalEncoding(bases, n_digits, start_from_zero_one_in, base_dropout_one_in, mode, initializer)