api
api
/
org.diffkt
/
vjp
vjp
fun
vjp
(
x
:
DTensor
,
v
:
DTensor
,
f
:
(
x
:
DTensor
)
->
DTensor
)
:
DTensor
Content copied to clipboard
fun
vjp
(
x
:
DTensor
,
vf
:
(
primal
:
DTensor
)
->
DTensor
,
f
:
(
x
:
DTensor
)
->
DTensor
)
:
DTensor
Content copied to clipboard
fun
<
Input
:
Any
,
Output
:
Any
>
vjp
(
x
:
Input
,
vf
:
(
Output
)
->
Output
,
f
:
(
Input
)
->
Output
)
:
Input
Content copied to clipboard
fun
<
Input
:
Any
,
Output
:
Any
>
vjp
(
x
:
Input
,
v
:
Output
,
f
:
(
Input
)
->
Output
)
:
Input
Content copied to clipboard