We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d970640 commit 60aa67dCopy full SHA for 60aa67d
intermediate_source/forward_ad_usage.py
@@ -63,7 +63,7 @@ def fn(x, y):
63
dual_input_alt = fwAD.make_dual(primal, tangent.T)
64
assert fwAD.unpack_dual(dual_input_alt).tangent is not tangent
65
66
- # Tensors that do not not have an associated tangent are automatically
+ # Tensors that do not have an associated tangent are automatically
67
# considered to have a zero-filled tangent of the same shape.
68
plain_tensor = torch.randn(10, 10)
69
dual_output = fn(dual_input, plain_tensor)
0 commit comments