W3cubDocs

/TensorFlow Python

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.

© 2018 The TensorFlow Authors. All rights reserved.
Licensed under the Creative Commons Attribution License 3.0.
Code samples licensed under the Apache 2.0 License.
https://www.tensorflow.org/api_docs/python/tf/contrib/kfac/fisher_factors/scope_string_from_params