diff options
Diffstat (limited to 'inference-engine/thirdparty/clDNN/src/border.cpp')
-rw-r--r-- | inference-engine/thirdparty/clDNN/src/border.cpp | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/inference-engine/thirdparty/clDNN/src/border.cpp b/inference-engine/thirdparty/clDNN/src/border.cpp index 66f1c3b6e..b07a1f9e7 100644 --- a/inference-engine/thirdparty/clDNN/src/border.cpp +++ b/inference-engine/thirdparty/clDNN/src/border.cpp @@ -46,11 +46,13 @@ std::string border_inst::to_string(border_node const& node) const auto& left_top_sizes = desc->left_top_sizes; const auto& right_bottom_sizes = desc->right_bottom_sizes; + const auto& border_value = std::to_string(desc->border_value); const char* border_type_str = "unknown"; switch (desc->type) { - case border_type::zero: border_type_str = "zero"; break; + case border_type::constant: border_type_str = "constant"; break; + case border_type::edge: border_type_str = "edge"; break; case border_type::mirror: border_type_str = "mirror"; break; case border_type::mirror_101: border_type_str = "mirror-101"; break; } @@ -61,6 +63,7 @@ std::string border_inst::to_string(border_node const& node) border_info.add("left/top sizes", left_top_sizes.to_string()); border_info.add("right/bottom sizes", right_bottom_sizes.to_string()); border_info.add("border type", border_type_str); + border_info.add("border value", border_value); node_info->add("border info", border_info); @@ -110,4 +113,4 @@ border_inst::typed_primitive_inst(network_impl& network, border_node const& node "Not enough data in input to create mirror-101 border of specified size"); } } -}
\ No newline at end of file +} |