Removed legacy cmake message (#5212)

This commit is contained in:
Ilya Churaev 2021-04-13 11:13:44 +03:00 committed by GitHub
parent 0a2d40c7d9
commit d2adcb354e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 3 deletions

View File

@ -106,7 +106,6 @@ message(STATUS "NGRAPH_ONNX_IMPORT_ENABLE: ${NGRAPH_ONNX_IMPORT_ENABL
message(STATUS "NGRAPH_ONNX_EDITOR_ENABLE: ${NGRAPH_ONNX_EDITOR_ENABLE}")
message(STATUS "NGRAPH_PYTHON_BUILD_ENABLE: ${NGRAPH_PYTHON_BUILD_ENABLE}")
message(STATUS "NGRAPH_THREAD_SANITIZER_ENABLE: ${NGRAPH_THREAD_SANITIZER_ENABLE}")
message(STATUS "NGRAPH_TOOLS_ENABLE: ${NGRAPH_TOOLS_ENABLE}")
message(STATUS "NGRAPH_UB_SANITIZER_ENABLE: ${NGRAPH_UB_SANITIZER_ENABLE}")
message(STATUS "NGRAPH_USE_PROTOBUF_LITE: ${NGRAPH_USE_PROTOBUF_LITE}")
message(STATUS "NGRAPH_UNIT_TEST_ENABLE: ${NGRAPH_UNIT_TEST_ENABLE}")

View File

@ -205,7 +205,7 @@ namespace ngraph
std::vector<uint64_t> axes_vec =
get_normalized_axes_vector(node, data_rank, raw_axes_vec);
const uint64_t slice_indices_length =
const size_t slice_indices_length =
*std::max_element(std::begin(axes_vec), std::end(axes_vec)) + 1;
const auto begin_end_mask = axes_to_mask(axes_vec, slice_indices_length);
@ -263,7 +263,7 @@ namespace ngraph
std::vector<uint64_t> normalized_axes =
get_normalized_axes_vector(node, data_rank, axes);
const uint64_t slice_indices_length =
const size_t slice_indices_length =
*std::max_element(std::begin(normalized_axes), std::end(normalized_axes)) +
1;
const auto begin_end_mask = axes_to_mask(normalized_axes, slice_indices_length);