labtools/_src/config.py
def frozen(fn):
  """ Wrapper to freeze a configuration function.
    Args:
      fn (Callable[[], ConfigDict]): configuration function

    Returns:
      FrozenConfigDict
  """
  from ml_collections import FrozenConfigDict

  @wraps(fn)
  def wrapped(*args, **kwargs):
    return FrozenConfigDict(fn(*args, **kwargs))

  return wrapped
 Wrapper to freeze a configuration function.
    Args:
      fn (Callable[[], ConfigDict]): configuration function

    Returns:
      FrozenConfigDict
  
Wrapper to freeze a configuration function.
Wrapper to freeze a configuration function .
def frozen(fn):
  from ml_collections import FrozenConfigDict
  @wraps(fn)
  def wrapped(*args, **kwargs):
    return FrozenConfigDict(fn(*args, **kwargs))
  return wrapped
def frozen ( fn ) : from ml_collections import FrozenConfigDict @ wraps ( fn ) def wrapped ( * args , ** kwargs ) : return FrozenConfigDict ( fn ( * args , ** kwargs ) ) return wrapped
Wrapper to freeze a configuration function.
Wrapper to freeze a configuration function .
""" Wrapper to freeze a configuration function.
    Args:
      fn (Callable[[], ConfigDict]): configuration function

    Returns:
      FrozenConfigDict
  """
None
fn
None