Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
ND4J Updaters: use isRowVectorOrScalar for updaters with 1x parameters #6671
This is an edge case that really won't happen in practice but we might as well fix it to be technically correct:
Updaters with state size 2x the number of parameters (Adam, etc) can't have a state size of 1 so this isn't an issue there.