Torch.no Grad()
From Dontopedia, the open, paraconsistent wiki. (Last updated 2026-06-09.)
Torch.no Grad() has 1 fact recorded in Dontopedia across 1 reference.
1 facts·1 predicates·1 sources
Maturity scale
raw canonical shape-checked rule-derived certifiedDisablesdisables
- Gradient Computation[1]all time · 815302c1 8846 46c0 B5a2 8475c92165b2
Inbound mentions (1)
Other subjects in dontopedia point AT this entity as a value. These are inverse relationships — e.g. “X motherOf this subject” — and answer questions the forward facts can't. Grouped by predicate.
disabledByDisabled by(1)
- Gradient Computation
ex:gradient-computation
Timeline
Timeline axis is valid_time — when each source says the fact was true in the world, not when Dontopedia learned about it. Retracted rows are kept for provenance; coloured stripes indicate the context kind.
—
disablesbeam/815302c1-8846-46c0-b5a2-8475c92165b2
ex:gradient-computation
References (1)
1 references
- custom
ctx:claims/beam/815302c1-8846-46c0-b5a2-8475c92165b2- full textbeam-chunktext/plain1 KB
doc:beam/815302c1-8846-46c0-b5a2-8475c92165b2Show excerpt
optimizer.step() # Zero gradients optimizer.zero_grad() # Validation loop scorer.eval() val_losses = [] with torch.no_grad(): for batch_inputs, batch_targets in val_loader: outpu…