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
571e0896
Commit
571e0896
authored
Jan 19, 2018
by
Scott Cyphers
Committed by
Adam Procter
Jan 19, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Comment cleanup (#395)
parent
408f3b25
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
6 additions
and
8 deletions
+6
-8
external-prereq-packages.ubuntu-16.04.txt
maint/external-prereq-packages.ubuntu-16.04.txt
+2
-2
broadcast.hpp
src/ngraph/ops/broadcast.hpp
+1
-1
call_frame.hpp
src/ngraph/runtime/call_frame.hpp
+1
-2
serializer.cpp
src/ngraph/serializer.cpp
+2
-3
No files found.
maint/external-prereq-packages.ubuntu-16.04.txt
View file @
571e0896
# Required to build the main components of
N
Graph-C++
# Required to build the main components of
n
Graph-C++
build-essential
cmake
git
# Required to build the documentation of
N
Graph-C++
# Required to build the documentation of
n
Graph-C++
doxygen
sphinx-build
src/ngraph/ops/broadcast.hpp
View file @
571e0896
...
...
@@ -70,7 +70,7 @@ namespace ngraph
return
std
::
make_shared
<
Broadcast
>
(
new_args
.
at
(
0
),
m_shape
,
m_broadcast_axes
);
}
/// \return A
n
set containing the indices of the broadcast axes (0-based).
/// \return A set containing the indices of the broadcast axes (0-based).
const
AxisSet
&
get_broadcast_axes
()
const
{
return
m_broadcast_axes
;
}
const
Shape
&
get_broadcast_shape
()
const
{
return
m_shape
;
}
bool
is_functionally_identical
(
const
Node
&
)
const
override
;
...
...
src/ngraph/runtime/call_frame.hpp
View file @
571e0896
...
...
@@ -53,11 +53,10 @@ namespace ngraph
virtual
~
CallFrame
()
{}
/// @brief Invoke the function with values matching the signature of the function.
///
/// Tuples will be expanded into their tensor views to build the call frame.
virtual
void
call
(
const
std
::
vector
<
std
::
shared_ptr
<
runtime
::
TensorView
>>&
inputs
,
const
std
::
vector
<
std
::
shared_ptr
<
runtime
::
TensorView
>>&
outputs
)
=
0
;
/// @brief Invoke the function
with tuples pre-expanded to their underlying tensor views.
/// @brief Invoke the function
virtual
void
tensor_call
(
const
TensorViewPtrs
&
inputs
,
const
TensorViewPtrs
&
outputs
)
=
0
;
...
...
src/ngraph/serializer.cpp
View file @
571e0896
...
...
@@ -73,9 +73,8 @@ static std::shared_ptr<ngraph::Function>
static
json
write
(
const
ngraph
::
Function
&
);
static
json
write
(
const
ngraph
::
Node
&
);
// This stupidity is caused by the fact that we do not pass element types
// by value but by reference even though they can be compared. There is no reason to pass
// them by reference EVERYWERE but here we are...
// There should be a map from element type names to element types so deserialization can
// find the singletons and serialization can serialize by name.
static
const
element
::
Type
&
to_ref
(
const
element
::
Type
&
t
)
{
if
(
t
==
element
::
boolean
)
...
...
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