Base class of all user extension functions.
UserFunction(inputs, as_matrix = TRUE, name = "")
as_matrix | - whether to return as an R matrix. Defualt TRUE. Otherwise returns as Python CNTK value which avoids costly conversions |
---|---|
name |
If it has only one output, one can invoke Variable methods on it, which it will relay to its only output.
See ?Function for more info
****** Special Functions: ******
userfunc_clone
userfunc_deserialize
userfunc_infer_outputs
userfunc_serialize