compute_pi(
left_factor,
right_factor
)
Defined in tensorflow/contrib/kfac/python/ops/utils.py.
Computes the scalar constant pi for Tikhonov regularization/damping.
pi = sqrt( (trace(A) / dim(A)) / (trace(B) / dim(B)) ) See section 6.3 of https://arxiv.org/pdf/1503.05671.pdf for details.
left_factor: The left Kronecker factor Tensor.right_factor: The right Kronecker factor Tensor.The computed scalar constant pi for these Kronecker Factors (as a Tensor).
© 2017 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/compute_pi