fynance.models.neural_network.BaseNeuralNet.save_model

BaseNeuralNet.save_model(path, save_optimizer=False)

Save the model with this weights and parameters.

Parameters:
path : str or os.PathLike object

Path to save the model.

save_optimizer : bool, optional

If True, then save also the optimizer.