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
d52d676b
Commit
d52d676b
authored
Feb 28, 2019
by
Sang Ik Lee
Committed by
Scott Cyphers
Feb 28, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix bug introduced by #2238 on master (#2514)
* Fix bug introduced by #2238 * Apply style.
parent
6123134a
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
5 deletions
+4
-5
cpu_external_function.cpp
src/ngraph/runtime/cpu/cpu_external_function.cpp
+2
-2
cpu_external_function.hpp
src/ngraph/runtime/cpu/cpu_external_function.hpp
+2
-3
No files found.
src/ngraph/runtime/cpu/cpu_external_function.cpp
View file @
d52d676b
...
...
@@ -1918,6 +1918,8 @@ string runtime::cpu::CPU_ExternalFunction::strip_comments(const string& s)
return
out
.
str
();
}
#endif
std
::
unordered_set
<
descriptor
::
Tensor
*>&
runtime
::
cpu
::
CPU_ExternalFunction
::
get_tensor_set
(
descriptor
::
Tensor
*
output_tensor
)
{
...
...
@@ -1928,5 +1930,3 @@ std::unordered_set<descriptor::Tensor*>&
NGRAPH_ASSERT
(
output_buffer_it
!=
bufferID_to_tensorSets
.
end
());
return
output_buffer_it
->
second
.
second
;
}
#endif
src/ngraph/runtime/cpu/cpu_external_function.hpp
View file @
d52d676b
...
...
@@ -203,9 +203,6 @@ namespace ngraph
std
::
string
emit_op_as_function
(
const
Node
&
,
const
std
::
string
&
function_name
);
std
::
string
strip_comments
(
const
std
::
string
&
);
std
::
unordered_set
<
descriptor
::
Tensor
*>&
get_tensor_set
(
descriptor
::
Tensor
*
output_tensor
);
std
::
unique_ptr
<
codegen
::
Compiler
>
m_compiler
;
std
::
unique_ptr
<
codegen
::
ExecutionEngine
>
m_execution_engine
;
...
...
@@ -216,6 +213,8 @@ namespace ngraph
// so they don't get freed before we are done with them
std
::
vector
<
std
::
shared_ptr
<
Node
>>
m_active_constants
;
#endif
std
::
unordered_set
<
descriptor
::
Tensor
*>&
get_tensor_set
(
descriptor
::
Tensor
*
output_tensor
);
std
::
shared_ptr
<
ngraph
::
Function
>
m_function
;
bool
m_release_function
;
...
...
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