Skip to content

Commit 70a62f2

Browse files
harishs88ssfacebook-github-bot
authored andcommitted
Remove explicit descriptor
Summary: we only need this for constructors with one param Differential Revision: D70630711
1 parent 9dc3aff commit 70a62f2

File tree

1 file changed

+2
-2
lines changed
  • extension/training/optimizer

1 file changed

+2
-2
lines changed

extension/training/optimizer/sgd.h

+2-2
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ class ET_EXPERIMENTAL SGDParamGroup {
179179
*/
180180
class ET_EXPERIMENTAL SGD {
181181
public:
182-
explicit SGD(
182+
SGD(
183183
const std::vector<SGDParamGroup>& param_groups,
184184
SGDOptions defaults)
185185
: defaults_(std::make_unique<SGDOptions>(defaults)) {
@@ -188,7 +188,7 @@ class ET_EXPERIMENTAL SGD {
188188
}
189189
}
190190

191-
explicit SGD(
191+
SGD(
192192
const std::map<executorch::aten::string_view, executorch::aten::Tensor>&
193193
named_parameters,
194194
SGDOptions defaults)

0 commit comments

Comments
 (0)