Commit 072fe644 authored by Robert Kimball's avatar Robert Kimball Committed by Scott Cyphers

Bob/includes (#178)

* cleanup

* fix node includes
parent df4d436f
......@@ -14,8 +14,6 @@
#pragma once
#include <memory>
namespace ngraph
{
namespace descriptor
......
......@@ -12,9 +12,9 @@
// See the License for the specific language governing permissions and
// ----------------------------------------------------------------------------
#include "ngraph/ngraph.hpp"
#include "ngraph/descriptor/input.hpp"
#include "ngraph/descriptor/output.hpp"
using namespace std;
using namespace ngraph;
using namespace descriptor;
......
......@@ -14,6 +14,7 @@
#pragma once
#include <cstddef>
#include <vector>
#include "ngraph/descriptor/buffer.hpp"
......
......@@ -14,6 +14,7 @@
#pragma once
#include <memory>
#include <tuple>
#include <vector>
......
......@@ -12,11 +12,12 @@
// See the License for the specific language governing permissions and
// ----------------------------------------------------------------------------
#include "ngraph/ngraph.hpp"
#include "ngraph/descriptor/output.hpp"
#include "ngraph/descriptor/input.hpp"
using namespace std;
using namespace ngraph;
using namespace descriptor;
using namespace ngraph::descriptor;
Output::Output(const std::shared_ptr<Node>& node,
size_t index,
......
......@@ -18,6 +18,7 @@
#include <set>
#include "ngraph/descriptor/tensor_view.hpp"
#include "ngraph/node.hpp"
namespace ngraph
{
......
......@@ -22,17 +22,13 @@
#include <iostream>
#include "ngraph/common.hpp"
#include "ngraph/descriptor/input.hpp"
#include "ngraph/descriptor/output.hpp"
#include "ngraph/descriptor/tensor.hpp"
#include "ngraph/types/type.hpp"
namespace ngraph
{
namespace descriptor
{
class Input;
class Output;
class Tensor;
}
/// Nodes are the backbone of the graph of Value dataflow. Every node has
/// zero or more nodes as arguments and one value, which is either a tensor
/// view or a (possibly empty) tuple of values.
......
......@@ -14,6 +14,8 @@
#pragma once
#include "ngraph/ops/op.hpp"
namespace ngraph
{
namespace op
......
......@@ -14,6 +14,8 @@
#pragma once
#include "ngraph/ops/op.hpp"
namespace ngraph
{
namespace op
......
......@@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and
// ----------------------------------------------------------------------------
#include "ngraph/ngraph.hpp"
#include "ngraph/ops/op.hpp"
using namespace std;
using namespace ngraph;
......
......@@ -15,7 +15,7 @@
#include <memory>
#include "ngraph/log.hpp"
#include "ngraph/ngraph.hpp"
#include "ngraph/ops/op.hpp"
using namespace std;
using namespace ngraph;
......
......@@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and
// ----------------------------------------------------------------------------
#include "ngraph/ngraph.hpp"
#include "ngraph/ops/op.hpp"
using namespace std;
using namespace ngraph;
......
......@@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and
// ----------------------------------------------------------------------------
#include "ngraph/ngraph.hpp"
#include "ngraph/ops/broadcast.hpp"
using namespace std;
using namespace ngraph::op;
......
......@@ -14,6 +14,8 @@
#pragma once
#include "ngraph/ops/op.hpp"
namespace ngraph
{
namespace op
......
......@@ -14,6 +14,8 @@
#pragma once
#include "ngraph/ops/op.hpp"
namespace ngraph
{
namespace op
......
......@@ -14,7 +14,7 @@
#include <memory>
#include "ngraph/ngraph.hpp"
#include "ngraph/ops/concatenate.hpp"
using namespace std;
using namespace ngraph::op;
......
......@@ -14,6 +14,8 @@
#pragma once
#include "ngraph/ops/op.hpp"
namespace ngraph
{
namespace op
......
......@@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and
// ----------------------------------------------------------------------------
#include "ngraph/ngraph.hpp"
#include "ngraph/ops/constant.hpp"
using namespace ngraph::op;
......
......@@ -16,6 +16,7 @@
#include <sstream>
#include "ngraph/node.hpp"
#include "ngraph/runtime/utils.hpp"
#include "ngraph/types/element_type.hpp"
......
......@@ -14,7 +14,7 @@
#include <memory>
#include "ngraph/ngraph.hpp"
#include "ngraph/ops/convert.hpp"
using namespace std;
using namespace ngraph;
......
......@@ -14,6 +14,8 @@
#pragma once
#include "ngraph/ops/op.hpp"
namespace ngraph
{
namespace op
......
......@@ -14,6 +14,8 @@
#pragma once
#include "ngraph/ops/op.hpp"
namespace ngraph
{
namespace op
......
......@@ -14,7 +14,7 @@
#include <memory>
#include "ngraph/ngraph.hpp"
#include "ngraph/ops/dot.hpp"
using namespace std;
using namespace ngraph::op;
......
......@@ -14,6 +14,8 @@
#pragma once
#include "ngraph/ops/op.hpp"
namespace ngraph
{
namespace op
......
......@@ -14,6 +14,8 @@
#pragma once
#include "ngraph/ops/op.hpp"
namespace ngraph
{
namespace op
......
......@@ -14,6 +14,8 @@
#pragma once
#include "ngraph/ops/op.hpp"
namespace ngraph
{
namespace op
......
......@@ -14,6 +14,8 @@
#pragma once
#include "ngraph/ops/op.hpp"
namespace ngraph
{
namespace op
......
......@@ -12,8 +12,8 @@
// See the License for the specific language governing permissions and
// ----------------------------------------------------------------------------
#include "ngraph/ngraph.hpp"
#include "ngraph/pass/topological_sort.hpp"
#include "ngraph/ops/function_call.hpp"
#include "ngraph/function.hpp"
using namespace std;
using namespace ngraph::op;
......
......@@ -14,7 +14,7 @@
#pragma once
#include "ngraph/pass/manager.hpp"
#include "ngraph/ops/op.hpp"
#include "ngraph/pass/propagate_types.hpp"
namespace ngraph
......
......@@ -14,6 +14,8 @@
#pragma once
#include "ngraph/ops/op.hpp"
namespace ngraph
{
namespace op
......
......@@ -14,6 +14,8 @@
#pragma once
#include "ngraph/ops/op.hpp"
namespace ngraph
{
namespace op
......
......@@ -14,6 +14,8 @@
#pragma once
#include "ngraph/ops/op.hpp"
namespace ngraph
{
namespace op
......
......@@ -14,6 +14,8 @@
#pragma once
#include "ngraph/ops/op.hpp"
namespace ngraph
{
namespace op
......
......@@ -14,6 +14,8 @@
#pragma once
#include "ngraph/ops/op.hpp"
namespace ngraph
{
namespace op
......
......@@ -14,6 +14,8 @@
#pragma once
#include "ngraph/ops/op.hpp"
namespace ngraph
{
namespace op
......
......@@ -14,6 +14,8 @@
#pragma once
#include "ngraph/ops/op.hpp"
namespace ngraph
{
namespace op
......
......@@ -14,6 +14,8 @@
#pragma once
#include "ngraph/ops/op.hpp"
namespace ngraph
{
namespace op
......
......@@ -14,6 +14,8 @@
#pragma once
#include "ngraph/ops/op.hpp"
namespace ngraph
{
namespace op
......
......@@ -14,6 +14,8 @@
#pragma once
#include "ngraph/ops/op.hpp"
namespace ngraph
{
namespace op
......
......@@ -15,7 +15,7 @@
#include <algorithm>
#include <sstream>
#include "ngraph/ngraph.hpp"
#include "ngraph/ops/op.hpp"
using namespace ngraph;
using namespace std;
......@@ -14,7 +14,7 @@
#include <sstream>
#include "ngraph/ngraph.hpp"
#include "ngraph/ops/parameter.hpp"
using namespace std;
using namespace ngraph::op;
......
......@@ -14,6 +14,8 @@
#pragma once
#include "ngraph/ops/op.hpp"
namespace ngraph
{
namespace op
......
......@@ -12,8 +12,8 @@
// See the License for the specific language governing permissions and
// ----------------------------------------------------------------------------
#include "ngraph/ngraph.hpp"
#include "ngraph/pass/topological_sort.hpp"
#include "ngraph/ops/reduce.hpp"
#include "ngraph/function.hpp"
using namespace std;
using namespace ngraph::op;
......
......@@ -14,6 +14,8 @@
#pragma once
#include "ngraph/ops/op.hpp"
namespace ngraph
{
namespace op
......
......@@ -14,6 +14,8 @@
#pragma once
#include "ngraph/ops/op.hpp"
namespace ngraph
{
namespace op
......
......@@ -15,7 +15,7 @@
#include <memory>
#include "ngraph/log.hpp"
#include "ngraph/ngraph.hpp"
#include "ngraph/ops/select.hpp"
using namespace std;
using namespace ngraph;
......
......@@ -14,6 +14,8 @@
#pragma once
#include "ngraph/ops/op.hpp"
namespace ngraph
{
namespace op
......
......@@ -14,6 +14,8 @@
#pragma once
#include "ngraph/ops/op.hpp"
namespace ngraph
{
namespace op
......
......@@ -15,7 +15,7 @@
#include <memory>
#include <vector>
#include "ngraph/ngraph.hpp"
#include "ngraph/ops/tuple.hpp"
using namespace std;
using namespace ngraph::op;
......
......@@ -14,6 +14,8 @@
#pragma once
#include "ngraph/ops/op.hpp"
namespace ngraph
{
namespace op
......
......@@ -12,11 +12,8 @@
// See the License for the specific language governing permissions and
// ----------------------------------------------------------------------------
#include <memory>
#include "ngraph/ops/op.hpp"
#include "ngraph/ngraph.hpp"
using namespace std;
using namespace ngraph;
using namespace ngraph::op;
......
......@@ -14,7 +14,7 @@
#include <memory>
#include "ngraph/ngraph.hpp"
#include "ngraph/ops/op.hpp"
using namespace std;
using namespace ngraph;
......
......@@ -22,7 +22,6 @@ namespace ngraph
{
class AssignTensors;
}
class Node;
}
class ngraph::pass::AssignTensors : public CallGraphPass
......
......@@ -14,7 +14,8 @@
#include <fstream>
#include "ngraph/ngraph.hpp"
#include "ngraph/descriptor/input.hpp"
#include "ngraph/descriptor/output.hpp"
#include "ngraph/pass/dump_sorted.hpp"
#include "ngraph/util.hpp"
......
......@@ -24,7 +24,6 @@ namespace ngraph
{
class DumpSorted;
}
class Node;
}
class ngraph::pass::DumpSorted : public ModulePass
......
......@@ -16,9 +16,10 @@
#include <sstream>
#include <unordered_set>
#include "ngraph/descriptor/input.hpp"
#include "ngraph/descriptor/output.hpp"
#include "ngraph/log.hpp"
#include "ngraph/log.hpp"
#include "ngraph/ngraph.hpp"
#include "ngraph/node.hpp"
#include "ngraph/pass/assign_tensors.hpp"
#include "ngraph/pass/liveness.hpp"
#include "ngraph/util.hpp"
......
......@@ -23,7 +23,6 @@ namespace ngraph
{
class Liveness;
}
class Node;
}
class ngraph::pass::Liveness : public CallGraphPass
......
......@@ -28,9 +28,6 @@ namespace ngraph
class Manager;
class ManagerState;
}
class Node;
class Function;
}
class ngraph::pass::Manager
......
......@@ -17,15 +17,14 @@
#include <memory>
#include <vector>
#include "ngraph/function.hpp"
namespace ngraph
{
namespace pass
{
class ManagerState;
}
class Node;
class Function;
}
class ngraph::pass::ManagerState
......
......@@ -17,7 +17,6 @@
#include "ngraph/log.hpp"
#include "ngraph/log.hpp"
#include "ngraph/ngraph.hpp"
#include "ngraph/pass/liveness.hpp"
#include "ngraph/pass/manager.hpp"
#include "ngraph/pass/memory_layout.hpp"
......
......@@ -28,7 +28,6 @@ namespace ngraph
class MemoryNode;
class MemoryManager;
}
class Node;
}
class ngraph::pass::MemoryLayout : public CallGraphPass
......
......@@ -26,7 +26,6 @@ namespace ngraph
{
class MemoryVisualize;
}
class Node;
}
class ngraph::pass::MemoryVisualize : public ModulePass
......
......@@ -18,7 +18,9 @@
#include <memory>
#include <vector>
#include "ngraph/function.hpp"
#include "ngraph/node.hpp"
#include "ngraph/pass/manager_state.hpp"
namespace ngraph
{
......@@ -30,9 +32,7 @@ namespace ngraph
class NodePass;
class CallGraphPass;
class Manager;
class ManagerState;
}
class Function;
}
class ngraph::pass::PassBase
......
......@@ -22,7 +22,6 @@ namespace ngraph
{
class PropagateTypes;
}
class Node;
}
class ngraph::pass::PropagateTypes : public CallGraphPass
......
......@@ -25,7 +25,6 @@ namespace ngraph
{
class TopologicalSort;
}
class Node;
}
class ngraph::pass::TopologicalSort : public FunctionPass
......
......@@ -26,7 +26,6 @@ namespace ngraph
{
class VisualizeTree;
}
class Node;
}
class ngraph::pass::VisualizeTree : public ModulePass
......
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