Unverified Commit ad315a1a authored by Robert Kimball's avatar Robert Kimball Committed by GitHub

fix windows build (#2259)

parent 7ecc1d12
...@@ -160,8 +160,8 @@ void pass::VisualizeTree::render() const ...@@ -160,8 +160,8 @@ void pass::VisualizeTree::render() const
out << "}\n"; out << "}\n";
out.close(); out.close();
#ifndef _WIN32
stringstream ss; stringstream ss;
ss << "dot -T" << get_file_ext() << " " << dot_file << " -o " << m_name; ss << "dot -T" << get_file_ext() << " " << dot_file << " -o " << m_name;
auto cmd = ss.str(); auto cmd = ss.str();
auto stream = popen(cmd.c_str(), "r"); auto stream = popen(cmd.c_str(), "r");
...@@ -169,5 +169,6 @@ void pass::VisualizeTree::render() const ...@@ -169,5 +169,6 @@ void pass::VisualizeTree::render() const
{ {
pclose(stream); pclose(stream);
} }
#endif
} }
} }
...@@ -52,22 +52,6 @@ namespace ngraph ...@@ -52,22 +52,6 @@ namespace ngraph
u64 u64
}; };
class Type;
extern const Type dynamic;
extern const Type boolean;
extern const Type bf16;
extern const Type f32;
extern const Type f64;
extern const Type i8;
extern const Type i16;
extern const Type i32;
extern const Type i64;
extern const Type u8;
extern const Type u16;
extern const Type u32;
extern const Type u64;
class Type class Type
{ {
public: public:
......
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