1
0
mirror of https://github.com/tensorflow/haskell.git synced 2024-06-03 03:23:37 +02:00
tensorflow-haskell/tensorflow-ops
Noon van der Silk 69fdbf677f test case to show can't calculate grad for embedding (and associated fix) (#23)
* Fix for embedding gradient calculation

- Passes vectors instead of scalars to slice
- converts the numRows to a scalar
- add `toScalar` utility function
- minor change to test case so that it actually works

* added lib for testing helper functions

* add flatSlice function
2016-11-17 13:54:36 -08:00
..
src/TensorFlow test case to show can't calculate grad for embedding (and associated fix) (#23) 2016-11-17 13:54:36 -08:00
tests test case to show can't calculate grad for embedding (and associated fix) (#23) 2016-11-17 13:54:36 -08:00
Setup.hs Initial commit 2016-10-24 19:26:42 +00:00
tensorflow-ops.cabal test case to show can't calculate grad for embedding (and associated fix) (#23) 2016-11-17 13:54:36 -08:00