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
3 lines
57 B
Plaintext
3 lines
57 B
Plaintext
# .pb.go files generated by generate.sh
|
|
internal/proto/*
|