You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This method unpacks the operators and variable names from the expression and calls [`string_tree`](@ref StringsModule.string_tree) for `AbstractExpressionNode`.
331
+
332
+
# Arguments
333
+
334
+
- `ex`: The expression to convert to a string.
335
+
- `operators`: (Optional) Operators to use. If `nothing`, operators are obtained from the expression.
336
+
- `variable_names`: (Optional) Variable names to use in the string representation. If `nothing`, variable names are obtained from the expression.
Compute the forward-mode derivative of an expression.
441
+
442
+
This method unpacks the operators from the expression and calls [`eval_grad_tree_array`](@ref EvaluateDerivativeModule.eval_grad_tree_array) for `AbstractExpressionNode`.
443
+
444
+
# Arguments
445
+
446
+
- `ex`: The expression to evaluate.
447
+
- `cX`: The data matrix.
448
+
- `operators`: (Optional) Operators to use. If `nothing`, operators are obtained from the expression.
449
+
- `kws...`: Additional keyword arguments.
450
+
451
+
# Returns
452
+
453
+
- A tuple `(output, gradient, complete)` indicating the result, gradient, and success of the evaluation.
0 commit comments