eaplatanios / tensorflow_scala

TensorFlow API for the Scala Programming Language
http://platanios.org/tensorflow_scala/
Apache License 2.0
937 stars 95 forks source link

fyi - generate functions from ops.pbtxt #13

Closed johndpope closed 7 years ago

johndpope commented 7 years ago

https://github.com/tensorflow/tensorflow/commit/3f538fadf2dedaeddc295580eaff635c98f1793a

you maybe able to cherry pick this code https://github.com/tensorflow/tensorflow/tree/3f538fadf2dedaeddc295580eaff635c98f1793a/tensorflow/go/op

eaplatanios commented 7 years ago

I have looked into this in the past. You could do this with macros and I have a sample for that somewhere if you're interested. However, I found out that for most ops, there exists a lot of logic in the python layer of the TensorFlow API, ending up with customized implementations for most of them. Thus, I decided this was not necessary for now. What do you think?

johndpope commented 7 years ago

I think you could request help from people consuming library. This popped up on radar so just took a quick look through list of things that were still outstanding and this jumped out at me. no problem. going to close this.