Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
T
tic
Overview
Overview
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
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wenyuanbo
tic
Commits
ede964ec
Commit
ede964ec
authored
Jun 13, 2019
by
Hua
Committed by
Tianqi Chen
Jun 13, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[Relay] tflite frontend, keep underline with comments in same length. (#3363)
parent
153417a5
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
tests/python/frontend/tflite/test_forward.py
+5
-5
No files found.
tests/python/frontend/tflite/test_forward.py
View file @
ede964ec
...
@@ -340,7 +340,7 @@ def _test_add(data):
...
@@ -340,7 +340,7 @@ def _test_add(data):
#######################################################################
#######################################################################
# Subtract
# Subtract
# ---
# ---
-----
def
_test_sub
(
data
):
def
_test_sub
(
data
):
""" One iteration of subtract """
""" One iteration of subtract """
...
@@ -354,28 +354,28 @@ def _test_mul(data):
...
@@ -354,28 +354,28 @@ def _test_mul(data):
#######################################################################
#######################################################################
# Divide
# Divide
# ---
# ---
---
def
_test_div
(
data
):
def
_test_div
(
data
):
""" One iteration of divide """
""" One iteration of divide """
return
_test_elemwise
(
math_ops
.
divide
,
data
)
return
_test_elemwise
(
math_ops
.
divide
,
data
)
#######################################################################
#######################################################################
# Power
# Power
# ---
# ---
--
def
_test_pow
(
data
):
def
_test_pow
(
data
):
""" One iteration of power """
""" One iteration of power """
return
_test_elemwise
(
math_ops
.
pow
,
data
)
return
_test_elemwise
(
math_ops
.
pow
,
data
)
#######################################################################
#######################################################################
# Maximum
# Maximum
# ---
# ---
----
def
_test_maximum
(
data
):
def
_test_maximum
(
data
):
""" One iteration of maximum """
""" One iteration of maximum """
return
_test_elemwise
(
math_ops
.
maximum
,
data
)
return
_test_elemwise
(
math_ops
.
maximum
,
data
)
#######################################################################
#######################################################################
# Minimum
# Minimum
# ---
# ---
----
def
_test_minimum
(
data
):
def
_test_minimum
(
data
):
""" One iteration of minimum """
""" One iteration of minimum """
...
...
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