Skip to content

Commit

Permalink
Update SavingAndLoadingModelWeights.md
Browse files Browse the repository at this point in the history
  • Loading branch information
AqwamCreates authored Jan 27, 2025
1 parent 3912da6 commit a32b3b1
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions docs/Tutorials/SavingAndLoadingModelWeights.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,12 @@
# Saving And Loading Model Weights

DataPredict Neural provides the ability to save and load weights from trained models. The only requirement is that the model must be a part of BaseWeightBlock class.
DataPredict Neural provides the ability to save and load weights from trained models. There are two ways to access these weights.

# Saving
* Function Blocks That Are Part Of BaseWeightBlock class.

* Containers

## Saving And Loading Weights From BaseWeightBlock Classes

In order to save the weights, we first need to call the getWeightTensor() function on one of our weight blocks.

Expand All @@ -18,7 +22,7 @@ You have two ways of saving the weights:

1. Storing it to DataStores.

# Loading
2. Copy paste the text printed out by the TensorL library and place it in a text file or Roblox's ModuleScripts

To load a weightTensor, all you need to do is to call the setWeightTensor() function on our weight block.

Expand Down

0 comments on commit a32b3b1

Please sign in to comment.