History log of /external/tensorflow/tensorflow/go/genop/internal/lib.go
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
0d1e4cf5b7dc60b1f0a45eb06a120df058ff4077 24-Sep-2017 Yong Tang <yong.tang.github@outlook.com> Fix several issues with `go fmt` and `go lint`

This fix fixes several issues related to `go fmt` and `go lint`
based on https://goreportcard.com/report/github.com/tensorflow/tensorflow

There are several changes:
- `gofmt -s tensorflow/go/tensor.go`
- `gofmt -s tensorflow/go/example_inception_inference_test.go`
- `golint tensorflow/go/genop/internal/lib.go`

At the moment there are still quite a few golint and ineffassign warnings
in the current go code base. However, all of them are from `tensorflow/go/op/wrappers.go`
which is machine generated code.

This fix does not cover `tensorflow/go/op/wrappers.go`.

Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
/external/tensorflow/tensorflow/go/genop/internal/lib.go
3d11100c4a8e08a6c266ba2d761e1031614ab275 27-Mar-2017 zhengjiajin <393926893@qq.com> differentiate package description and license
/external/tensorflow/tensorflow/go/genop/internal/lib.go
f2a8620f4e4fcf8f2fdfe8679bf5e2de6d1ae39b 07-Feb-2017 Asim Shankar <ashankar@google.com> Go: Simplify installation.

Utilize the TensorFlow C library release archive to
avoid building TensorFlow from source to get going
much faster when using Linux/Mac OS X on x86_64.
Change: 146805287
/external/tensorflow/tensorflow/go/genop/internal/lib.go
6586a66b1eac161221155b8bf1c2a75677623bc3 11-Oct-2016 Asim Shankar <ashankar@google.com> go: Scaffolding for a package containing wrapper functions for TensorFlow ops.

This includes:
(1) A 'genop' command-line tool that generates Go functions for each TensorFlow op registered in the address space of the process.
(2) An 'op' package that will host these generated functions and some hand-crafted
functions (like Const).

At this time, none of the generated files are being committed.
As a result, the installation instructions in README.md have been updated to
reflect how 'go generate' should be used to setup the 'op' package.

Note that even after this change, packages that clients are expected to
use ('tensorflow' and 'op') do not depend on protocol buffers (github.com/golang/protobuf).
However, the stand-alone command-line tool 'genop' does.

This change is focused on the scaffolding and introduces a dummy code generator.
The real implementation of the code generator will be done in a follow up change
as I wanted to separate these "mechanics" from the "implementation details".

Yet another step for #10
Change: 135735176
/external/tensorflow/tensorflow/go/genop/internal/lib.go