candle_nn
0.5.0
In candle_nn::func
?
Settings
Function
candle_nn
::
func
::
func
Copy item path
source
·
[
−
]
pub fn func<'a, F>(f: F) ->
Func
<'a>
where F: 'a +
Fn
(&
Tensor
) ->
Result
<
Tensor
> +
Send
+
Sync
,