Skip to content

Commit

Permalink
add suggested addition to interface doc
Browse files Browse the repository at this point in the history
Co-authored-by: Ashwini Khade <[email protected]>
  • Loading branch information
carzh and askhade authored Nov 20, 2023
1 parent 2f4017a commit f20757a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/common/lib/training-session.ts
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ export interface TrainingSession {
loadParametersBuffer(array: Float32Array, trainableOnly: boolean): Promise<void>;

/**
* Copies from the TrainingSession parameters to a contiguous buffer.
* Copies the model parameters to a contiguous buffer. Usually used in the context of Federated Learning
*
* @param trainableOnly - When set to true, only trainable parameters are copied. Trainable parameters are parameters
* for which requires_grad is set to true. Default value is true.
Expand Down

0 comments on commit f20757a

Please sign in to comment.