diffusion_
rs_
common
0.1.0
In diffusion_
rs_
common::
nn::
func
diffusion_rs_common
::
nn
::
func
Function
func
Copy item path
source
pub fn func<'a, F>(f: F) ->
Func
<'a>
where F: 'a +
Fn
(&
Tensor
) ->
Result
<
Tensor
> +
Send
+
Sync
,