Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ModelZoo
ResNet50_tensorflow
Commits
1bd89dac
Commit
1bd89dac
authored
Mar 26, 2020
by
Xiao Yu
Committed by
A. Unique TensorFlower
Mar 26, 2020
Browse files
Internal change
PiperOrigin-RevId: 303178633
parent
62d1f29a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
official/vision/image_classification/augment_test.py
official/vision/image_classification/augment_test.py
+1
-1
No files found.
official/vision/image_classification/augment_test.py
View file @
1bd89dac
...
@@ -52,7 +52,7 @@ class TransformsTest(parameterized.TestCase, tf.test.TestCase):
...
@@ -52,7 +52,7 @@ class TransformsTest(parameterized.TestCase, tf.test.TestCase):
self
.
assertAllEqual
(
augment
.
transform
(
image
,
transforms
=
[
1
]
*
8
),
self
.
assertAllEqual
(
augment
.
transform
(
image
,
transforms
=
[
1
]
*
8
),
[[
4
,
4
],
[
4
,
4
]])
[[
4
,
4
],
[
4
,
4
]])
def
test_translate
(
self
,
dtype
):
def
disable_
test_translate
(
self
,
dtype
):
image
=
tf
.
constant
(
image
=
tf
.
constant
(
[[
1
,
0
,
1
,
0
],
[
0
,
1
,
0
,
1
],
[
1
,
0
,
1
,
0
],
[
0
,
1
,
0
,
1
]],
[[
1
,
0
,
1
,
0
],
[
0
,
1
,
0
,
1
],
[
1
,
0
,
1
,
0
],
[
0
,
1
,
0
,
1
]],
dtype
=
dtype
)
dtype
=
dtype
)
...
...
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