Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OpenDriveLab/ReSim
/ append_zero
Function
append_zero
sat/sgm/util.py:274–275 ·
view source on GitHub ↗
(x)
Source
from the content-addressed store, hash-verified
272
273
274
def
append_zero(x):
275
return
torch.cat([x, x.new_zeros([1])])
276
277
278
def
append_dims(x, target_dims):
Callers
1
__call__
Method · 0.50
Calls
no outgoing calls
Tested by
no test coverage detected