tf.contrib.kfac.fisher_factors.scope_string_from_params

tf.contrib.kfac.fisher_factors.scope_string_from_params(params)

Defined in tensorflow/contrib/kfac/python/ops/fisher_factors.py.

Builds a variable scope string name from the given parameters.

Supported parameters are: * tensors * booleans * ints * strings * depth-1 tuples/lists of ints * any depth tuples/lists of tensors Other parameter types will throw an error.

Args:

  • params: A parameter or list of parameters.

Returns:

A string to use for the variable scope.

Raises:

  • ValueError: if params includes an unsupported type.