Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/zai-org/CogVideo
/ get_input
Method
get_input
sat/diffusion_video.py:173–174 ·
view source on GitHub ↗
(self, batch)
Source
from the content-addressed store, hash-verified
171
return
loss, loss_dict
172
173
def
get_input(self, batch):
174
return
batch[self.input_key].to(self.dtype)
175
176
@torch.no_grad()
177
def
decode_first_stage(self, z):
Callers
2
shared_step
Method · 0.95
log_video
Method · 0.95
Calls
no outgoing calls
Tested by
no test coverage detected