Nope, it does not work, because I also need the error function but as an autograd function; I mean, I would like to insert this function in the computation graph and pytorch to automatically differentiate it !
If the function is not supported for now in pytorch, may I define my own custom autograd function ?
(actually the equivalent of TF function:
https://www.tensorflow.org/versions/r0.11/api_docs/python/math_ops/basic_math_functions#erf 44 )
Thank you @Soumith and all devs !