Docs: GoDoc
Package weights provides weight loading routines that parse weight files into a temporary structure that can then be used to set weight values in the network. This is much simpler and allows use of the standard Go json Unmarshal routines.