Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
N
ngraph
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
ngraph
Commits
61aed897
Commit
61aed897
authored
May 20, 2019
by
Adam Rogowiec
Committed by
arogowie-intel
May 22, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove ngraph:: prefixes and include standard headers.
parent
9d26970c
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
6 deletions
+8
-6
reshape.hpp
src/ngraph/op/util/reshape.hpp
+8
-6
No files found.
src/ngraph/op/util/reshape.hpp
View file @
61aed897
...
@@ -16,6 +16,9 @@
...
@@ -16,6 +16,9 @@
#pragma once
#pragma once
#include <cstddef>
#include <vector>
#include "ngraph/axis_vector.hpp"
#include "ngraph/axis_vector.hpp"
#include "ngraph/node.hpp"
#include "ngraph/node.hpp"
#include "ngraph/util.hpp"
#include "ngraph/util.hpp"
...
@@ -33,8 +36,7 @@ namespace ngraph
...
@@ -33,8 +36,7 @@ namespace ngraph
///
///
/// \return The node representing a Reshape operation.
/// \return The node representing a Reshape operation.
///
///
std
::
shared_ptr
<
ngraph
::
Node
>
reshape
(
const
std
::
shared_ptr
<
ngraph
::
Node
>&
node
,
std
::
shared_ptr
<
Node
>
reshape
(
const
std
::
shared_ptr
<
Node
>&
node
,
const
Shape
&
shape
);
const
Shape
&
shape
);
/// \brief Permute axes according to specified axes_order parameter.
/// \brief Permute axes according to specified axes_order parameter.
///
///
...
@@ -42,7 +44,7 @@ namespace ngraph
...
@@ -42,7 +44,7 @@ namespace ngraph
/// \param axes_order The permutation of node tensor axes.
/// \param axes_order The permutation of node tensor axes.
///
///
/// \return: New node with permuted axes.
/// \return: New node with permuted axes.
std
::
shared_ptr
<
ngraph
::
Node
>
reorder_axes
(
const
std
::
shared_ptr
<
ngraph
::
Node
>&
node
,
std
::
shared_ptr
<
Node
>
reorder_axes
(
const
std
::
shared_ptr
<
Node
>&
node
,
std
::
vector
<
std
::
size_t
>
axes_order
);
std
::
vector
<
std
::
size_t
>
axes_order
);
/// \brief Return transposed tensor (with axes in reversed order).
/// \brief Return transposed tensor (with axes in reversed order).
...
@@ -50,7 +52,7 @@ namespace ngraph
...
@@ -50,7 +52,7 @@ namespace ngraph
/// \param node Input tensor we want to transpose
/// \param node Input tensor we want to transpose
///
///
/// \return: New node with reversed dimensions.
/// \return: New node with reversed dimensions.
std
::
shared_ptr
<
ngraph
::
Node
>
transpose
(
const
std
::
shared_ptr
<
ngraph
::
Node
>&
node
);
std
::
shared_ptr
<
Node
>
transpose
(
const
std
::
shared_ptr
<
Node
>&
node
);
/// \brief Flatten the input tensor into a 2D matrix.
/// \brief Flatten the input tensor into a 2D matrix.
///
///
...
@@ -58,8 +60,8 @@ namespace ngraph
...
@@ -58,8 +60,8 @@ namespace ngraph
/// \param axis The axis dividing shape.
/// \param axis The axis dividing shape.
///
///
/// \return The new node being a 2D matrix representing flattened input node.
/// \return The new node being a 2D matrix representing flattened input node.
std
::
shared_ptr
<
ngraph
::
Node
>
flatten
(
const
std
::
shared_ptr
<
ngraph
::
Node
>&
node
,
std
::
shared_ptr
<
Node
>
flatten
(
const
std
::
shared_ptr
<
Node
>&
node
,
int
axis
);
int
axis
);
}
// namespace util
}
// namespace util
}
// namespace op
}
// namespace op
}
// namespace ngraph
}
// namespace ngraph
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment