Open carlosgmartin opened 5 months ago
jax.nn.normalize
already exists: it's a deprecated alias to jax.nn.standardize
. Before we add another function of the same name, we'll have to finalize the deprecation, and then it would probably be good to wait several releases before introducing any new normalize
function in order to avoid confusion.
I see. How long would that take?
Would you prefer to wait until then, or to use a different name, such as minmax_normalize
?
I'm not entirely convinced of the need for this function in jax.nn
.
jax.nn
contains the functionjax.nn.standardize
, which does standardization.Another very common operation in data processing is min-max normalization, which rescales values to an interval.
Feature request: Add a function
jax.nn.normalize
that does this.Possible implementation:
I can submit a PR for this.