eric-haibin-lin commented on a change in pull request #11223: Allow specifying AdaGrad initial accumulator value URL: https://github.com/apache/incubator-mxnet/pull/11223#discussion_r194483682
########## File path: python/mxnet/optimizer.py ########## @@ -1091,14 +1091,20 @@ class AdaGrad(Optimizer): ---------- eps: float, optional Small value to avoid division by 0. + initial_accumulator_value: float, default 0 + The Adagrad state is initially set to this value. """ - def __init__(self, eps=1e-7, **kwargs): + def __init__(self, eps=1e-7, initial_accumulator_value=0, **kwargs): Review comment: I think it comes from https://github.com/tensorflow/tensorflow/blob/r1.8/tensorflow/python/training/adagrad.py#L46 ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services