MCPcopy Create free account
hub / github.com/OpenGVLab/EfficientQAT / backward

Method backward

quantize/utils.py:90–92  ·  view source on GitHub ↗
(ctx, grad_output)

Source from the content-addressed store, hash-verified

88
89 @staticmethod
90 def backward(ctx, grad_output):
91 grad_input = grad_output.clone()
92 return grad_input, None
93
94
95def truncate_number(number, threshold=1e-2):

Callers 1

__call__Method · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected