Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
C
CNNArchLang
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
1
Issues
1
List
Boards
Labels
Service Desk
Milestones
Iterations
Merge Requests
0
Merge Requests
0
Requirements
Requirements
List
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Test Cases
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issue
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
monticore
EmbeddedMontiArc
languages
CNNArchLang
Commits
e9136aec
Unverified
Commit
e9136aec
authored
Jan 30, 2018
by
Thomas Michael Timmermanns
Committed by
GitHub
Jan 30, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update README.md
parent
99bdbead
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
README.md
README.md
+2
-2
No files found.
README.md
View file @
e9136aec
...
...
@@ -97,7 +97,7 @@ The method `Split(n)` in the example above creates multiple output streams from
## Inputs and Outputs
An architecture in CNNArch can have multiple inputs and outputs.
Multiple inputs (or outputs) of the same form can be
initialized as arrays
.
Multiple inputs (or outputs) of the same form can be
combined to an array
.
Assuming
`h`
and
`w`
are architecture parameter, the following is a valid example:
```
def input Z(0:255)^{H:h, W:w, C:3} image[2]
...
...
@@ -117,7 +117,7 @@ If an input or output is an array, it can be used in the architecture in two dif
Either a single element is accessed or the array is used as a whole.
The line
`image[0] ->`
would access the first image of the array and
`image ->`
would directly result in 2 output streams.
In fact,
`image ->`
is identical to
`(image[0] | image[1]) ->`
.
Furthermore, assuming
*out*
is a output array of size 2, the line
`-> out`
would be identical to
`-> ([0]->
image[0] | [1]->image
[1])`
.
Furthermore, assuming
*out*
is a output array of size 2, the line
`-> out`
would be identical to
`-> ([0]->
out[0] | [1]->out
[1])`
.
Inputs and outputs can also be used in the middle of an architecture.
In general, inputs create new streams and outputs consume existing streams.
...
...
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