Absence of randn function in Symbol API

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?

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

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

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.

1 Like

Alright, thanks for the help.