Skip to content

Commit b404786

Browse files
committed
Docs fixes.
1 parent c7029a7 commit b404786

File tree

6 files changed

+36
-5
lines changed

6 files changed

+36
-5
lines changed

README.md

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
# Moniel: *Notation for Deep Learning Models*
22
Moniel is human-friendly notation for declarative data flow graphs which can be compiled for TensorFlow runtime.
33

4+
Definition of VGG16:
45
![VGG16 written in Moniel](images/VGG16.png)
56
## Motivation
67
### Why?
@@ -15,7 +16,7 @@ Moniel is an attempt at creating a notation for deep learning models leveraging
1516
## Quick Introduction
1617
*These examples are contrived. They are not real-world examples and serve only for introducing the notation.*
1718

18-
Let's start with nothing, i.e. comments:
19+
Let's start with nothing, i.e. **comments**:
1920
```
2021
// This is line comment.
2122
@@ -40,7 +41,7 @@ Sigmoid -> MaxPooling
4041
```
4142
There can be **chains** of any length:
4243
```
43-
LRN -> Sigm -> BathNorm -> ReLU -> Tanh -> MP -> Conv -> BN -> ELU
44+
LRN -> Sigm -> BatchNorm -> ReLU -> Tanh -> MP -> Conv -> BN -> ELU
4445
```
4546
Also, there can be many chains:
4647
```
@@ -77,7 +78,7 @@ Lists let's you easily define **multi-connection**:
7778
```
7879
Some nodes can take **named attributes** that modify their behavior:
7980
```
80-
Constant(shape = 10x10x10, value = 1.0)
81+
Fill(shape = 10x10x10, value = 1.0)
8182
```
8283
Attribute names can also be shortened:
8384
```
@@ -109,10 +110,10 @@ If scopes are almost identical, we can create a **reusable block** and use it as
109110
```
110111
+ReusableLayer(shape = 1x1){
111112
RandN(shape = shape) -> w:Var
112-
[in:In,w] -> DP -> ReLU -> out:Out
113+
[in:In,w] -> DP -> RLU -> out:Out
113114
}
114115
115-
RL(s=784x1000) -> RL(s=1000x10)
116+
RL(s = 784x1000) -> RL(s = 1000x10)
116117
```
117118
Of course, [editor](https://www.youtube.com/watch?v=zVZqHHNQ50c) with proper syntax highlighting and interactive feedback really helps:
118119

docs/Overview.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# Overview
2+
## Pipeline
3+
![Transformation pipeline](images/pipeline.png)
File renamed without changes.
File renamed without changes.

docs/images/path.png

23.2 KB
Loading

examples/TwoConvScopes.mon

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
/conv1{
2+
in:Input(shape=28x28)
3+
4+
filters:Tensor(shape=10x3x3)
5+
biases:Tensor(shape=10x1)
6+
7+
[in,filters] -> conv:Convolution
8+
[conv, biases] -> BiasAdd -> ReLU -> out
9+
10+
out:Output
11+
}
12+
13+
/conv2{
14+
in:Input(shape=28x28)
15+
16+
filters:Tensor(shape=10x3x3)
17+
biases:Tensor(shape=10x1)
18+
19+
[in,filters] -> conv:Convolution
20+
[conv, biases] -> BiasAdd -> ReLU -> out
21+
22+
out:Output
23+
}
24+
25+
image:Input -> conv1/in
26+
conv1/out -> conv2/in
27+
conv2/out -> Out

0 commit comments

Comments
 (0)