Model serialization with PyTorch

In this section, we will discuss two approaches to network parameter serialization that are available in the PyTorch C++ library. The first is using the torch::save function, while the second is using an object of the torch::serialize::OutputArchive type for writing parameters into it.

Let's prepare the neural network for further use.

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

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