text: // Copyright (C) 2018-2019 Intel Corporation
  // SPDX-License-Identifier: Apache-2.0
  //
  
  /**
   * @brief Convinience wrapper class for handling MKL-DNN memory formats.
   * @file mkldnn_extension_utils.h
   */
  #pragma once
  
  #include <string>
  
  #include "mkldnn.hpp"
  #include "inference_engine.hpp"
  #include "mkldnn_memory.h"
  
  namespace MKLDNNPlugin {
  
  class MKLDNNExtensionUtils {
  public:
      static uint8_t sizeOfDataType(mkldnn::memory::data_type dataType);
      static mkldnn::memory::data_type IEPrecisionToDataType(InferenceEngine::Precision prec);
      static InferenceEngine::Precision DataTypeToIEPrecision(mkldnn::memory::data_type dataType);
      static InferenceEngine::TensorDesc getUninitTensorDesc(const InferenceEngine::TensorDesc& desc);
      static bool initTensorsAreEqual(InferenceEngine::TensorDesc desc1, InferenceEngine::TensorDesc desc2);
  };
  
  }  // namespace MKLDNNPlugin
  