Removed reading of port precision (#5397)

This commit is contained in:
Ilya Lavrenov 2021-04-27 10:18:19 +03:00 committed by GitHub
parent 0337b055db
commit fa7d67b07f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 0 additions and 8 deletions

View File

@ -700,13 +700,6 @@ V10Parser::V10Parser::GenericLayerParams XmlDeserializer::parseGenericParams(
port.dims.push_back(dim);
}
ngraph::element::Type type(ngraph::element::Type_t::undefined);
// Input port hasn't precision
if (!input) {
const std::string& preStr = GetStrAttr(parentNode, "precision");
type = InferenceEngine::details::convertPrecision(preStr);
}
port.precision = type;
std::vector<std::string> names;
if (getParameters<std::string>(parentNode, "names", names)) {
for (size_t i = 0; i < names.size(); i++) {

View File

@ -67,7 +67,6 @@ public:
struct GenericLayerParams {
struct LayerPortData {
size_t portId;
ngraph::element::Type_t precision;
SizeVector dims;
std::unordered_set<std::string> names;
};