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
Copy file name to clipboardExpand all lines: DifferentiationInterface/ext/DifferentiationInterfaceForwardDiffExt/DifferentiationInterfaceForwardDiffExt.jl
+2-1
Original file line number
Diff line number
Diff line change
@@ -12,7 +12,8 @@ using DifferentiationInterface:
12
12
NoDerivativeExtras,
13
13
NoSecondDerivativeExtras,
14
14
PushforwardExtras
15
-
using ForwardDiff.DiffResults: DiffResults, DiffResult, GradientResult, MutableDiffResult
The resulting object is a `Vector` of [`DifferentiationBenchmarkDataRow`](@ref), which can easily be converted into a `DataFrame` from [DataFrames.jl](https://github.com/JuliaData/DataFrames.jl):
74
-
75
-
```@example tuto
76
-
df = DataFrames.DataFrame(benchmark_result)
77
-
```
78
-
79
-
Here's what the resulting `DataFrame` looks like with all its columns.
80
-
Note that we only compare (possibly) in-place operators, because they are always more efficient.
76
+
The resulting object is `DataFrame` from [DataFrames.jl](https://github.com/JuliaData/DataFrames.jl), whose columns correspond to the fields of [`DifferentiationBenchmarkDataRow`](@ref):
77
+
Here's what it looks like with all of its columns.
0 commit comments