class_docstr: Saves data in event and summary protos for tensorboard.
class_docstr_tok: ["Saves","data","in","event","and","summary","protos","for","tensorboard","."]
docstr: Saves hyper parameters.
  
  Args:
    hparams: Flat mapping from hyper parameter name to value.
docstr_tok: ["Saves","hyper","parameters",".","Args",":","hparams",":","Flat","mapping","from","hyper","parameter","name","to","value","."]
code: def hparams(self, hparams):
      """Saves hyper parameters.
  
      Args:
        hparams: Flat mapping from hyper parameter name to value.
      """
  
      with self._as_default(self._event_writer):
          hparams_api.hparams(hparams=_flatten_dict(hparams))
  
file_path: flax/flax/metrics/tensorboard.py
imports: import contextlib
  import functools
  import os
  import numpy
  import tensorflow
  from tensorboard.plugins.hparams import api
  from flax import io
label_desc: Use image node_id 10 for calling the SummaryWriter obj's underlying member method code with example usage: obj.hparams(hparams) without return types