classFmodBackwardFmodBackwardsourceeditPython wrappersPublic Python APIs implemented by this engine symbol.pylucid.ops.fmodfunctiona - trunc(a / b) * b, with the sign of a. da = g, db = -g * trunc(a / b).Static methods2staticcpu_kernelCpuStorage cpu_kernel(const CpuStorage & a, const CpuStorage & b, const int & shape, Dtype dt)sourceeditstaticgpu_kernelGpuStorage gpu_kernel(const GpuStorage & a, const GpuStorage & b, const int & shape, Dtype dt)sourceeditMethods2fngrad_formulaint grad_formula(const int & grad_out)sourceeditfngrad_formula_implint grad_formula_impl(const int & grad_out, const int & a, const int & b)sourceedit
staticcpu_kernelCpuStorage cpu_kernel(const CpuStorage & a, const CpuStorage & b, const int & shape, Dtype dt)sourceedit
staticgpu_kernelGpuStorage gpu_kernel(const GpuStorage & a, const GpuStorage & b, const int & shape, Dtype dt)sourceedit
fngrad_formula_implint grad_formula_impl(const int & grad_out, const int & a, const int & b)sourceedit