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

Method backward

sat/sgm/modules/cp_enc_dec.py:279–280  ·  view source on GitHub ↗
(ctx, grad_output)

Source from the content-addressed store, hash-verified

277
278 @staticmethod
279 def backward(ctx, grad_output):
280 return _drop_from_previous_rank(grad_output, ctx.dim, ctx.kernel_size), None, None
281
282
283def conv_scatter_to_context_parallel_region(input_, dim, kernel_size):

Callers

nothing calls this directly

Calls 1

_drop_from_previous_rankFunction · 0.70

Tested by

no test coverage detected