MCPcopy Create free account
hub / github.com/branislav1991/PyTorchProjectFramework / set_requires_grad

Method set_requires_grad

models/base_model.py:184–191  ·  view source on GitHub ↗

Set requies_grad for all the networks to avoid unnecessary computations.

(self, requires_grad=False)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected