NeuralFloat Conv2D Input-Gradient Bounds #
This file completes the pointwise approximation argument for Conv2D backward by handling the input gradient. Each input coordinate collects exactly the output/kernel positions that contribute to it under the stride and padding relation, then bounds the resulting NeuralFloat accumulation.
Pointwise error bound for the Conv2D input gradient (NF runtime vs spec).
The input-gradient entry accumulates contributions from all output channels and spatial positions
that “hit” the given input coordinate under the stride/padding relation. The bound is a replay of
that accumulation with per-term errors derived from epsK and epsδ.
Instances For
Tensor-shaped input-gradient bound.
This packages conv2dInputPointBound into the full input image shape so later approxT lemmas
can use a single global bound via linfNorm.
Instances For
Soundness of the Conv2D input-gradient pointwise bound.
Given approxT hypotheses for the kernel and upstream gradient (grad_output), this shows the spec
input-gradient entry is approximated by the NF runtime entry within conv2dInputPointBound.
Tensor-level approxT bound for the Conv2D input gradient.
This lifts approx_conv2d_input_point entrywise and packages the error into
linfNorm (conv2dInputBoundTensor ...).