Commit 176754d6 authored by Joshua V. Dillon's avatar Joshua V. Dillon Committed by TensorFlower Gardener
Browse files

Add `fill_triangular_inverse`, which flattens a triangular matrix in a way such that:

# Lower triangular matrix
x = tf.matrix_band_part(x, -1, 0)
x == fill_triangular(fill_triangular_inverse(x))
Code by srvasude@ which I'm submitting on his behalf.

PiperOrigin-RevId: 198623887
parent 5c751fe8
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment