Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Hzfinfdu/Diffusion-BERT
/ process_fn_in_collate
Function
process_fn_in_collate
predict_downstream_condition.py:115–116 ·
view source on GitHub ↗
(wf)
Source
from the content-addressed store, hash-verified
113
114
115
def
process_fn_in_collate(wf):
116
return
wf - wf.mean()
117
118
def
collate_fn(batch_input):
119
input_ids = pad_sequence([torch.tensor(
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected