How to change cyfunction to function

Hello EveryOne.

there is a cyfunction , as follows:

<cyfunction Tanh.forward at ...>

how to change it to function?

<function Tanh.forward at ...>

Thanks.