klyn.math.nn.Sequential.load
method
public static load(filename as String, maxBytes as ULong = 2147483648ul) as Sequential<T>
Description

Restores using a filename; identical to the Path overload.

Parameters
ParameterDescription
filenameLocal checkpoint. @param maxBytes Maximum tensor bytes.
Returns

Restored model. @throws ValueException or IOException for invalid input.

Example

restored = Sequential<Float16>.load("half.knn")