W3cubDocs

/TensorFlow Python

tf.contrib.kfac.fisher_factors.append_homog

tf.contrib.kfac.fisher_factors.append_homog(tensor)

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

Appends a homogeneous coordinate to the last dimension of a Tensor.

Args:

  • tensor: A Tensor.

Returns:

A Tensor identical to the input but one larger in the last dimension. The new entries are filled with ones.

© 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/append_homog