[SR-9581] [AutoDiff] Re-enable differentiation for FloatingPoint.addingProduct(_:_:)
#52028
Labels
bug
A deviation from expected or documented behavior. Also: expected but undesirable behavior.
swift for tensorflow
Additional Detail from JIRA
md5: 96ff0041dd1ac7e33fec00595e52df72
Issue Description:
The
@differentiable
attribute has been temporarily removed fromFloatingPoint.addingProduct(:🙂
in #21554This is because the attribute requires differentiation with respect to self, but
FloatingPoint
does not yet conform toDifferentiable
:@marcrasi attempted to conform
FloatingPoint
toDifferentiable
but ran into stdlib compilation failures described here.Differentiation should be re-enabled for
FloatingPoint.addingProduct(:🙂
when possible (after we can conformFloatingPoint
toDifferentiable
). Note that the@differentiable(wrt: ...)
parameter indices syntax may change after SR-9488 is resolved.The text was updated successfully, but these errors were encountered: