api
api
/
org.diffkt
/
primalAndReverseDerivativeImpl
primal
And
Reverse
Derivative
Impl
fun
primalAndReverseDerivativeImpl
(
inputs
:
List
<
DTensor
>
,
scalarGradient
:
Boolean
,
f
:
(
List
<
DTensor
>
)
->
DTensor
)
:
Pair
<
DTensor
,
List
<
DTensor
>
>
Content copied to clipboard