-
Notifications
You must be signed in to change notification settings - Fork 3.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Simplify variables: step_idx -> step, epoch_idx -> epoch, max_num_epochs -> max_epochs, min_num_epochs -> min_epochs #584
Comments
@williamFalcon the changes are here now... |
max and min epochs? |
I would consider even unify min and max in single variable range |
@Borda Can you expand on this idea. Would it be a tuple? Would the variable be named |
Yeah, tuple with name |
Got it. Personally, if I saw Also, I would imagine for a majority of use cases, users will only want to specify a maximum number of epochs, and that also specifying a minimum will be less common, which makes me lean towards keeping them as separate variables to allow users to easily omit specifying the minimum. Having them tied together in a tuple does make sense in that they are tightly related, but in my experience, it seems more common practice to just have two separate int variables with the same name except for the |
agreed. let’s keep it min max as the range thing is confusing |
@elliotwaite good, are going to realize it is a PR? |
Is your feature request related to a problem? Please describe.
This is a feature request to simplify these variables:
step_idx
,epoch_idx
,max_num_epochs
, andmin_num_epochs
To:
step
,epoch
,max_epochs
, andmin_epochs
These variables were all recently updated by change #567, so I thought if these variables were going to simplified, now would be a good time to do so.
To me, using
batch_idx
makes sense since it's the index value for the current batch in a sequence of batches, but sincestep
andepoch
aren't index values for a sequence, but rather counters, using the simplified versions of these without the_idx
suffix makes more sense to me.Using the simplified
max_epochs
andmin_epochs
is more just based on what seems more natural to me, so I'd be interested to hear if others also agreed that these would be good changes to make.The text was updated successfully, but these errors were encountered: