forked from fastmachinelearning/hls4ml
-
Notifications
You must be signed in to change notification settings - Fork 0
/
model_example_config.json
137 lines (137 loc) · 15.4 KB
/
model_example_config.json
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
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
{'backend': 'tensorflow',
'class_name': 'Model',
'config': {'input_layers': [['input_1', 0, 0]], 'layers': [{'class_name': 'InputLayer',
'config': {
'batch_input_shape': [None, 16],
'dtype': 'float32',
'name': 'input_1',
'sparse': False},
'inbound_nodes': [],
'name': 'input_1'},
{'class_name': 'Dense',
'config': {'activation': 'relu',
'activity_regularizer': None,
'bias_constraint': None,
'bias_initializer':
{
'class_name': 'VarianceScaling',
'config': {
'distribution': 'uniform',
'mode': 'fan_in',
'scale': 1.0,
'seed': None}},
'bias_regularizer': None,
'kernel_constraint': None,
'kernel_initializer': {
'class_name': 'VarianceScaling',
'config': {
'distribution': 'uniform',
'mode': 'fan_in',
'scale': 1.0,
'seed': None}},
'kernel_regularizer': {
'class_name': 'L1L2',
'config': {'l1': 0.0,
'l2': 0.0}},
'name': 'fc1_relu',
'trainable': True,
'units': 64,
'use_bias': True},
'inbound_nodes': [
[['input_1', 0, 0, {}]]],
'name': 'fc1_relu'},
{'class_name': 'Dense',
'config': {'activation': 'relu',
'activity_regularizer': None,
'bias_constraint': None,
'bias_initializer': {
'class_name': 'VarianceScaling',
'config': {
'distribution': 'uniform',
'mode': 'fan_in',
'scale': 1.0,
'seed': None}},
'bias_regularizer': None,
'kernel_constraint': None,
'kernel_initializer': {
'class_name': 'VarianceScaling',
'config': {
'distribution': 'uniform',
'mode': 'fan_in',
'scale': 1.0,
'seed': None}},
'kernel_regularizer': {
'class_name': 'L1L2',
'config': {'l1': 0.0,
'l2': 0.0}},
'name': 'fc2_relu',
'trainable': True,
'units': 32,
'use_bias': True},
'inbound_nodes': [
[['fc1_relu', 0, 0, {}]]],
'name': 'fc2_relu'},
{'class_name': 'Dense',
'config': {'activation': 'relu',
'activity_regularizer': None,
'bias_constraint': None,
'bias_initializer': {
'class_name': 'VarianceScaling',
'config': {
'distribution': 'uniform',
'mode': 'fan_in',
'scale': 1.0,
'seed': None}},
'bias_regularizer': None,
'kernel_constraint': None,
'kernel_initializer': {
'class_name': 'VarianceScaling',
'config': {
'distribution': 'uniform',
'mode': 'fan_in',
'scale': 1.0,
'seed': None}},
'kernel_regularizer': {
'class_name': 'L1L2',
'config': {'l1': 0.0,
'l2': 0.0}},
'name': 'fc3_relu',
'trainable': True,
'units': 32,
'use_bias': True},
'inbound_nodes': [
[['fc2_relu', 0, 0, {}]]],
'name': 'fc3_relu'},
{'class_name': 'Dense',
'config': {'activation': 'softmax',
'activity_regularizer': None,
'bias_constraint': None,
'bias_initializer': {
'class_name': 'VarianceScaling',
'config': {
'distribution': 'uniform',
'mode': 'fan_in',
'scale': 1.0,
'seed': None}},
'bias_regularizer': None,
'kernel_constraint': None,
'kernel_initializer': {
'class_name': 'VarianceScaling',
'config': {
'distribution': 'uniform',
'mode': 'fan_in',
'scale': 1.0,
'seed': None}},
'kernel_regularizer': {
'class_name': 'L1L2',
'config': {'l1': 0.0,
'l2': 0.0}},
'name': 'output_softmax',
'trainable': True,
'units': 5,
'use_bias': True},
'inbound_nodes': [
[['fc3_relu', 0, 0, {}]]],
'name': 'output_softmax'}],
'name': 'model_1', 'output_layers': [['output_softmax', 0, 0]]},
'keras_version': '2.0.0'}