Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
beat
beat.core
Commits
f0af08d5
Commit
f0af08d5
authored
Apr 20, 2018
by
Samuel GAIST
Browse files
[doc][algorithms] Fix print statements
parent
6cf11ed6
Changes
1
Hide whitespace changes
Inline
Side-by-side
doc/algorithms.rst
View file @
f0af08d5
...
@@ -301,16 +301,16 @@ or by iterating over the list:
...
@@ -301,16 +301,16 @@ or by iterating over the list:
# 'inputs' is the list of inputs of the processing block
# 'inputs' is the list of inputs of the processing block
print
inputs['labels'].data_format
print
(
inputs['labels'].data_format
)
for index in range(0, inputs.length):
for index in range(0, inputs.length):
print
inputs[index].data_format
print
(
inputs[index].data_format
)
for input in inputs:
for input in inputs:
print
input.data_format
print
(
input.data_format
)
for input in inputs[0:2]:
for input in inputs[0:2]:
print
input.data_format
print
(
input.data_format
)
Additionally, the following method is useable on a **list of inputs**:
Additionally, the following method is useable on a **list of inputs**:
...
...
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