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)