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

Method backward

sat/vae_modules/cp_enc_dec.py:328–329  ·  view source on GitHub ↗
(ctx, grad_output)

Source from the content-addressed store, hash-verified

326
327 @staticmethod
328 def backward(ctx, grad_output):
329 return _drop_from_previous_rank(grad_output, ctx.dim, ctx.kernel_size), None, None
330
331
332class _FakeCPConvolutionPassFromPreviousRank(torch.autograd.Function):

Callers

nothing calls this directly

Calls 1

_drop_from_previous_rankFunction · 0.70

Tested by

no test coverage detected