Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/MotrixLab/ViMoGen
/ load_state_dict
Method
load_state_dict
datasets/sampler.py:358–359 ·
view source on GitHub ↗
(self, state_dict: dict)
Source
from the content-addressed store, hash-verified
356
return
{
'start_index'
: step}
357
358
def
load_state_dict(self, state_dict: dict):
359
self.start_index = state_dict[
'start_index'
] + 1
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected