Commit Graph

194 Commits

Author SHA1 Message Date
Jeroen Bransen 925c2e9515
Update to TensorFlow 2.12 (#292)
* Fix compilation with tensorflow 2.12 and higher

* Update tensorflow submodule to 2.12.0

* Update Dockerfiles to 2.12.0
2023-08-14 20:36:35 -07:00
Johannes Maier bfd8de5582 Fix lens errors 2023-03-04 21:48:58 -08:00
Johannes Maier 00aeb23b1e Fix min version guard for Cabal
The Distribution.Utils.Path module has been exposed from Cabal version
3.6 on.
2023-03-04 21:48:43 -08:00
Mike Sperber 555d90c432 Support Cabal 3.
hsSourceDirs is now a list of SymbolicPath instead of FilePath.
2023-02-21 14:28:56 -08:00
Bart Schuurmans dad19fde31 Add support for loading a Session from a SavedModel 2023-02-05 13:41:24 -08:00
Bart Schuurmans fb629d1207 Migrate from TF_DeprecatedSession to TF_Session
Instead of calling TF_ExtendGraph, we call TF_GraphImportGraphDef and
pass an input map for all existing nodes in the graph.
2023-02-04 15:18:03 -08:00
Mathias Jean Johansen 30a12d7776 Fix broken URL to `TensorFlow.Core` docs. 2023-01-28 12:53:46 -08:00
Bart Schuurmans 4eac338d0f Fix for ghc 9.2 2023-01-26 09:21:10 -08:00
fkm3 199f1c7663 Switch to new TF_STRING format for TF 2.10
See https://github.com/tensorflow/community/blob/master/rfcs/20190411-string-unification.md
2023-01-23 17:17:47 -08:00
Bart Schuurmans b21dee98f5 Blacklist ops that won't compile 2023-01-23 17:17:47 -08:00
Bart Schuurmans f714453ed0 Update nixpkgs snapshot to one with libtensorflow 2.10.1 2023-01-23 17:17:47 -08:00
Bart Schuurmans 66fb0ac625 Update Dockerfiles to 2.10.1 2023-01-23 17:17:47 -08:00
Bart Schuurmans d9a32ad2bd Update list of protobuf files 2023-01-23 17:17:47 -08:00
Bart Schuurmans bd86118708 Specify language-c and c2hs version
https://github.com/haskell/c2hs/issues/268
2023-01-23 17:17:47 -08:00
Bart Schuurmans 5b77096247 Update tensorflow submodule to 2.10.1 2023-01-23 17:17:47 -08:00
Bart Schuurmans b0e832809c Consistent whitespace usage 2023-01-23 17:17:47 -08:00
Bart Schuurmans e68a414999 Set cabal-version to 2.0 everywhere 2023-01-23 17:17:47 -08:00
Bart Schuurmans ded944f06b Simplify stack --docker commands by specifying the image in stack.yaml 2023-01-19 23:55:22 -08:00
Bart Schuurmans b5e3a98870 Specify TensorFlow version (2.3.0) in Dockerfile 2023-01-19 23:55:22 -08:00
Bart Schuurmans 86a4a12aa8 Bring GPU Dockerfile in line with CPU Dockerfile 2023-01-19 23:55:22 -08:00
Bart Schuurmans e441c59093 Update nixpkgs snapshot to one containing libtensorflow v2.3.0
The previous snapshot contained a libtensorflow version that did not
match the third_party/tensorflow submodule version.
2023-01-19 23:12:24 -08:00
Bart Schuurmans ed445a76a4 Simplify Stack Nix integration
Let Stack generate the nix-shell internally instead of writing it
manually.
2023-01-19 23:12:24 -08:00
Mike Sperber d088e30b80
Add StatelessCase, TPUCompile to blacklist. (#271)
Needed to support Tensorflow 2.4.

Also, add AttrFunc to unbreak build.
2021-02-09 12:08:46 -05:00
Jiyong Jung b1a8a0513d Updates the build badge path to the new location. 2021-02-08 20:58:37 -05:00
jcmartin 6b19e54722
Update to haddock files for tensorflow-0.3 package (TensorFlow 2.3.0). (#269)
* Update README to refer to 2.3.0-gpu.
* Remove old package documentation from haddock directory.
2020-11-13 12:21:27 -08:00
jcmartin 4d9d315fbd
Update Package Version Numbers (#268) 2020-11-11 09:21:35 -08:00
jcmartin c66c912c32
Tensorflow 2.3.0 Support (#267)
* Tensorflow 2.3.0 building and passing tests.
* Added einsum and test.
* Added ByteString as a possible argument to a function.
* Support more data types for Adam.
* Move to later version of LTS on stackage.
* Added a wrapper module for convolution functions.
* Update ci build to use a later version of stack.
* Removed a deprecated import in GradientTest.
2020-11-06 11:32:21 -08:00
Mike Sperber 568c9b6f03
Update to current proto-lens packages. (#258) 2020-05-21 13:36:52 -07:00
Mike Sperber 0f322b2e06
Fix MonadFail-related errors to support ghc 8.8 2020-04-13 16:48:43 -07:00
Mike Sperber 739f6618f4
Unbreak build with Cabal >= 2.4. (#256)
Remove sDistHook, add autogen-modules.
2020-04-12 10:28:56 -09:00
Saeed Hadikhanloo f07c7f237a
nix-shell updated to be compatible with LTS14.4 (#254) 2020-02-15 21:45:40 -08:00
Greg Steuck 8cde4d6a27
Update stack version in README.md 2019-09-22 22:14:58 -07:00
Greg Steuck 70824616ee
Add autogen-module to upload (related to #249) (#250) 2019-09-08 16:22:06 -07:00
Greg Steuck 580917a731
Switch to LTS 14 and bump versions to 0.2.0.1 (#248)
* Use newer stack and protoc in Dockerfiles
2019-09-08 12:45:24 -07:00
Yorick 7e1d92c6c2 Bump version constraints for proto-lens-* (#247) 2019-09-02 18:19:07 -07:00
Yorick 26eebce98f Upgrade to tensorflow 1.14.0 (#244)
* add curl, unzip, zlib1g-dev to dockerfiles
2019-07-15 23:16:58 +02:00
rschlotterbeck d741c3ee59 Add gradient for batchMatMul (#246) 2019-07-08 13:41:35 -04:00
rschlotterbeck c811037cb9 Add gradient for sigmoid (#245) 2019-07-07 20:18:02 -04:00
Christian Berentsen 1fbd5d41dd Add gradients for DepthwiseConv2dNative (#240) 2019-04-22 00:46:27 -04:00
Christian Berentsen 4a2e46ba57 Make 'mean' doubly differentiable (#241)
Use stopGradient on shape computations
Add opGrad for StopGradient
2019-04-22 00:46:01 -04:00
Daniel YU 7316062c10 upgrade to ghc 8.6.4 (#237) 2019-04-11 19:27:15 -07:00
Christian Berentsen c0f87dc0bc Avoid computing gradients for incidental nodes (#238) 2019-04-11 14:17:19 -04:00
Christian Berentsen 96f1c88327 Add gradient for ResizeBilinear (#239) 2019-04-08 13:43:17 -04:00
erikabor 3cfd96ef08 Add gradient for slice function (#234) 2019-03-26 16:30:50 -04:00
erikabor 666dce94bd Add gradient for sqrt function (#236) 2019-03-18 21:08:08 -04:00
Greg Steuck 896a0d31f7
Added a link to CentOS installation instructions
FYI @subbyte
2019-02-28 19:55:34 -08:00
Rik c7426a3f00 Upgraded Stackage resolver to LTS-12 (GHC 8.4.4) and Nix channel to 18.04 (#231) 2019-02-05 19:32:15 -08:00
Rik e4acd69574 Support gradients of pad, squeeze, spaceToBatchND, and batchToSpaceND (#226) 2018-11-27 14:17:32 -05:00
Rik 95c6b6f277 Added support for ExpandDims gradient. (#224) 2018-11-20 21:45:31 -05:00
Rik 915015018c Added support for tanh activation function (#223) 2018-11-14 12:08:05 -05:00