-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmyNetParam.proto
99 lines (90 loc) · 1.38 KB
/
myNetParam.proto
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
# The Net
# The train-net
name: "train-net"
debug_info: true
layer {
name: "vishnu-layer-1"
type: "Input"
top: "data"
top: "label"
include {
phase: TRAIN
}
input_param {
shape {
dim: 100
dim: 1
}
}
}
# The Test input layer
layer {
name: "test-layer-1"
type: "Input"
top: "data"
top: "fake-label"
include {
phase: TEST
}
input_param {
shape {
dim: 1
dim: 1
}
}
}
layer {
name: "square-layer-1"
type: "InnerProduct"
bottom: "data"
top: "square-layer-12"
inner_product_param {
num_output: 5
weight_filler {
type: "xavier"
}
bias_filler {
type: "xavier"
}
}
}
layer {
name: "square-layer-11"
type: "InnerProduct"
bottom: "square-layer-12"
top: "square-layer-112"
inner_product_param {
num_output: 5
weight_filler {
type: "xavier"
}
bias_filler {
type: "xavier"
}
}
}
layer {
name: "square-layer-2"
type: "InnerProduct"
bottom: "square-layer-112"
top: "predicted-square"
inner_product_param {
num_output: 1
weight_filler {
type: "xavier"
}
bias_filler {
type: "xavier"
}
}
}
layer {
name: "loss-layer"
type: "EuclideanLoss"
bottom: "label"
bottom: "predicted-square"
top: "myloss-output"
include {
phase: TRAIN
}
}