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
d0879611
Commit
d0879611
authored
Apr 14, 2021
by
Scott Zhu
Committed by
A. Unique TensorFlower
Apr 14, 2021
Browse files
Internal change
PiperOrigin-RevId: 368571725
parent
147b46e9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
official/nlp/modeling/layers/tn_expand_condense_test.py
official/nlp/modeling/layers/tn_expand_condense_test.py
+4
-0
No files found.
official/nlp/modeling/layers/tn_expand_condense_test.py
View file @
d0879611
...
@@ -45,6 +45,10 @@ class TNLayerTest(tf.test.TestCase, parameterized.TestCase):
...
@@ -45,6 +45,10 @@ class TNLayerTest(tf.test.TestCase, parameterized.TestCase):
@
parameterized
.
parameters
((
768
,
6
),
(
1024
,
2
))
@
parameterized
.
parameters
((
768
,
6
),
(
1024
,
2
))
def
test_keras_layer
(
self
,
input_dim
,
proj_multiple
):
def
test_keras_layer
(
self
,
input_dim
,
proj_multiple
):
self
.
skipTest
(
'Disable the test for now since it imports '
'keras.testing_utils, will reenable this test after we '
'fix the b/184578869'
)
# TODO(scottzhu): Reenable after fix b/184578869
data
=
np
.
random
.
normal
(
size
=
(
100
,
input_dim
))
data
=
np
.
random
.
normal
(
size
=
(
100
,
input_dim
))
data
=
data
.
astype
(
np
.
float32
)
data
=
data
.
astype
(
np
.
float32
)
layer_test
(
layer_test
(
...
...
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