MCPcopy Create free account
hub / github.com/Zhiyuan-R/Tiger-Diffusion / backward

Method backward

modules/functional/sampling.py:28–31  ·  view source on GitHub ↗
(ctx, grad_output)

Source from the content-addressed store, hash-verified

26
27 @staticmethod
28 def backward(ctx, grad_output):
29 indices, = ctx.saved_tensors
30 grad_features = _backend.gather_features_backward(grad_output.contiguous(), indices, ctx.num_points)
31 return grad_features, None
32
33
34gather = Gather.apply

Callers 1

trainFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected