Open danmackinlay opened 7 years ago
Tensorflow 1.4 is out and includes triangualr matrix packing. will investigate if this remove the build step.
Ah, tragically the operation did not make it in to tensorflow 1.4.; it will be in tenorflow 1.5 some time in the next few months.
https://www.tensorflow.org/versions/master/api_docs/python/tf/contrib/distributions/fill_triangular
In the interim, GPFlow now has a compilation-free triangular packing called LowerTriangular which would also be an option. I do not know the performance implications fo the GPFlow approach
(this would additionally solve #3)
Apparently we may be able to avoid the custom tensorflow triangular operations - https://github.com/tensorflow/tensorflow/issues/1825#issuecomment-337394937
this will simplify packaging by avoiding compilation. Requires tensorflow master, however.