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
bob
bob.db.mnist
Commits
91310d60
Commit
91310d60
authored
May 24, 2017
by
André Anjos
💬
Browse files
Fix return value
parent
260cba6d
Pipeline
#9536
failed with stages
in 15 minutes and 30 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
bob/db/mnist/query.py
View file @
91310d60
...
...
@@ -91,13 +91,13 @@ class Database:
Returns:
images (
numpy.ndarray
)
: A 2D array
with as many rows as examples in the
dataset, as many columns as pixels (actually,
there are 28x28 = 784
rows). The pixels of each image are unrolled in
C-scan order (i.e., first
row 0, then row 1, etc.)
numpy.ndarray: A 2D array
representing the digit images, with as many
rows as examples in the
dataset, as many columns as pixels (actually,
there are 28x28 = 784
rows). The pixels of each image are unrolled in
C-scan order (i.e., first
row 0, then row 1, etc.)
labels (
numpy.ndarray
)
: A 1D array with as many elements as examples in
the
dataset
numpy.ndarray: A 1D array with as many elements as examples in
the
dataset
, containing the labels for each image returned above.
"""
...
...
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