提交 a3baad83 编写于 作者: 刘琦

Merge branch 'typo' into 'master'

Fix typo in logging message

See merge request !755
...@@ -226,7 +226,7 @@ MaceStatus MaceEngine::Impl::Init( ...@@ -226,7 +226,7 @@ MaceStatus MaceEngine::Impl::Init(
for (auto input_name : input_nodes) { for (auto input_name : input_nodes) {
if (input_info_map_.find(input_name) == input_info_map_.end()) { if (input_info_map_.find(input_name) == input_info_map_.end()) {
LOG(FATAL) << "'" << input_name LOG(FATAL) << "'" << input_name
<< "' is not belong to model's inputs: " << "' does not belong to model's inputs: "
<< MakeString(MapKeys(input_info_map_)); << MakeString(MapKeys(input_info_map_));
} }
ws_->CreateTensor(MakeString("mace_input_node_", input_name), ws_->CreateTensor(MakeString("mace_input_node_", input_name),
...@@ -235,7 +235,7 @@ MaceStatus MaceEngine::Impl::Init( ...@@ -235,7 +235,7 @@ MaceStatus MaceEngine::Impl::Init(
for (auto output_name : output_nodes) { for (auto output_name : output_nodes) {
if (output_info_map_.find(output_name) == output_info_map_.end()) { if (output_info_map_.find(output_name) == output_info_map_.end()) {
LOG(FATAL) << "'" << output_name LOG(FATAL) << "'" << output_name
<< "' is not belong to model's outputs " << "' does not belong to model's outputs "
<< MakeString(MapKeys(output_info_map_)); << MakeString(MapKeys(output_info_map_));
} }
ws_->CreateTensor(MakeString("mace_output_node_", output_name), ws_->CreateTensor(MakeString("mace_output_node_", output_name),
...@@ -322,7 +322,7 @@ MaceStatus MaceEngine::Impl::Run( ...@@ -322,7 +322,7 @@ MaceStatus MaceEngine::Impl::Run(
for (auto &input : inputs) { for (auto &input : inputs) {
if (input_info_map_.find(input.first) == input_info_map_.end()) { if (input_info_map_.find(input.first) == input_info_map_.end()) {
LOG(FATAL) << "'" << input.first LOG(FATAL) << "'" << input.first
<< "' is not belong to model's inputs: " << "' does not belong to model's inputs: "
<< MakeString(MapKeys(input_info_map_)); << MakeString(MapKeys(input_info_map_));
} }
Tensor *input_tensor = Tensor *input_tensor =
...@@ -339,7 +339,7 @@ MaceStatus MaceEngine::Impl::Run( ...@@ -339,7 +339,7 @@ MaceStatus MaceEngine::Impl::Run(
for (auto &output : *outputs) { for (auto &output : *outputs) {
if (output_info_map_.find(output.first) == output_info_map_.end()) { if (output_info_map_.find(output.first) == output_info_map_.end()) {
LOG(FATAL) << "'" << output.first LOG(FATAL) << "'" << output.first
<< "' is not belong to model's outputs: " << "' does not belong to model's outputs: "
<< MakeString(MapKeys(output_info_map_)); << MakeString(MapKeys(output_info_map_));
} }
Tensor *output_tensor = Tensor *output_tensor =
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册