MCPcopy Create free account
hub / github.com/OpenDriveLab/ReSim / append_zero

Function append_zero

sat/vae_modules/utils.py:266–267  ·  view source on GitHub ↗
(x)

Source from the content-addressed store, hash-verified

264
265
266def append_zero(x):
267 return torch.cat([x, x.new_zeros([1])])
268
269
270def append_dims(x, target_dims):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected