fkm3
fc3d398ca9
Optimize fetching ( #27 )
...
* Add MNIST data to gitignore
* Add simple tensor round-trip benchmark
* Use deepseq + cleaner imports
* Use safe version of fromIntegral in FFI code
* Don't copy data when fetching tensors
BEFORE
benchmarking feedFetch/4 byte
time 55.79 μs (54.88 μs .. 56.62 μs)
0.998 R² (0.997 R² .. 0.999 R²)
mean 55.61 μs (55.09 μs .. 56.11 μs)
std dev 1.828 μs (1.424 μs .. 2.518 μs)
variance introduced by outliers: 34% (moderately inflated)
benchmarking feedFetch/4 KiB
time 231.4 μs (221.9 μs .. 247.3 μs)
0.988 R² (0.974 R² .. 1.000 R²)
mean 226.6 μs (224.1 μs .. 236.2 μs)
std dev 13.45 μs (7.115 μs .. 27.14 μs)
variance introduced by outliers: 57% (severely inflated)
benchmarking feedFetch/4 MiB
time 485.8 ms (424.6 ms .. 526.7 ms)
0.998 R² (0.994 R² .. 1.000 R²)
mean 515.7 ms (512.5 ms .. 517.9 ms)
std dev 3.320 ms (0.0 s .. 3.822 ms)
variance introduced by outliers: 19% (moderately inflated)
AFTER
benchmarking feedFetch/4 byte
time 53.11 μs (52.12 μs .. 54.22 μs)
0.996 R² (0.995 R² .. 0.998 R²)
mean 54.64 μs (53.59 μs .. 56.18 μs)
std dev 4.249 μs (2.910 μs .. 6.076 μs)
variance introduced by outliers: 75% (severely inflated)
benchmarking feedFetch/4 KiB
time 83.83 μs (82.72 μs .. 84.92 μs)
0.999 R² (0.998 R² .. 0.999 R²)
mean 83.82 μs (83.20 μs .. 84.35 μs)
std dev 1.943 μs (1.557 μs .. 2.614 μs)
variance introduced by outliers: 20% (moderately inflated)
benchmarking feedFetch/4 MiB
time 95.54 ms (93.62 ms .. 97.82 ms)
0.999 R² (0.998 R² .. 1.000 R²)
mean 96.61 ms (95.76 ms .. 97.51 ms)
std dev 1.408 ms (1.005 ms .. 1.889 ms)
2016-11-17 10:41:49 -08:00
Greg Steuck
c430e54c3c
Uprev tensorflow. ( #33 )
...
* No longer need to hide ResourceHandle ops
* Blacklisted not supported TensorArrayV2
* Ownership of feed tensors changed (1f0c5119a0230c5160d45496175b9256f097e144)
2016-11-16 21:16:20 -08:00
Greg Steuck
ea9ac9e37c
Resolve #30 by using nightly. ( #32 )
...
Unfortunately bazel build is notably slower to run.
2016-11-15 16:42:52 -08:00
Greg Steuck
93e27a12c6
Uprev tensorflow. ( #29 )
...
Includes temporary blacklisting for a couple of ops that will be
supported once my fix lands in the main tensorflow repo.
2016-11-14 17:04:44 -08:00
Greg Steuck
0d4f5a9628
Added sessionTracer to log graph operations. ( #26 )
...
* Added TracingTest.
2016-11-14 15:14:51 -08:00
fkm3
630850c2d2
Add TensorFlow.Core module to start formalizing the exposed API ( #17 )
...
* Add TensorFlow.Core module to start formalizing the exposed API
* Refer to ops packages instead of modules
2016-11-10 09:47:41 -08:00
Greg Steuck
9e005e3af7
Merge pull request #22 from tensorflow/embedding-lookup-fix
...
Embedding lookup fix
2016-11-09 15:59:10 -08:00
Greg Steuck
d9115c716f
genericLength is too generic.
...
Avoid folding in TF.
2016-11-09 14:20:26 -08:00
Greg Steuck
ec5c5228e1
Fixed #19 by adding previously missing reshape.
...
The comment did say that only flat shapes were supported though.
2016-11-09 11:54:53 -08:00
silky
9c81241439
Tests for "embedding_lookup" and minor fix
...
- added a test that fails for a partitioned embedding
- added a test that passes for a single embedding
2016-11-09 16:21:40 +11:00
Greg Steuck
4ec78a8fca
Replaced topK with topKV2. ( #21 )
...
topK is obsolete and generating warnings.
2016-11-08 20:57:22 -08:00
Greg Steuck
8db944578a
Support ResourceHandle. ( #18 )
...
Exposed by moving to newer TF.
2016-11-08 16:48:41 -08:00
Greg Steuck
29f11d351d
Regen haddock. ( #16 )
2016-10-31 14:22:48 -07:00
Greg Steuck
4cf372995e
Remove unnecessary submodule commands.
...
Jenkins is starting from a repository with submodules as is.
2016-10-31 09:25:12 -07:00
Greg Steuck
579bec26f0
Merge branch 'master' of https://github.com/tensorflow/haskell
2016-10-31 09:22:56 -07:00
Greg Steuck
9f2f4e2877
Fixed CI and added indicator. ( #15 )
...
* Sorted test names.
* Don't require a terminal to run tests.
Should resolve "the input device is not a TTY" problem with Jenkins.
* Added build indicator to README.md.
* Fixed up URL.
2016-10-28 18:08:32 -07:00
Greg Steuck
d97bf0c4c7
Merge branch 'master' of https://github.com/tensorflow/haskell
2016-10-28 16:31:12 -07:00
Greg Steuck
28bfe005da
Integration test ( #14 )
...
- Uses docker to put everything together.
- stack is running on "raw" system, similar to MacOS build.
2016-10-28 16:14:26 -07:00
Greg Steuck
0745e96469
Combined all RUN commands to have fewer layers.
2016-10-28 15:47:00 -07:00
Greg Steuck
9e219120d4
Forgotten to checkout submodules.
2016-10-28 15:07:15 -07:00
Greg Steuck
081902db3e
Running ldconfig to make libtensorflow_c visible.
...
Added it to both ci_build and stack images. It wasn't necessary in the
former for some reason.
2016-10-28 14:27:51 -07:00
Greg Steuck
d050ec2654
Semi-functional continuous integration test.
...
- Uses docker to put everything together.
- stack is running on "raw" system, similar to MacOS build.
- Still not finding libtensorflow_c.so in tensorflow-core-ops setup.
2016-10-27 18:59:33 -07:00
Noon van der Silk
b2795d7518
Starting NN library ( #11 )
...
* Starting NN library
- Added "sigmoidCrossEntropyWithLogits"
- Ported across a single test
2016-10-27 18:05:27 -07:00
fkm3
03a3a6d086
Misc MNIST example cleanup ( #9 )
...
* Use native oneHot op in the example code. It didn't exist when this was originally written.
* Misc cleanup in MNIST example
- Use unspecified dimension for batch size in model. This simplifies the
code for the test set.
- Move error rate calculation into model.
2016-10-26 11:14:38 -07:00
Judah Jacobson
54eddcc6bd
Add instructions for building on Mac OS X. ( #8 )
...
* Add instructions for building on Mac OS X.
* Include /usr/local/lib directly in stack.yaml.
2016-10-26 11:13:42 -07:00
Judah Jacobson
95cfe1aefa
Blacklist the SaveV2 and RestoreV2 ops which need Tensor lists. ( #7 )
2016-10-25 23:19:19 -07:00
Judah Jacobson
cdd4a0a747
Compile on platforms where int64_t == long long. ( #6 )
...
In particular, this helps fix the build on Mac OS X.
2016-10-25 22:26:42 -07:00
Greg Steuck
ea8b62e47b
Haddock ( #3 )
...
* Trivial script for regenerating haddocks: exclude .haddock files.
* Haddock regen
2016-10-25 12:43:06 -07:00
Greg Steuck
db69e1d311
Trivial script for regenerating haddocks ( #2 )
2016-10-25 10:11:24 -07:00
Greg Steuck
11fe77df7a
Update README.md
...
Close #4
2016-10-25 09:53:35 -07:00
Judah Jacobson
d525ff7c9c
Update docker image name and maintainer. ( #1 )
2016-10-24 19:19:26 -07:00
Greg Steuck
67690d1499
Initial commit
2016-10-24 19:26:42 +00:00