1
0
mirror of https://github.com/tensorflow/haskell.git synced 2024-07-04 02:13:30 +02:00
tensorflow-haskell/tensorflow
fkm3 e35211d49b Fix initialized variables for tensorflow 1.7 (#184)
* Fix initialized variables for tensorflow 1.7

This is needed to support tensorflow 1.7. The trick of initializing a
variable with `Shape []` and then overriding the shape by assigning an
initial value no longer works. It seems that we need to explicitly flip
the unknown_rank bit in the shape proto.

I thought about switching opgen to use `Maybe Shape` when an op requires
a shape attribute, but that will cause a lot of api churn, so I chose to
hold off for now and just do a spot fix to unblock 1.7.
2018-04-16 07:48:05 -07:00
..
src/TensorFlow Fix initialized variables for tensorflow 1.7 (#184) 2018-04-16 07:48:05 -07:00
tests Consolidate some packages. (#111) 2017-05-10 15:26:03 -07:00
LICENSE Fix .cabal files so 'stack check' passes. (#110) 2017-05-10 11:37:00 -07:00
Setup.hs Initial commit 2016-10-24 19:26:42 +00:00
tensorflow.cabal Depend on a newer proto-lens and remove orphan Ord instances. (#146) 2017-08-02 22:47:55 -07:00
third_party Initial commit 2016-10-24 19:26:42 +00:00