extension dst<T> : IForwardDifferentiable<dst<T>>
Conforms to: IForwardDifferentiable<dst<T >>
Conditionally conforms to: IForwardDifferentiable<dst<T >>, IBackwardDifferentiable<dst<T >>
Deprecated Feature
The feature described in this page is marked as deprecated, and may be removed in a future release. Users are advised to avoid using this feature, and to migrate to a newer alternative.
Description
Helper for computing distance terms for lighting (obsolete). Use the subtraction operator ‘-‘ instead.
Generic Parameters
T: __BuiltinFloatingPointType
Methods
- bwd_diff
- apply_bwd
- fwd_diff
- remat
Conditional Conformances
Conformance to IForwardDifferentiable<dst<T>>
<T> additionally conforms to IForwardDifferentiable<dst<T>> when the following conditions are met:
- T : __BuiltinFloatingPointType
Conformance to IBackwardDifferentiable<dst<T>>
<T>additionally conforms toIBackwardDifferentiable<dst<T>>when the following conditions are met: - T : __BuiltinFloatingPointType