Absence of randn function in Symbol API


#1

Whilst working on random operator, it was found that Symbol API doesn’t have randn function. Is it a conscious decision to omit it? If so, what’s the reasoning behind it?


#2

Is mxnet.ndarray.random.normal what you’re looking for?


#3

Yes. NDArray API has randn function
But Symbol API has all the other random functions (uniform, normal, etc) but randn
Hence the question specific to Symbol API


#4

Got it. You’re specifically looking for a function called sym.randn even though sym.random.normal already exists. Looking at the implementation, it’s very straight forward to add sym.randn() given that it’s implemented purely in python. I suggest you submit a PR to add it. I’d be surprised if it’s left out intentionally and if so, someone will let you know in the PR.


#5

Alright, thanks for the help.