(ctx, nrm, wi, wo, linearRoughness)
| 266 | class _frostbite_diffuse_func(torch.autograd.Function): |
| 267 | @staticmethod |
| 268 | def forward(ctx, nrm, wi, wo, linearRoughness): |
| 269 | out = _get_plugin().frostbite_fwd(nrm, wi, wo, linearRoughness, False) |
| 270 | ctx.save_for_backward(nrm, wi, wo, linearRoughness) |
| 271 | return out |
| 272 | |
| 273 | @staticmethod |
| 274 | def backward(ctx, dout): |
nothing calls this directly
no test coverage detected