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
bb8841b5
Commit
bb8841b5
authored
5 years ago
by
Robert Kimball
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add some trace events
parent
b1ce57de
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
int_executable.cpp
src/ngraph/runtime/interpreter/int_executable.cpp
+2
-1
No files found.
src/ngraph/runtime/interpreter/int_executable.cpp
View file @
bb8841b5
...
...
@@ -77,7 +77,7 @@ runtime::interpreter::INTExecutable::INTExecutable(const std::string& model_stri
bool
runtime
::
interpreter
::
INTExecutable
::
call
(
const
vector
<
shared_ptr
<
runtime
::
Tensor
>>&
outputs
,
const
vector
<
shared_ptr
<
runtime
::
Tensor
>>&
inputs
)
{
runtime
::
event
::
Duration
d1
(
"
Interpreter"
,
"call
"
);
runtime
::
event
::
Duration
d1
(
"
call"
,
"Interpreter
"
);
// convert inputs to HostTensor
vector
<
shared_ptr
<
HostTensor
>>
func_inputs
;
...
...
@@ -127,6 +127,7 @@ bool runtime::interpreter::INTExecutable::call(const vector<shared_ptr<runtime::
for
(
const
NodeWrapper
&
wrapped
:
m_wrapped_nodes
)
{
auto
op
=
wrapped
.
get_node
();
runtime
::
event
::
Duration
d2
(
op
->
description
(),
"Interpreter"
);
auto
type_id
=
wrapped
.
get_typeid
();
if
(
type_id
==
OP_TYPEID
::
Parameter
)
{
...
...
This diff is collapsed.
Click to expand it.
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