aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/go/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'tensorflow/go/README.md')
-rw-r--r--tensorflow/go/README.md12
1 files changed, 12 insertions, 0 deletions
diff --git a/tensorflow/go/README.md b/tensorflow/go/README.md
index 75d8b1dec8..e32c21ca72 100644
--- a/tensorflow/go/README.md
+++ b/tensorflow/go/README.md
@@ -118,6 +118,18 @@ from source.
go test github.com/tensorflow/tensorflow/tensorflow/go
```
+### Generate wrapper functions for ops
+
+Go functions corresponding to TensorFlow operations are generated in `op/wrappers.go`. To regenerate them:
+
+Prerequisites:
+- [Protocol buffer compiler (protoc) 3.x](https://github.com/google/protobuf/releases/)
+- The TensorFlow repository under GOPATH
+
+```sh
+go generate github.com/tensorflow/tensorflow/tensorflow/go/op
+```
+
## Support
Use [stackoverflow](http://stackoverflow.com/questions/tagged/tensorflow) and/or