Generates a dictionary that captures the state of this user-defined function. This method must be overridden, if a user function has any state that needs to be preserved in the model dictionary.

userfunc_serialize(func)

Arguments

func

- The CNTK `Function` instance on which to apply the operation