Using Gorgonia

At the time of writing this book, there are two libraries that would typically be considered for DL in Go, TensorFlow and Gorgonia. However, while TensorFlow is definitely well regarded and has a full-featured API in Python, this is not the case in Go. As discussed previously, the Go bindings for TensorFlow are only suited to loading models that have already been created in Python, but not for creating models from scratch.

Gorgonia has been built from the ground up to be a Go library that is able to both train ML models and perform inference. This is a particularly valuable property, especially if you have an existing Go application or you are looking to build a Go application. Gorgonia allows you to develop, train, and maintain your DL model in your existing Go environment. For this book, we will be using Gorgonia exclusively to build models.

Before we go on to build models, let's go through some basics of Gorgonia and learn how to build simple equations in it.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.148.104.124