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
5ecab1ad
Commit
5ecab1ad
authored
6 years ago
by
Sergey Shalnov
Committed by
Robert Kimball
6 years ago
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
IntelGPU backend: fix typo in BatchNorm handling (#2294)
parent
25ab8a28
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
intelgpu_backend.cpp
src/ngraph/runtime/intelgpu/intelgpu_backend.cpp
+2
-2
No files found.
src/ngraph/runtime/intelgpu/intelgpu_backend.cpp
View file @
5ecab1ad
...
@@ -1312,7 +1312,7 @@ runtime::Handle runtime::intelgpu::IntelGPUBackend::compile(shared_ptr<Function>
...
@@ -1312,7 +1312,7 @@ runtime::Handle runtime::intelgpu::IntelGPUBackend::compile(shared_ptr<Function>
arguments_check
(
op
,
5
,
1
);
arguments_check
(
op
,
5
,
1
);
if
(
get_input_
nam
e
(
op
,
2
).
size
()
!=
4
)
if
(
get_input_
shap
e
(
op
,
2
).
size
()
!=
4
)
{
{
do_batch_norm_operation
(
topology
,
do_batch_norm_operation
(
topology
,
get_output_name
(
op
),
get_output_name
(
op
),
...
@@ -1344,7 +1344,7 @@ runtime::Handle runtime::intelgpu::IntelGPUBackend::compile(shared_ptr<Function>
...
@@ -1344,7 +1344,7 @@ runtime::Handle runtime::intelgpu::IntelGPUBackend::compile(shared_ptr<Function>
static_pointer_cast
<
op
::
BatchNormTraining
>
(
op
);
static_pointer_cast
<
op
::
BatchNormTraining
>
(
op
);
const
double
eps
=
bnorm
->
get_eps_value
();
const
double
eps
=
bnorm
->
get_eps_value
();
if
(
get_input_
nam
e
(
op
,
2
).
size
()
!=
4
)
if
(
get_input_
shap
e
(
op
,
2
).
size
()
!=
4
)
{
{
string
mean_name
;
string
mean_name
;
string
variance_name
;
string
variance_name
;
...
...
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