1
0
Fork 0
mirror of https://github.com/tensorflow/haskell.git synced 2024-11-23 03:19:44 +01:00
tensorflow-haskell/tensorflow-ops
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 Fix initialized variables for tensorflow 1.7 (#184) 2018-04-16 07:48:05 -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-ops.cabal Gradient of Conv2DBackpropInput (#155) 2017-10-15 11:49:44 -07:00