MCPcopy Index your code
hub / github.com/TorchSSL/TorchSSL / step

Method step

train_utils.py:91–130  ·  view source on GitHub ↗

Performs a single optimization step. Arguments: closure (callable, optional): A closure that reevaluates the model and returns the loss.

(self, closure=None)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 15

warmupMethod · 0.80
trainMethod · 0.80
trainMethod · 0.80
trainMethod · 0.80
trainMethod · 0.80
trainMethod · 0.80
trainMethod · 0.80
trainMethod · 0.80
trainMethod · 0.80
warmupMethod · 0.80
trainMethod · 0.80
trainMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected