MCPcopy 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
274def append_zero(x):
275 return torch.cat([x, x.new_zeros([1])])
276
277
278def append_dims(x, target_dims):

Callers 1

__call__Method · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected