Unverified Commit 1b034470 authored by Robert Kimball's avatar Robert Kimball Committed by GitHub

More doxygen cleanup (#4480)

* Let doxygen handle NGRAPH_API macro on objects

* More fixes to doxygen config fdile

* Cleanup

* Fix ngraph as a class

* Add missing API

* Fix build error
parent ccf19a10
...@@ -3,8 +3,8 @@ PROJECT_BRIEF = "Intel® nGraph™ library" ...@@ -3,8 +3,8 @@ PROJECT_BRIEF = "Intel® nGraph™ library"
OUTPUT_DIRECTORY = @CMAKE_CURRENT_BINARY_DIR@ OUTPUT_DIRECTORY = @CMAKE_CURRENT_BINARY_DIR@
INPUT = @CMAKE_SOURCE_DIR@/src INPUT = @CMAKE_SOURCE_DIR@/src
INCLUDE_PATH = @CMAKE_SOURCE_DIR@/src
RECURSIVE = YES RECURSIVE = YES
EXCLUDE_PATTERNS = json.hpp
USE_MATHJAX = YES USE_MATHJAX = YES
...@@ -12,3 +12,18 @@ GENERATE_XML = YES ...@@ -12,3 +12,18 @@ GENERATE_XML = YES
WARN_IF_UNDOCUMENTED = @DOXYGEN_WARN_IF_UNDOCUMENTED@ WARN_IF_UNDOCUMENTED = @DOXYGEN_WARN_IF_UNDOCUMENTED@
QUIET = @DOXYGEN_QUIET@ QUIET = @DOXYGEN_QUIET@
ENABLE_PREPROCESSING = YES
MACRO_EXPANSION = YES
EXPAND_ONLY_PREDEF = YES
PREDEFINED = NGRAPH_API= \
NOP_BACKEND_API= \
CPU_BACKEND_API= \
GCPU_BACKEND_API= \
GPU_BACKEND_API= \
INTERPRETER_BACKEND_API= \
PLAID_BACKEND_API= \
EXCLUDE_PATTERNS = */plaidml/*
EXCLUDE_PATTERNS += */gpu/*
EXCLUDE_PATTERNS += */src/contrib/mlir/*
...@@ -20,6 +20,7 @@ ...@@ -20,6 +20,7 @@
#include "ngraph/function.hpp" #include "ngraph/function.hpp"
#include "ngraph/runtime/performance_counter.hpp" #include "ngraph/runtime/performance_counter.hpp"
#include "ngraph/runtime/tensor.hpp"
#include "ngraph/shape.hpp" #include "ngraph/shape.hpp"
#include "ngraph/type/element_type.hpp" #include "ngraph/type/element_type.hpp"
...@@ -27,7 +28,6 @@ namespace ngraph ...@@ -27,7 +28,6 @@ namespace ngraph
{ {
namespace runtime namespace runtime
{ {
class Tensor;
class Executable; class Executable;
} }
} }
......
...@@ -22,6 +22,7 @@ ...@@ -22,6 +22,7 @@
#include <string> #include <string>
#include <vector> #include <vector>
#include "ngraph/runtime/backend.hpp"
#include "ngraph/runtime/reference/allreduce.hpp" #include "ngraph/runtime/reference/allreduce.hpp"
#include "ngraph/runtime/tensor.hpp" #include "ngraph/runtime/tensor.hpp"
......
...@@ -21,18 +21,12 @@ ...@@ -21,18 +21,12 @@
#include "ngraph/descriptor/layout/tensor_layout.hpp" #include "ngraph/descriptor/layout/tensor_layout.hpp"
#include "ngraph/descriptor/tensor.hpp" #include "ngraph/descriptor/tensor.hpp"
#include "ngraph/runtime/backend.hpp"
#include "ngraph/shape.hpp" #include "ngraph/shape.hpp"
#include "ngraph/strides.hpp" #include "ngraph/strides.hpp"
#include "ngraph/type/element_type.hpp" #include "ngraph/type/element_type.hpp"
namespace ngraph namespace ngraph
{ {
namespace descriptor
{
class Value;
}
namespace runtime namespace runtime
{ {
class NGRAPH_API Tensor class NGRAPH_API Tensor
......
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