Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/TencentARC/AnimeGamer
/ append_zero
Function
append_zero
VDM_Decoder/vae_modules/utils.py:268–269 ·
view source on GitHub ↗
(x)
Source
from the content-addressed store, hash-verified
266
267
268
def
append_zero(x):
269
return
torch.cat([x, x.new_zeros([1])])
270
271
272
def
append_dims(x, target_dims):
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected