MCPcopy Create free account
hub / github.com/3DAnimals/3DAnimals / forward

Method forward

model/render/renderutils/ops.py:268–271  ·  view source on GitHub ↗
(ctx, nrm, wi, wo, linearRoughness)

Source from the content-addressed store, hash-verified

266class _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):

Callers

nothing calls this directly

Calls 1

_get_pluginFunction · 0.85

Tested by

no test coverage detected