Commit 31071957 authored by Rob Earhart's avatar Rob Earhart Committed by Robert Kimball

Minor tweaks for older g++ support (#2362)

parent 4d272f1f
......@@ -187,7 +187,7 @@ namespace ngraph
OpImplRegistration()
{
GlobalOpImplMap()->emplace(std::type_index{typeid(typename OID::Impl::Op)},
new OID());
std::unique_ptr<OpImplDescriptorBase>{new OID()});
}
};
}
......
......@@ -84,7 +84,7 @@ void ngraph::runtime::plaidml::pass::ExplicitLogicals::construct_logical_to_data
vertexai::plaidml::function{"function (I) -> (O) { O = as_int(I ? 1 : 0, 8);}"},
NodeVector{producer},
std::vector<std::tuple<element::Type, PartialShape>>{
{element::i8, PartialShape{producer->get_output_shape(0)}}}));
{std::make_tuple(element::i8, PartialShape{producer->get_output_shape(0)})}}));
return true;
};
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment