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
2655f5e0
Commit
2655f5e0
authored
Aug 24, 2018
by
Michał Karzyński
Committed by
Robert Kimball
Aug 24, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[ONNX] Fix reshape helper (#1490)
parent
77fb5b4e
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
4 deletions
+6
-4
reshape.cpp
src/ngraph/frontend/onnx_import/utils/reshape.cpp
+2
-0
reshape.hpp
src/ngraph/frontend/onnx_import/utils/reshape.hpp
+4
-4
No files found.
src/ngraph/frontend/onnx_import/utils/reshape.cpp
View file @
2655f5e0
...
...
@@ -14,6 +14,8 @@
* limitations under the License.
*******************************************************************************/
#include <numeric>
#include "ngraph/op/reshape.hpp"
#include "utils/reshape.hpp"
...
...
src/ngraph/frontend/onnx_import/utils/reshape.hpp
View file @
2655f5e0
...
...
@@ -25,10 +25,10 @@ namespace ngraph
/**
* @brief Permute axes according to specified axes_order parameter.
*
* @param node
:
The node which axes we want to permute.
* @param axes_order
:
The permutation of node tensor axes.
* @param node The node which axes we want to permute.
* @param axes_order The permutation of node tensor axes.
*
* @retur: New node with permuted axes.
* @retur
n
: New node with permuted axes.
*/
std
::
shared_ptr
<
ngraph
::
Node
>
reorder_axes
(
const
std
::
shared_ptr
<
ngraph
::
Node
>&
node
,
std
::
vector
<
int
>
axes_order
);
...
...
@@ -36,7 +36,7 @@ namespace ngraph
/**
* @brief Return transposed tensor (with axes in reversed order).
*
* @param node
:
Input tensor we want to transpose
* @param node Input tensor we want to transpose
*
* @return: New node with reversed dimensions.
*/
...
...
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