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
OpenDAS
dlib
Commits
7272bc74
Commit
7272bc74
authored
Jun 11, 2016
by
Davis King
Browse files
Made fill_gaussian() default to a standard normal distribution.
parent
9da21b0b
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
dlib/dnn/curand_dlibapi.h
dlib/dnn/curand_dlibapi.h
+2
-2
dlib/dnn/tensor_tools.h
dlib/dnn/tensor_tools.h
+2
-2
No files found.
dlib/dnn/curand_dlibapi.h
View file @
7272bc74
...
@@ -28,8 +28,8 @@ namespace dlib
...
@@ -28,8 +28,8 @@ namespace dlib
void
fill_gaussian
(
void
fill_gaussian
(
tensor
&
data
,
tensor
&
data
,
float
mean
,
float
mean
=
0
,
float
stddev
float
stddev
=
1
);
);
/*!
/*!
requires
requires
...
...
dlib/dnn/tensor_tools.h
View file @
7272bc74
...
@@ -72,8 +72,8 @@ namespace dlib { namespace tt
...
@@ -72,8 +72,8 @@ namespace dlib { namespace tt
void
fill_gaussian
(
void
fill_gaussian
(
tensor
&
data
,
tensor
&
data
,
float
mean
,
float
mean
=
0
,
float
stddev
float
stddev
=
1
);
);
/*!
/*!
requires
requires
...
...
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