-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathadhocSequential.m
More file actions
46 lines (31 loc) · 1 KB
/
adhocSequential.m
File metadata and controls
46 lines (31 loc) · 1 KB
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
function layers = adhocSequential()
layers = [
imageInputLayer([4096*4, 1, 1])
convolution2dLayer([3,1],8,'Padding','same')
batchNormalizationLayer
reluLayer
averagePooling2dLayer([2,1],'Stride',2)
convolution2dLayer([3,1],16,'Padding','same')
batchNormalizationLayer
reluLayer
averagePooling2dLayer([2,1],'Stride',2)
convolution2dLayer([3,1], 32,'Padding','same')
batchNormalizationLayer
reluLayer
averagePooling2dLayer([2,1],'Stride',2)
convolution2dLayer([3,1],64,'Padding','same')
batchNormalizationLayer
reluLayer
averagePooling2dLayer([2,1],'Stride',2)
convolution2dLayer([3,1],128,'Padding','same')
batchNormalizationLayer
reluLayer
maxPooling2dLayer([2,1],'Stride',2)
convolution2dLayer([3,1],256,'Padding','same')
batchNormalizationLayer
reluLayer
maxPooling2dLayer([2,1],'Stride',2)
dropoutLayer(0.2)
fullyConnectedLayer(1)
regressionLayer];
end