class_docstr: Encodes a timestamp to an embedding.
class_docstr_tok: ["Encodes","a","timestamp","to","an","embedding","."]
code: def __call__(self, time, alpha=None):
      if alpha is None:
          alpha = self.num_freqs
      encoded_time = self.posenc(time, alpha)
      return self.mlp(encoded_time)
  
imports: import functools
  from typing import Optional, Tuple
  from flax import linen
  import jax
  import jax.numpy
  from nerfies import types
label_desc: Use image node_id 2 for calling the TimeEncoder obj's underlying member method code with example usage: obj.__call__(time, alpha) and returns: self