Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/MaureenZOU/TSAM
/ split_validation
Method
split_validation
src/base/base_data_loader.py:52–56 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
50
return
train_sampler, valid_sampler
51
52
def
split_validation(self):
53
if
self.valid_sampler is None:
54
return
None
55
else
:
56
return
DataLoader(sampler=self.valid_sampler, **self.init_kwargs)
Callers
2
main
Function · 0.80
main
Function · 0.80
Calls
no outgoing calls
Tested by
1
main
Function · 0.64