Minor style fix.

This commit is contained in:
drpngx 2018-09-21 12:29:30 -07:00 committed by GitHub
parent 9bce52aa9f
commit 0598bbc080
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -215,8 +215,8 @@ Status MetaOptimizer::InitializeCustomGraphOptimizers(
TF_RETURN_IF_ERROR(custom_optimizer->Init(&optimizer_config));
optimizers->push_back(std::move(custom_optimizer));
} else {
// if there are no custom optimizers with given name, try to initalize a
// default optimizer. This way custom configurable optimizers can be
// If there are no custom optimizers with given name, try to initalize a
// default optimizer. This way, custom configurable optimizers can be
// mixed with default optimizers in any order.
auto optimizer = MakeNewOptimizer(optimizer_config.name());
if (optimizer) {