klyn.math.nn.Sequential.loadWeights
method
public loadWeights(filename as String, maxBytes as ULong = 2147483648ul) as Void
Description

Loads weights using a filename.

Parameters
ParameterDescription
filenameLocal checkpoint. @param maxBytes Maximum staged tensor bytes.
Throws
  • ValueException or IOException for incompatible/corrupt input.
Example

model.loadWeights("best.knn")