Version: dev

derivative_rule_error

Stable error · Differentiate a model

Tier: stable · Kind: error · Topic: Differentiate a model

JuliaPythonRust
DerivativeRuleErrorDerivativeRuleErrorDerivativeRuleError

Julia

struct DerivativeRuleError <: Exception
DerivativeRuleError(msg::String)
DerivativeRuleError(msg)
DerivativeRuleError(msg)

A scalar operator has no derivative rule (spec §3).

Source

Python

class DerivativeRuleError(Exception)

Raised when a scalar operator has no derivative rule (spec §3).

Source

Rust

pub struct DerivativeRuleError(pub String);

A scalar operator has no derivative rule (spec §3).

Source · Rust docs