Mentions légales du service
Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
declearn2
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Terraform modules
Monitor
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Admin message
GitLab upgrade completed. Current version is 17.11.3.
Show more breadcrumbs
Magnet
DecLearn
declearn2
Commits
f9daded9
Commit
f9daded9
authored
2 years ago
by
BIGAUD Nathan
Browse files
Options
Downloads
Patches
Plain Diff
Correcting tf file typos
parent
6227db0a
Branches
Branches containing commit
No related tags found
1 merge request
!32
Add support for Jax / Haiku
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
test/model/test_tflow.py
+3
-3
3 additions, 3 deletions
test/model/test_tflow.py
with
3 additions
and
3 deletions
test/model/test_tflow.py
+
3
−
3
View file @
f9daded9
...
@@ -17,8 +17,8 @@
...
@@ -17,8 +17,8 @@
"""
Unit tests for TensorflowModel.
"""
"""
Unit tests for TensorflowModel.
"""
import
warnings
import
sys
import
sys
import
warnings
from
typing
import
Any
,
List
,
Literal
from
typing
import
Any
,
List
,
Literal
import
numpy
as
np
import
numpy
as
np
...
@@ -38,7 +38,7 @@ from declearn.utils import set_device_policy
...
@@ -38,7 +38,7 @@ from declearn.utils import set_device_policy
# dirty trick to import from `model_testing.py`;
# dirty trick to import from `model_testing.py`;
# pylint: disable=wrong-import-order, wrong-import-position
# pylint: disable=wrong-import-order, wrong-import-position
sys
.
path
.
append
(
"
.
"
)
sys
.
path
.
append
(
"
.
"
)
from
model_testing
import
ModelTest
Suit
e
,
ModelTest
Cas
e
from
model_testing
import
ModelTest
Cas
e
,
ModelTest
Suit
e
class
TensorflowTestCase
(
ModelTestCase
):
class
TensorflowTestCase
(
ModelTestCase
):
...
@@ -51,7 +51,7 @@ class TensorflowTestCase(ModelTestCase):
...
@@ -51,7 +51,7 @@ class TensorflowTestCase(ModelTestCase):
16-neurons fully-connected layer with ReLU
16-neurons fully-connected layer with ReLU
1 output neuron with sigmoid activation
1 output neuron with sigmoid activation
*
"
MLP-tune
"
:
*
"
MLP-tune
"
:
- same as
N
LP, but freeze the first layer of the stack
- same as
M
LP, but freeze the first layer of the stack
*
"
RNN
"
:
*
"
RNN
"
:
- input: 128-tokens-sequence in a 100-tokens-vocabulary
- input: 128-tokens-sequence in a 100-tokens-vocabulary
- stack: 32-dimensional embedding matrix
- stack: 32-dimensional embedding matrix
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment