Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Lucas Miranda
deepOF
Commits
876524ec
Commit
876524ec
authored
Jul 23, 2020
by
lucas_miranda
Browse files
Implemented Montecarlo Dropout custom layer
parent
f1f98af4
Changes
1
Hide whitespace changes
Inline
Side-by-side
source/model_utils.py
View file @
876524ec
...
...
@@ -60,6 +60,7 @@ class MCDropout(tf.keras.layers.Dropout):
def
call
(
self
,
inputs
,
**
kwargs
):
return
super
().
call
(
inputs
,
training
=
True
)
class
DenseTranspose
(
Layer
):
def
__init__
(
self
,
dense
,
output_dim
,
activation
=
None
,
**
kwargs
):
self
.
dense
=
dense
...
...
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