/!\ Not tested /!\
This is a fork of tensorflow's repository (at version 2.4.0) with pre-generated protobuf definitions, following instructions at tensorflow/tensorflow#41808 (comment).
Inspired from https://github.com/zia-ai/tensorflow-go.
Add this at the end of your go.mod file:
replace github.com/tensorflow/tensorflow => github.com/onfocusio/tensorflow-go.v2.4.0 latest
Then run go mod tidy
.