pub fn backward<R: JitRuntime, F: FloatElement, I: IntElement, B: BoolElement>(
state: RenderInput<JitBackend<R, F, I, B>>,
colors_rgb_2d_grad: JitTensor<R>,
) -> RenderOutput<JitBackend<R, F, I, B>>
Expand description
Render the 3DGS scene (backward).
It computes the gradients of colors_rgb_2d
with respect to scene parameters.
The kernels are launched in the following order:
- Compute the gradients for rasterization.
- Compute the gradients for transformation.