forked from microsoft/CNTK
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'qiwye/asgd-dev' of https://github.com/Microsoft/CNTK in…
…to qiwye/asgd-dev
- Loading branch information
Showing
7 changed files
with
354 additions
and
308 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,29 @@ | ||
// | ||
// <copyright file="ASGDCommon.h" company="Microsoft"> | ||
// Copyright (c) Microsoft Corporation. All rights reserved. | ||
// | ||
// Copyright (c) Microsoft. All rights reserved. | ||
// Licensed under the MIT license. See LICENSE.md file in the project root for full license information. | ||
// | ||
// </copyright> | ||
// | ||
#pragma once | ||
|
||
namespace Microsoft { namespace MSR { namespace CNTK { | ||
|
||
enum class AdjustLearningRateatBeginning : int | ||
// ----------------------------------------------------------------------- | ||
// class AdjustLearningRateAtBeginning | ||
// Providing option for DataParallelASGD training. so that every nodes | ||
// could adjust learning rate every minibatch at first N epochs. | ||
// ----------------------------------------------------------------------- | ||
|
||
|
||
// TODO: We can removed these options once we can adjust learning rate at minibatchs level | ||
|
||
enum class AdjustLearningRateAtBeginning : int | ||
{ | ||
None = 0, | ||
Linearly = 1, | ||
Staircase = (1 << 1), | ||
None = 0, // default, don't adjust learning rate | ||
Linearly = 1, // using linear adjustment, learning rate will from 0 to learningRatesPerMB | ||
Staircase = (1 << 1), // using staircased adjustment, learning rate will from 0 to learningRatesPerMB every adjustNbMinibatch | ||
}; | ||
|
||
}}} |
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters