MCPcopy Create free account
hub / github.com/apple/ml-pointersect / set_init_step

Method set_init_step

cdslib/core/optim/tf_optim.py:111–113  ·  view source on GitHub ↗

Set the initial step.

(self, init_step: int)

Source from the content-addressed store, hash-verified

109 self.use_dynamic_rate = use_dynamic_rate
110
111 def set_init_step(self, init_step: int):
112 """Set the initial step."""
113 self._step = init_step
114
115 def zero_grad(self, set_to_none: bool = False):
116 """Zero the gradient buffer."""

Callers 1

__init__Method · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected