derivative_rule_error
Stable error · Differentiate a model
Tier: stable · Kind: error · Topic: Differentiate a model
| Julia | Python | Rust |
|---|---|---|
DerivativeRuleError | DerivativeRuleError | DerivativeRuleError |
Julia
struct DerivativeRuleError <: Exception
DerivativeRuleError(msg::String)
DerivativeRuleError(msg)
DerivativeRuleError(msg)
A scalar operator has no derivative rule (spec §3).
Python
class DerivativeRuleError(Exception)
Raised when a scalar operator has no derivative rule (spec §3).