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
c94dd26c
Commit
c94dd26c
authored
Mar 20, 2018
by
tsocha
Committed by
Scott Cyphers
Mar 20, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix of argument of padding_below being ignored. (#694)
parent
16d4f547
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
ops.py
python/ngraph/ops.py
+2
-2
No files found.
python/ngraph/ops.py
View file @
c94dd26c
...
...
@@ -278,7 +278,7 @@ def avg_pool(x, # type: Node
padding_below
=
[
0
]
*
len
(
window_shape
)
return
AvgPool
(
x
,
Shape
(
window_shape
),
Strides
(
strides
),
Shape
(
padding_above
),
Shape
(
padding_
above
),
zero_pad
)
Shape
(
padding_above
),
Shape
(
padding_
below
),
zero_pad
)
@nameable_op
...
...
@@ -299,7 +299,7 @@ def max_pool(x, # type: Node
padding_below
=
[
0
]
*
len
(
window_shape
)
return
MaxPool
(
x
,
Shape
(
window_shape
),
Strides
(
strides
),
Shape
(
padding_above
),
Shape
(
padding_
above
))
Shape
(
padding_above
),
Shape
(
padding_
below
))
# reduction ops
...
...
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