W3cubDocs

/TensorFlow Python

tf.contrib.kfac.utils.column_to_tensors

tf.contrib.kfac.utils.column_to_tensors(
    tensors_template,
    colvec
)

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

Converts a column vector back to the shape of the given template.

Args:

  • tensors_template: A tensor or list of tensors.
  • colvec: A 2d column vector with the same shape as the value of tensors_to_column(tensors_template).

Returns:

X, where X is tensor or list of tensors with the properties: 1) tensors_to_column(X) = colvec 2) X (or its elements) have the same shape as tensors_template (or its elements)

© 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/utils/column_to_tensors