transformer/network_utils library
Functions
-
loadModuleParameters(
Module module, String filePath) → Future< void> - Loads parameters (weights) from a JSON file into a given Module.
-
saveModuleParameters(
Module module, String filePath) → Future< void> - Saves the parameters (weights) of a given Module to a JSON file.