We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Development snapshot Feb 9 2021
md5: 84148fcd9e9e4aecb5610e3ff07a1155
Issue Description:
Registering this derivative for `pow`
@inlinable @derivative(of: pow) func powVJP(_ base: Double, _ exponent: Double) -> (value: Double, pullback: (Double) -> (Double, Double)) { let output: Double = pow(base, exponent) func pullback(_ vector: Double) -> (Double, Double) { let baseDerivative = vector * (exponent * pow(base, exponent - 1)) let exponentDerivative = vector * output * log(base) return (baseDerivative, exponentDerivative) } return (value: output, pullback: pullback) }
results in the compiler error:
<unknown>:0: error: symbol 'powTJfSSpSr' (powTJfSSpSr) is in generated IR file, but not in TBD file
The text was updated successfully, but these errors were encountered:
Resolved by PR #38850.
Sorry, something went wrong.
BradLarson
No branches or pull requests
Environment
Development snapshot Feb 9 2021
Additional Detail from JIRA
md5: 84148fcd9e9e4aecb5610e3ff07a1155
Issue Description:
Registering this derivative for `pow`
results in the compiler error:
<unknown>:0: error: symbol 'powTJfSSpSr' (powTJfSSpSr) is in generated IR file, but not in TBD file
The text was updated successfully, but these errors were encountered: