comparison keras_macros.xml @ 3:7a64b9f39a46 draft

"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit ba6a47bdf76bbf4cb276206ac1a8cbf61332fd16"
author bgruening
date Fri, 13 Sep 2019 12:15:10 -0400
parents c411ff569a26
children 7a9a9349eb42
comparison
equal deleted inserted replaced
2:c411ff569a26 3:7a64b9f39a46
1 <macros> 1 <macros>
2 <token name="@KERAS_VERSION@">0.4.0</token> 2 <token name="@KERAS_VERSION@">0.4.2</token>
3 3
4 <xml name="macro_stdio"> 4 <xml name="macro_stdio">
5 <stdio> 5 <stdio>
6 <exit_code range="1:" level="fatal" description="Error occurred. Please check Tool Standard Error"/> 6 <exit_code range="1:" level="fatal" description="Error occurred. Please check Tool Standard Error"/>
7 </stdio> 7 </stdio>
22 <param argument="decay" type="float" value="0" optional="true" label="decay" help="Learning rate decay over each update."/> 22 <param argument="decay" type="float" value="0" optional="true" label="decay" help="Learning rate decay over each update."/>
23 <yield/> 23 <yield/>
24 </expand> 24 </expand>
25 </xml> 25 </xml>
26 26
27 <xml name="keras_activations"> 27 <xml name="keras_activations" token_none="true" token_tanh="false">
28 <param argument="activation" type="select" label="Activation function"> 28 <param argument="activation" type="select" label="Activation function">
29 <option value="linear" selected="true">None / linear (default)</option> 29 <option value="linear" selected="@NONE@">None / linear (default)</option>
30 <option value="softmax">softmax</option> 30 <option value="softmax">softmax</option>
31 <option value="elu">elu</option> 31 <option value="elu">elu</option>
32 <option value="selu">selu</option> 32 <option value="selu">selu</option>
33 <option value="softplus">softplus</option> 33 <option value="softplus">softplus</option>
34 <option value="softsign">softsign</option> 34 <option value="softsign">softsign</option>
35 <option value="relu">relu</option> 35 <option value="relu">relu</option>
36 <option value="tanh">tanh</option> 36 <option value="tanh" selected="@TANH@">tanh</option>
37 <option value="sigmoid">sigmoid</option> 37 <option value="sigmoid">sigmoid</option>
38 <option value="hard_sigmoid">hard_sigmoid</option> 38 <option value="hard_sigmoid">hard_sigmoid</option>
39 <option value="exponential">tanh</option> 39 <option value="exponential">tanh</option>
40 </param> 40 </param>
41 </xml> 41 </xml>
42 42
43 <xml name="keras_initializers" token_argument="kernel_initializer" token_default_kernel="false" token_default_bias="false" token_default_embeddings="false"> 43 <xml name="keras_initializers" token_argument="kernel_initializer" token_default_glorot_uniform="false" token_default_zeros="false" token_default_random_uniform="false" token_default_ones="false">
44 <param argument="@ARGUMENT@" type="select" label="@ARGUMENT@"> 44 <param argument="@ARGUMENT@" type="select" label="@ARGUMENT@">
45 <option value="zeros" selected="@DEFAULT_BIAS@">zero / zeros / Zeros</option> 45 <option value="zeros" selected="@DEFAULT_ZEROS@">zero / zeros / Zeros</option>
46 <option value="ones">one / ones / Ones</option> 46 <option value="ones" selected="@DEFAULT_ONES@">one / ones / Ones</option>
47 <option value="constant">constant / Constant</option> 47 <option value="constant">constant / Constant</option>
48 <option value="random_normal">normal / random_normal / RandomNormal</option> 48 <option value="random_normal">normal / random_normal / RandomNormal</option>
49 <option value="random_uniform" selected="@DEFAULT_EMBEDDINGS@">uniform / random_uniform / RandomUniform</option> 49 <option value="random_uniform" selected="@DEFAULT_RANDOM_UNIFORM@">uniform / random_uniform / RandomUniform</option>
50 <option value="truncated_normal">truncated_normal / TruncatedNormal</option> 50 <option value="truncated_normal">truncated_normal / TruncatedNormal</option>
51 <option value="orthogonal">orthogonal / Orthogonal</option> 51 <option value="orthogonal">orthogonal / Orthogonal</option>
52 <option value="identity">identity / Identity</option> 52 <option value="identity">identity / Identity</option>
53 <option value="glorot_normal">glorot_normal</option> 53 <option value="glorot_normal">glorot_normal</option>
54 <option value="glorot_uniform" selected="@DEFAULT_KERNEL@">glorot_uniform</option> 54 <option value="glorot_uniform" selected="@DEFAULT_GLOROT_UNIFORM@">glorot_uniform</option>
55 <option value="he_normal">he_normal</option> 55 <option value="he_normal">he_normal</option>
56 <option value="he_uniform">he_uniform</option> 56 <option value="he_uniform">he_uniform</option>
57 <option value="lecun_normal">lecun_normal</option> 57 <option value="lecun_normal">lecun_normal</option>
58 <option value="lecun_uniform">lecun_uniform</option> 58 <option value="lecun_uniform">lecun_uniform</option>
59 </param> 59 </param>
107 </when> 107 </when>
108 </conditional> 108 </conditional>
109 </xml> 109 </xml>
110 110
111 <xml name="keras_layer_types_core"> 111 <xml name="keras_layer_types_core">
112 <option value="Dense">Dense</option> 112 <option value="Dense">Core -- Dense</option>
113 <option value="Activation">Activation</option> 113 <option value="Activation">Core -- Activation</option>
114 <option value="Dropout">Dropout</option> 114 <option value="Dropout">Core -- Dropout</option>
115 <option value="Flatten">Flatten</option> 115 <option value="Flatten">Core -- Flatten</option>
116 <option value="Reshape">Reshape</option> 116 <option value="Reshape">Core -- Reshape</option>
117 <option value="Permute">Permute</option> 117 <option value="Permute">Core -- Permute</option>
118 <option value="RepeatVector">RepeatVector</option> 118 <option value="RepeatVector">Core -- RepeatVector</option>
119 <!--option value="Lambda">Lambda - Not supported</option--> 119 <!--option value="Lambda">Lambda - Not supported</option-->
120 <option value="ActivityRegularization">ActivityRegularization</option> 120 <option value="ActivityRegularization">Core -- ActivityRegularization</option>
121 <option value="Masking">Masking</option> 121 <option value="Masking">Core -- Masking</option>
122 <option value="SpatialDropout1D">SpatialDropout1D</option> 122 <option value="SpatialDropout1D">Core -- SpatialDropout1D</option>
123 <option value="SpatialDropout2D">SpatialDropout2D</option> 123 <option value="SpatialDropout2D">Core -- SpatialDropout2D</option>
124 <option value="SpatialDropout3D">SpatialDropout3D</option> 124 <option value="SpatialDropout3D">Core -- SpatialDropout3D</option>
125 </xml> 125 </xml>
126 126
127 <xml name="keras_layer_types_Convolutional"> 127 <xml name="keras_layer_types_Convolutional">
128 <option value="Conv1D">Conv1D</option> 128 <option value="Conv1D">Convolutional -- Conv1D</option>
129 <option value="Conv2D">Conv2D</option> 129 <option value="Conv2D">Convolutional -- Conv2D</option>
130 <option value="SeparableConv1D">SeparableConv1D</option> 130 <option value="SeparableConv1D">Convolutional -- SeparableConv1D</option>
131 <option value="SeparableConv2D">SeparableConv2D</option> 131 <option value="SeparableConv2D">Convolutional -- SeparableConv2D</option>
132 <option value="DepthwiseConv2D">DepthwiseConv2D</option> 132 <option value="DepthwiseConv2D">Convolutional -- DepthwiseConv2D</option>
133 <option value="Conv2DTranspose">Conv2DTranspose</option> 133 <option value="Conv2DTranspose">Convolutional -- Conv2DTranspose</option>
134 <option value="Conv3D">Conv3D</option> 134 <option value="Conv3D">Convolutional -- Conv3D</option>
135 <option value="Conv3DTranspose">Conv3DTranspose</option> 135 <option value="Conv3DTranspose">Convolutional -- Conv3DTranspose</option>
136 <option value="Cropping1D">Cropping1D</option> 136 <option value="Cropping1D">Convolutional -- Cropping1D</option>
137 <option value="Cropping2D">Cropping2D</option> 137 <option value="Cropping2D">Convolutional -- Cropping2D</option>
138 <option value="Cropping3D">Cropping3D</option> 138 <option value="Cropping3D">Convolutional -- Cropping3D</option>
139 <option value="UpSampling1D">UpSampling1D</option> 139 <option value="UpSampling1D">Convolutional -- UpSampling1D</option>
140 <option value="UpSampling2D">UpSampling2D</option> 140 <option value="UpSampling2D">Convolutional -- UpSampling2D</option>
141 <option value="UpSampling3D">UpSampling3D</option> 141 <option value="UpSampling3D">Convolutional -- UpSampling3D</option>
142 <option value="ZeroPadding1D">ZeroPadding1D</option> 142 <option value="ZeroPadding1D">Convolutional -- ZeroPadding1D</option>
143 <option value="ZeroPadding2D">ZeroPadding2D</option> 143 <option value="ZeroPadding2D">Convolutional -- ZeroPadding2D</option>
144 <option value="ZeroPadding3D">ZeroPadding3D</option> 144 <option value="ZeroPadding3D">Convolutional -- ZeroPadding3D</option>
145 </xml> 145 </xml>
146 146
147 <xml name="keras_layer_types_Pooling"> 147 <xml name="keras_layer_types_Pooling">
148 <option value="MaxPooling1D">MaxPooling1D</option> 148 <option value="MaxPooling1D">Pooling -- MaxPooling1D</option>
149 <option value="MaxPooling2D">MaxPooling2D</option> 149 <option value="MaxPooling2D">Pooling -- MaxPooling2D</option>
150 <option value="MaxPooling3D">MaxPooling3D</option> 150 <option value="MaxPooling3D">Pooling -- MaxPooling3D</option>
151 <option value="AveragePooling1D">AveragePooling1D</option> 151 <option value="AveragePooling1D">Pooling -- AveragePooling1D</option>
152 <option value="AveragePooling2D">AveragePooling2D</option> 152 <option value="AveragePooling2D">Pooling -- AveragePooling2D</option>
153 <option value="AveragePooling3D">AveragePooling3D</option> 153 <option value="AveragePooling3D">Pooling -- AveragePooling3D</option>
154 <option value="GlobalMaxPooling1D">GlobalMaxPooling1D</option> 154 <option value="GlobalMaxPooling1D">Pooling -- GlobalMaxPooling1D</option>
155 <option value="GlobalAveragePooling1D">GlobalAveragePooling1D</option> 155 <option value="GlobalAveragePooling1D">Pooling -- GlobalAveragePooling1D</option>
156 <option value="GlobalMaxPooling2D">GlobalMaxPooling2D</option> 156 <option value="GlobalMaxPooling2D">Pooling -- GlobalMaxPooling2D</option>
157 <option value="GlobalAveragePooling2D">GlobalAveragePooling2D</option> 157 <option value="GlobalAveragePooling2D">Pooling -- GlobalAveragePooling2D</option>
158 <option value="GlobalMaxPooling3D">GlobalMaxPooling3D</option> 158 <option value="GlobalMaxPooling3D">Pooling -- GlobalMaxPooling3D</option>
159 <option value="GlobalAveragePooling3D">GlobalAveragePooling3D</option> 159 <option value="GlobalAveragePooling3D">Pooling -- GlobalAveragePooling3D</option>
160 </xml> 160 </xml>
161 161
162 <xml name="keras_layer_types_locally_connected"> 162 <xml name="keras_layer_types_locally_connected">
163 <option value="LocallyConnected1D">LocallyConnected1D</option> 163 <option value="LocallyConnected1D">Locally_connected -- LocallyConnected1D</option>
164 <option value="LocallyConnected2D">LocallyConnected2D</option> 164 <option value="LocallyConnected2D">Locally_connected -- LocallyConnected2D</option>
165 </xml> 165 </xml>
166 166
167 <xml name="keras_layer_types_recurrent"> 167 <xml name="keras_layer_types_recurrent">
168 <option value="RNN">RNN</option> 168 <option value="SimpleRNN">Recurrent -- SimpleRNN</option>
169 <option value="Masking">Masking</option> 169 <option value="GRU">Recurrent -- GRU</option>
170 <option value="SimpleRNN">SimpleRNN</option> 170 <option value="LSTM">Recurrent -- LSTM</option>
171 <option value="GRU">GRU</option> 171 <option value="ConvLSTM2D">Recurrent -- ConvLSTM2D</option>
172 <option value="LSTM">LSTM</option> 172 <option value="ConvLSTM2DCell">Recurrent -- ConvLSTM2DCell</option>
173 <option value="ConvLSTM2D">ConvLSTM2D</option> 173 <option value="SimpleRNNCell">Recurrent -- SimpleRNNCell</option>
174 <option value="ConvLSTM2DCell">ConvLSTM2DCell</option> 174 <option value="GRUCell">Recurrent -- GRUCell</option>
175 <option value="SimpleRNNCell">SimpleRNNCell</option> 175 <option value="LSTMCell">Recurrent -- LSTMCell</option>
176 <option value="GRUCell">GRUCell</option> 176 <option value="CuDNNGRU">Recurrent -- CuDNNGRU</option>
177 <option value="LSTMCell">LSTMCell</option> 177 <option value="CuDNNLSTM">Recurrent -- CuDNNLSTM</option>
178 <option value="CuDNNGRU">CuDNNGRU</option>
179 <option value="CuDNNLSTM">Dense</option>
180 </xml> 178 </xml>
181 179
182 <xml name="keras_layer_types_embedding"> 180 <xml name="keras_layer_types_embedding">
183 <option value="Embedding">Embedding</option> 181 <option value="Embedding">Embedding -- Embedding</option>
184 </xml> 182 </xml>
185 183
186 <xml name="keras_layer_types_advanced_activations"> 184 <xml name="keras_layer_types_advanced_activations">
187 <option value="LeakyReLU">LeakyReLU</option> 185 <option value="LeakyReLU">Advanced activations -- LeakyReLU</option>
188 <option value="PReLU">PReLU</option> 186 <option value="PReLU">Advanced activations -- PReLU</option>
189 <option value="ELU">ELU</option> 187 <option value="ELU">Advanced activations -- ELU</option>
190 <option value="ThresholdedReLU">ThresholdedReLU</option> 188 <option value="ThresholdedReLU">Advanced activations -- ThresholdedReLU</option>
191 <option value="Softmax">Softmax</option> 189 <option value="Softmax">Advanced activations -- Softmax</option>
192 <option value="ReLU">ReLU</option> 190 <option value="ReLU">Advanced activations -- ReLU</option>
193 </xml> 191 </xml>
194 192
195 <xml name="keras_layer_types_normalization"> 193 <xml name="keras_layer_types_normalization">
196 <option value="BatchNormalization">BatchNormalization</option> 194 <option value="BatchNormalization">Normalization -- BatchNormalization</option>
197 </xml> 195 </xml>
198 196
199 <xml name="keras_layer_types_noise"> 197 <xml name="keras_layer_types_noise">
200 <option value="GaussianNoise">GaussianNoise</option> 198 <option value="GaussianNoise">Noise -- GaussianNoise</option>
201 <option value="GaussianDropout">GaussianDropout</option> 199 <option value="GaussianDropout">Noise -- GaussianDropout</option>
202 <option value="AlphaDropout">AlphaDropout</option> 200 <option value="AlphaDropout">Noise -- AlphaDropout</option>
203 </xml> 201 </xml>
204 202
205 <xml name="keras_layer_types_merge"> 203 <xml name="keras_layer_types_merge">
206 <option value="Add">Add</option> 204 <option value="Add">Merge -- Add</option>
207 <option value="Subtract">Subtract</option> 205 <option value="Subtract">Merge -- Subtract</option>
208 <option value="Multiply">Multiply</option> 206 <option value="Multiply">Merge -- Multiply</option>
209 <option value="Average">Average</option> 207 <option value="Average">Merge -- Average</option>
210 <option value="Maximum">Maximum</option> 208 <option value="Maximum">Merge -- Maximum</option>
211 <option value="Minimum">Minimum</option> 209 <option value="Minimum">Merge -- Minimum</option>
212 <option value="Concatenate">Concatenate</option> 210 <option value="Concatenate">Merge -- Concatenate</option>
213 <option value="Dot">Dot</option> 211 <option value="Dot">Merge -- Dot</option>
214 </xml> 212 </xml>
215 213
216 <!--Core Layers--> 214 <!--Core Layers-->
217 215
218 <xml name="layer_Dense"> 216 <xml name="layer_Dense">
219 <param argument="units" type="integer" value="" optional="false" label="units" help="Positive integer, dimensionality of the output space."/> 217 <param argument="units" type="integer" value="" optional="false" label="units" help="Positive integer, dimensionality of the output space."/>
220 <section name="layer_options" title="Layer Advanced Options" expanded="false"> 218 <expand macro="keras_activations"/>
221 <expand macro="keras_activations"/> 219 <expand macro="simple_kwargs" help="For example: use_bias=True, kernel_initializer='glorot_uniform', bias_initializer='zeros', kernel_regularizer=None, bias_regularizer=None, activity_regularizer=None, kernel_constraint=None, bias_constraint=None. Leave blank for default."/>
222 <param argument="use_bias" type="boolean" truevalue="booltrue" falsevalue="boolfalse" optional="true" checked="true" />
223 <expand macro="keras_initializers" default_kernel="true"/>
224 <expand macro="keras_initializers" argument="bias_initializer" default_bias="true"/>
225 <expand macro="keras_regularizers"/>
226 <expand macro="keras_regularizers" argument="bias_regularizer"/>
227 <expand macro="keras_regularizers" argument="activity_regularizer"/>
228 <expand macro="keras_constraints"/>
229 <expand macro="keras_constraints" argument="bias_constraint"/>
230 </section>
231 <yield/> 220 <yield/>
232 </xml> 221 </xml>
233 222
234 <xml name="layer_Dropout"> 223 <xml name="layer_Dropout">
235 <param argument="rate" type="float" value="" min="0." max="1.0" help="Fraction of the input units to drop."/> 224 <param argument="rate" type="float" value="" min="0." max="1.0" help="Fraction of the input units to drop."/>
236 <param argument="noise_shape" type="text" value="" help="1D integer tensor representing the shape of the 225 <expand macro="simple_kwargs" help="For example: noise_shape=None, seed=None. Leave blank for default."/>
237 binary dropout mask that will be multiplied with the input."/>
238 <param argument="seed" type="integer" value="" min="0" optional="true" help="A Python integer to use as random seed."/>
239 <yield/> 226 <yield/>
240 </xml> 227 </xml>
241 228
242 <xml name="layer_Flatten"> 229 <xml name="layer_Flatten">
243 <param argument="data_format" type="select" help="The ordering of the dimensions in the inputs."> 230 <param argument="data_format" type="select" help="The ordering of the dimensions in the inputs.">
299 <yield/> 286 <yield/>
300 </xml> 287 </xml>
301 288
302 <xml name="layer_SpatialDropout2D"> 289 <xml name="layer_SpatialDropout2D">
303 <param argument="rate" type="float" value="" min="0." max="1." help="Fraction of the input units to drop."/> 290 <param argument="rate" type="float" value="" min="0." max="1." help="Fraction of the input units to drop."/>
304 <param argument="data_format" type="select"> 291 <expand macro="simple_kwargs" help="For example: data_format=None. Leave blank for default."/>
305 <option value="channels_last" selected="true">channels_last - the channels dimension (the depth) is at index 3</option>
306 <option value="channels_first">channels_first - the channels dimension (the depth) is at index 1</option>
307 </param>
308 <yield/> 292 <yield/>
309 </xml> 293 </xml>
310 294
311 <xml name="layer_SpatialDropout3D"> 295 <xml name="layer_SpatialDropout3D">
312 <param argument="rate" type="float" value="" min="0." max="1." help="Fraction of the input units to drop."/> 296 <param argument="rate" type="float" value="" min="0." max="1." help="Fraction of the input units to drop."/>
313 <param argument="data_format" type="select"> 297 <expand macro="simple_kwargs" help="For example: data_format=None. Leave blank for default."/>
314 <option value="channels_last" selected="true">channels_last - the channels dimension (the depth) is at index 4</option>
315 <option value="channels_first">channels_first - the channels dimension (the depth) is at index 1</option>
316 </param>
317 <yield/> 298 <yield/>
318 </xml> 299 </xml>
319 300
320 <!--Convolutional Layers--> 301 <!--Convolutional Layers-->
321 302
322 <xml name="layer_Conv1D"> 303 <xml name="layer_Conv1D">
323 <param argument="filters" type="integer" value="" min="0" help="the dimensionality of the output space (i.e. the number of output filters in the convolution)."/> 304 <param argument="filters" type="integer" value="" min="0" help="the dimensionality of the output space (i.e. the number of output filters in the convolution)."/>
324 <param argument="kernel_size" type="text" value="" help="An integer or tuple/list of a single integer, specifying the length of the 1D convolution window."/> 305 <param argument="kernel_size" type="text" value="" help="An integer or tuple/list of a single integer, specifying the length of the 1D convolution window."/>
325 <param argument="strides" type="text" value="1" help="An integer or tuple/list of a single integer, specifying the stride length of the convolution."/> 306 <expand macro="keras_activations"/>
326 <section name="layer_options" title="Layer Advanced Options" expanded="false"> 307 <expand macro="simple_kwargs" help="For example: strides=1, padding='valid', data_format='channels_last', dilation_rate=1, use_bias=True, kernel_initializer='glorot_uniform', bias_initializer='zeros', kernel_regularizer=None, bias_regularizer=None, activity_regularizer=None, kernel_constraint=None, bias_constraint=None. Leave blank for default."/>
327 <param argument="padding" type="select" help="">
328 <option value="valid" selected="true">valid - no padding</option>
329 <option value="same">same - output has the same length as the original input</option>
330 <option value="causal">causal - causal (dilated) convolutions</option>
331 </param>
332 <param argument="data_format" type="select" help="The ordering of the dimensions in the inputs.">
333 <option value="channels_last" selected="true">channels_last - inputs with shape (batch, steps, channels)</option>
334 <option value="channels_first">channels_first - inputs with shape (batch, channels, steps)</option>
335 </param>
336 <param argument="dilation_rate" type="text" value="1" help="an integer or tuple/list of a single integer, specifying the dilation rate to use for dilated convolution."/>
337 <expand macro="keras_activations"/>
338 <param argument="use_bias" type="boolean" truevalue="booltrue" falsevalue="boolfalse" optional="true" checked="true"/>
339 <expand macro="keras_initializers" default_kernel="true"/>\
340 <expand macro="keras_initializers" argument="bias_initializer" default_bias="true"/>
341 <expand macro="keras_regularizers"/>
342 <expand macro="keras_regularizers" argument="bias_regularizer"/>
343 <expand macro="keras_regularizers" argument="activity_regularizer"/>
344 <expand macro="keras_constraints"/>
345 <expand macro="keras_constraints" argument="bias_constraint"/>
346 </section>
347 <yield/> 308 <yield/>
348 </xml> 309 </xml>
349 310
350 <xml name="layer_Conv2D"> 311 <xml name="layer_Conv2D">
351 <param argument="filters" type="integer" value="" min="0" help="the dimensionality of the output space (i.e. the number of output filters in the convolution)."/> 312 <param argument="filters" type="integer" value="" min="0" help="the dimensionality of the output space (i.e. the number of output filters in the convolution)."/>
352 <param argument="kernel_size" type="text" value="" help="An integer or tuple/list of 2 integers, specifying the height and width of the 2D convolution window."/> 313 <param argument="kernel_size" type="text" value="" help="An integer or tuple/list of 2 integers, specifying the height and width of the 2D convolution window."/>
353 <param argument="strides" type="text" value="1" help="An integer or tuple/list of 2 integers, specifying the strides of the convolution along the height and width."/> 314 <expand macro="keras_activations"/>
354 <section name="layer_options" title="Layer Advanced Options" expanded="false"> 315 <expand macro="simple_kwargs" help="For example: strides=(1, 1), padding='valid', data_format=None, dilation_rate=(1, 1), use_bias=True, kernel_initializer='glorot_uniform', bias_initializer='zeros', kernel_regularizer=None, bias_regularizer=None, activity_regularizer=None, kernel_constraint=None, bias_constraint=None. Leave blank for default."/>
355 <param argument="padding" type="select" help="">
356 <option value="valid" selected="true">valid - no padding</option>
357 <option value="same">same - output has the same length as the original input</option>
358 <!--option value="causal">causal - causal (dilated) convolutions</option-->
359 </param>
360 <param argument="data_format" type="select" help="The ordering of the dimensions in the inputs.">
361 <option value="channels_last" selected="true">channels_last - inputs with shape (batch, height, width, channels)</option>
362 <option value="channels_first">channels_first - inputs with shape (batch, channels, height, width)</option>
363 </param>
364 <param argument="dilation_rate" type="text" value="1" help="an integer or tuple/list of 2 integers, specifying the dilation rate to use for dilated convolution."/>
365 <expand macro="keras_activations"/>
366 <param argument="use_bias" type="boolean" truevalue="booltrue" falsevalue="boolfalse" optional="true" checked="true"/>
367 <expand macro="keras_initializers" default_kernel="true"/>\
368 <expand macro="keras_initializers" argument="bias_initializer" default_bias="true"/>
369 <expand macro="keras_regularizers"/>
370 <expand macro="keras_regularizers" argument="bias_regularizer"/>
371 <expand macro="keras_regularizers" argument="activity_regularizer"/>
372 <expand macro="keras_constraints"/>
373 <expand macro="keras_constraints" argument="bias_constraint"/>
374 </section>
375 <yield/> 316 <yield/>
376 </xml> 317 </xml>
377 318
378 <xml name="layer_SeparableConv1D"> 319 <xml name="layer_SeparableConv1D">
379 <param argument="filters" type="integer" value="" min="0" help="the dimensionality of the output space (i.e. the number of output filters in the convolution)."/> 320 <param argument="filters" type="integer" value="" min="0" help="the dimensionality of the output space (i.e. the number of output filters in the convolution)."/>
380 <param argument="kernel_size" type="text" value="" help="An integer or tuple/list of a single integer, specifying the length of the 1D convolution window."/> 321 <param argument="kernel_size" type="text" value="" help="An integer or tuple/list of a single integer, specifying the length of the 1D convolution window."/>
381 <param argument="strides" type="text" value="1" help="An integer or tuple/list of single integer, specifying the stride length of the convolution. "/> 322 <expand macro="keras_activations"/>
382 <section name="layer_options" title="Layer Advanced Options" expanded="false"> 323 <expand macro="simple_kwargs" help="For example: strides=1, padding='valid', data_format='channels_last', dilation_rate=1, depth_multiplier=1, use_bias=True, depthwise_initializer='glorot_uniform', pointwise_initializer='glorot_uniform', bias_initializer='zeros', depthwise_regularizer=None, pointwise_regularizer=None, bias_regularizer=None, activity_regularizer=None, depthwise_constraint=None, pointwise_constraint=None, bias_constraint=None. Leave blank for default."/>
383 <param argument="padding" type="select" help="">
384 <option value="valid" selected="true">valid - no padding</option>
385 <option value="same">same - output has the same length as the original input</option>
386 <!--option value="causal">causal - causal (dilated) convolutions</option-->
387 </param>
388 <param argument="data_format" type="select" help="The ordering of the dimensions in the inputs.">
389 <option value="channels_last" selected="true">channels_last - inputs with shape (batch, steps, channels)</option>
390 <option value="channels_first">channels_first - inputs with shape (batch, channels, steps)</option>
391 </param>
392 <param argument="dilation_rate" type="text" value="1" help="an integer or tuple/list of a single integer, specifying the dilation rate to use for dilated convolution. "/>
393 <param argument="depth_multiplier" type="integer" value="1" help="The number of depthwise convolution output channels for each input channel."/>
394 <expand macro="keras_activations"/>
395 <param argument="use_bias" type="boolean" truevalue="booltrue" falsevalue="boolfalse" optional="true" checked="true"/>
396 <expand macro="keras_initializers" argument="depthwise_initializer" default_kernel="true"/>
397 <expand macro="keras_initializers" argument="pointwise_initializer" default_kernel="true"/>
398 <expand macro="keras_initializers" argument="bias_initializer" default_bias="true"/>
399 <expand macro="keras_regularizers" argument="depthwise_regularizer"/>
400 <expand macro="keras_regularizers" argument="pointwise_regularizer"/>
401 <expand macro="keras_regularizers" argument="bias_regularizer"/>
402 <expand macro="keras_regularizers" argument="activity_regularizer"/>
403 <expand macro="keras_constraints" argument="depthwise_constraint"/>
404 <expand macro="keras_constraints" argument="pointwise_constraint"/>
405 <expand macro="keras_constraints" argument="bias_constraint"/>
406 </section>
407 <yield/> 324 <yield/>
408 </xml> 325 </xml>
409 326
410 <xml name="layer_SeparableConv2D"> 327 <xml name="layer_SeparableConv2D">
411 <param argument="filters" type="integer" value="" min="0" help="the dimensionality of the output space (i.e. the number of output filters in the convolution)."/> 328 <param argument="filters" type="integer" value="" min="0" help="the dimensionality of the output space (i.e. the number of output filters in the convolution)."/>
412 <param argument="kernel_size" type="text" value="" help="An integer or tuple/list of 2 integers, specifying the height and width of the 2D convolution window."/> 329 <param argument="kernel_size" type="text" value="" help="An integer or tuple/list of 2 integers, specifying the height and width of the 2D convolution window."/>
413 <param argument="strides" type="text" value="1" help="An integer or tuple/list of 2 integers, specifying the strides of the convolution along the height and width."/> 330 <expand macro="keras_activations"/>
414 <section name="layer_options" title="Layer Advanced Options" expanded="false"> 331 <expand macro="simple_kwargs" help="For example: strides=(1, 1), padding='valid', data_format=None, dilation_rate=(1, 1), depth_multiplier=1, use_bias=True, depthwise_initializer='glorot_uniform', pointwise_initializer='glorot_uniform', bias_initializer='zeros', depthwise_regularizer=None, pointwise_regularizer=None, bias_regularizer=None, activity_regularizer=None, depthwise_constraint=None, pointwise_constraint=None, bias_constraint=None. Leave blank for default."/>
415 <param argument="padding" type="select" help="">
416 <option value="valid" selected="true">valid - no padding</option>
417 <option value="same">same - output has the same length as the original input</option>
418 <!--option value="causal">causal - causal (dilated) convolutions</option-->
419 </param>
420 <param argument="data_format" type="select" help="The ordering of the dimensions in the inputs.">
421 <option value="channels_last" selected="true">channels_last - inputs with shape (batch, height, width, channels)</option>
422 <option value="channels_first">channels_first - inputs with shape (batch, channels, height, width)</option>
423 </param>
424 <param argument="dilation_rate" type="text" value="1" help="an integer or tuple/list of 2 integers, specifying the dilation rate to use for dilated convolution."/>
425 <param argument="depth_multiplier" type="integer" value="1" help="The number of depthwise convolution output channels for each input channel."/>
426 <expand macro="keras_activations"/>
427 <param argument="use_bias" type="boolean" truevalue="booltrue" falsevalue="boolfalse" optional="true" checked="true"/>
428 <expand macro="keras_initializers" argument="depthwise_initializer" default_kernel="true"/>
429 <expand macro="keras_initializers" argument="pointwise_initializer" default_kernel="true"/>
430 <expand macro="keras_initializers" argument="bias_initializer" default_bias="true"/>
431 <expand macro="keras_regularizers" argument="depthwise_regularizer"/>
432 <expand macro="keras_regularizers" argument="pointwise_regularizer"/>
433 <expand macro="keras_regularizers" argument="bias_regularizer"/>
434 <expand macro="keras_regularizers" argument="activity_regularizer"/>
435 <expand macro="keras_constraints" argument="depthwise_constraint"/>
436 <expand macro="keras_constraints" argument="pointwise_constraint"/>
437 <expand macro="keras_constraints" argument="bias_constraint"/>
438 </section>
439 <yield/> 332 <yield/>
440 </xml> 333 </xml>
441 334
442 <xml name="layer_DepthwiseConv2D"> 335 <xml name="layer_DepthwiseConv2D">
443 <param argument="filters" type="integer" value="" min="0" help="the dimensionality of the output space (i.e. the number of output filters in the convolution)."/> 336
444 <param argument="kernel_size" type="text" value="" help="An integer or tuple/list of 2 integers, specifying the height and width of the 2D convolution window."/> 337 <param argument="kernel_size" type="text" value="" help="An integer or tuple/list of 2 integers, specifying the height and width of the 2D convolution window."/>
445 <param argument="strides" type="text" value="1" help="An integer or tuple/list of 2 integers, specifying the strides of the convolution along the height and width."/> 338 <expand macro="keras_activations"/>
446 <section name="layer_options" title="Layer Advanced Options" expanded="false"> 339 <expand macro="simple_kwargs" help="For example: strides=(1, 1), padding='valid', depth_multiplier=1, data_format=None, use_bias=True, depthwise_initializer='glorot_uniform', bias_initializer='zeros', depthwise_regularizer=None, bias_regularizer=None, activity_regularizer=None, depthwise_constraint=None, bias_constraint=None. Leave blank for default."/>
447 <param argument="padding" type="select" help="">
448 <option value="valid" selected="true">valid - no padding</option>
449 <option value="same">same - output has the same length as the original input</option>
450 <!--option value="causal">causal - causal (dilated) convolutions</option-->
451 </param>
452 <param argument="data_format" type="select" help="The ordering of the dimensions in the inputs.">
453 <option value="channels_last" selected="true">channels_last - inputs with shape (batch, height, width, channels)</option>
454 <option value="channels_first">channels_first - inputs with shape (batch, channels, height, width)</option>
455 </param>
456 <param argument="dilation_rate" type="text" value="1" help="an integer or tuple/list of 2 integers, specifying the dilation rate to use for dilated convolution."/>
457 <param argument="depth_multiplier" type="integer" value="1" help="The number of depthwise convolution output channels for each input channel."/>
458 <expand macro="keras_activations"/>
459 <param argument="use_bias" type="boolean" truevalue="booltrue" falsevalue="boolfalse" optional="true" checked="true"/>
460 <expand macro="keras_initializers" argument="depthwise_initializer" default_kernel="true"/>
461 <expand macro="keras_initializers" argument="bias_initializer" default_bias="true"/>
462 <expand macro="keras_regularizers" argument="depthwise_regularizer"/>
463 <expand macro="keras_regularizers" argument="pointwise_regularizer"/>
464 <expand macro="keras_regularizers" argument="bias_regularizer"/>
465 <expand macro="keras_regularizers" argument="activity_regularizer"/>
466 <expand macro="keras_constraints" argument="depthwise_constraint"/>
467 <expand macro="keras_constraints" argument="bias_constraint"/>
468 </section>
469 <yield/> 340 <yield/>
470 </xml> 341 </xml>
471 342
472 <xml name="layer_Conv2DTranspose"> 343 <xml name="layer_Conv2DTranspose">
473 <param argument="filters" type="integer" value="" min="0" help="the dimensionality of the output space (i.e. the number of output filters in the convolution)."/> 344 <param argument="filters" type="integer" value="" min="0" help="the dimensionality of the output space (i.e. the number of output filters in the convolution)."/>
474 <param argument="kernel_size" type="text" value="" help="An integer or tuple/list of 2 integers, specifying the height and width of the 2D convolution window."/> 345 <param argument="kernel_size" type="text" value="" help="An integer or tuple/list of 2 integers, specifying the height and width of the 2D convolution window."/>
475 <param argument="strides" type="text" value="1" help="An integer or tuple/list of 2 integers, specifying the strides of the convolution along the height and width."/> 346 <expand macro="keras_activations"/>
476 <section name="layer_options" title="Layer Advanced Options" expanded="false"> 347 <expand macro="simple_kwargs" help="For example: strides=(1, 1), padding='valid', output_padding=None, data_format=None, dilation_rate=(1, 1), use_bias=True, kernel_initializer='glorot_uniform', bias_initializer='zeros', kernel_regularizer=None, bias_regularizer=None, activity_regularizer=None, kernel_constraint=None, bias_constraint=None. Leave blank for default."/>
477 <param argument="padding" type="select" help="">
478 <option value="valid" selected="true">valid - no padding</option>
479 <option value="same">same - output has the same length as the original input</option>
480 <!--option value="causal">causal - causal (dilated) convolutions</option-->
481 </param>
482 <param argument="output_padding" type="text" value="" help="An integer or tuple/list of 2 integers, specifying the amount of padding along the height and width of the output tensor."/>
483 <param argument="data_format" type="select" help="The ordering of the dimensions in the inputs.">
484 <option value="channels_last" selected="true">channels_last - inputs with shape (batch, height, width, channels)</option>
485 <option value="channels_first">channels_first - inputs with shape (batch, channels, height, width)</option>
486 </param>
487 <param argument="dilation_rate" type="text" value="1" help="an integer or tuple/list of 2 integers, specifying the dilation rate to use for dilated convolution."/>
488 <expand macro="keras_activations"/>
489 <param argument="use_bias" type="boolean" truevalue="booltrue" falsevalue="boolfalse" optional="true" checked="true"/>
490 <expand macro="keras_initializers" default_kernel="true"/>
491 <expand macro="keras_initializers" argument="bias_initializer" default_bias="true"/>
492 <expand macro="keras_regularizers" />
493 <expand macro="keras_regularizers" argument="bias_regularizer"/>
494 <expand macro="keras_regularizers" argument="activity_regularizer"/>
495 <expand macro="keras_constraints"/>
496 <expand macro="keras_constraints" argument="bias_constraint"/>
497 </section>
498 <yield/> 348 <yield/>
499 </xml> 349 </xml>
500 350
501 <xml name="layer_Conv3D"> 351 <xml name="layer_Conv3D">
502 <param argument="filters" type="integer" value="" min="0" help="the dimensionality of the output space (i.e. the number of output filters in the convolution)."/> 352 <param argument="filters" type="integer" value="" min="0" help="the dimensionality of the output space (i.e. the number of output filters in the convolution)."/>
503 <param argument="kernel_size" type="text" value="" help="An integer or tuple/list of 3 integers, specifying the depth, height and width of the 3D convolution window."/> 353 <param argument="kernel_size" type="text" value="" help="An integer or tuple/list of 3 integers, specifying the depth, height and width of the 3D convolution window."/>
504 <param argument="strides" type="text" value="1" help="An integer or tuple/list of 3 integers, specifying the strides of the convolution along each spatial dimension."/> 354 <expand macro="keras_activations"/>
505 <section name="layer_options" title="Layer Advanced Options" expanded="false"> 355 <expand macro="simple_kwargs" help="For example: strides=(1, 1, 1), padding='valid', data_format=None, dilation_rate=(1, 1, 1), use_bias=True, kernel_initializer='glorot_uniform', bias_initializer='zeros', kernel_regularizer=None, bias_regularizer=None, activity_regularizer=None, kernel_constraint=None, bias_constraint=None. Leave blank for default."/>
506 <param argument="padding" type="select" help="">
507 <option value="valid" selected="true">valid - no padding</option>
508 <option value="same">same - output has the same length as the original input</option>
509 <!--option value="causal">causal - causal (dilated) convolutions</option-->
510 </param>
511 <param argument="data_format" type="select" help="The ordering of the dimensions in the inputs.">
512 <option value="channels_last" selected="true">channels_last - inputs with shape (batch, spatial_dim1, spatial_dim2, spatial_dim3, channels)</option>
513 <option value="channels_first">channels_first - inputs with shape (batch, channels, spatial_dim1, spatial_dim2, spatial_dim3)</option>
514 </param>
515 <param argument="dilation_rate" type="text" value="1" help="an integer or tuple/list of 3 integers, specifying the dilation rate to use for dilated convolution."/>
516 <expand macro="keras_activations"/>
517 <param argument="use_bias" type="boolean" truevalue="booltrue" falsevalue="boolfalse" optional="true" checked="true"/>
518 <expand macro="keras_initializers" default_kernel="true"/>
519 <expand macro="keras_initializers" argument="bias_initializer" default_bias="true"/>
520 <expand macro="keras_regularizers" />
521 <expand macro="keras_regularizers" argument="bias_regularizer"/>
522 <expand macro="keras_regularizers" argument="activity_regularizer"/>
523 <expand macro="keras_constraints"/>
524 <expand macro="keras_constraints" argument="bias_constraint"/>
525 </section>
526 <yield/> 356 <yield/>
527 </xml> 357 </xml>
528 358
529 <xml name="layer_Conv3DTranspose"> 359 <xml name="layer_Conv3DTranspose">
530 <param argument="filters" type="integer" value="" min="0" help="the dimensionality of the output space (i.e. the number of output filters in the convolution)."/> 360 <param argument="filters" type="integer" value="" min="0" help="the dimensionality of the output space (i.e. the number of output filters in the convolution)."/>
531 <param argument="kernel_size" type="text" value="" help="An integer or tuple/list of 3 integers, specifying the depth, height and width of the 3D convolution window."/> 361 <param argument="kernel_size" type="text" value="" help="An integer or tuple/list of 3 integers, specifying the depth, height and width of the 3D convolution window."/>
532 <param argument="strides" type="text" value="1" help="An integer or tuple/list of 3 integers, specifying the strides of the convolution along each spatial dimension."/> 362 <expand macro="keras_activations"/>
533 <section name="layer_options" title="Layer Advanced Options" expanded="false"> 363 <expand macro="simple_kwargs" help="For example: strides=(1, 1, 1), padding='valid', output_padding=None, data_format=None, activation=None, use_bias=True, kernel_initializer='glorot_uniform', bias_initializer='zeros', kernel_regularizer=None, bias_regularizer=None, activity_regularizer=None, kernel_constraint=None, bias_constraint=None. Leave blank for default."/>
534 <param argument="padding" type="select" help="">
535 <option value="valid" selected="true">valid - no padding</option>
536 <option value="same">same - output has the same length as the original input</option>
537 <!--option value="causal">causal - causal (dilated) convolutions</option-->
538 </param>
539 <param argument="output_padding" type="text" value="" help="An integer or tuple/list of 3 integers, specifying the amount of padding along the depth, height, and width. "/>
540 <param argument="data_format" type="select" help="The ordering of the dimensions in the inputs.">
541 <option value="channels_last" selected="true">channels_last - inputs with shape (batch, spatial_dim1, spatial_dim2, spatial_dim3, channels)</option>
542 <option value="channels_first">channels_first - inputs with shape (batch, channels, spatial_dim1, spatial_dim2, spatial_dim3)</option>
543 </param>
544 <param argument="dilation_rate" type="text" value="1" help="an integer or tuple/list of 3 integers, specifying the dilation rate to use for dilated convolution."/>
545 <expand macro="keras_activations"/>
546 <param argument="use_bias" type="boolean" truevalue="booltrue" falsevalue="boolfalse" optional="true" checked="true"/>
547 <expand macro="keras_initializers" default_kernel="true"/>
548 <expand macro="keras_initializers" argument="bias_initializer" default_bias="true"/>
549 <expand macro="keras_regularizers" />
550 <expand macro="keras_regularizers" argument="bias_regularizer"/>
551 <expand macro="keras_regularizers" argument="activity_regularizer"/>
552 <expand macro="keras_constraints"/>
553 <expand macro="keras_constraints" argument="bias_constraint"/>
554 </section>
555 <yield/> 364 <yield/>
556 </xml> 365 </xml>
557 366
558 <xml name="layer_Cropping1D"> 367 <xml name="layer_Cropping1D">
559 <param argument="cropping" type="text" value="(1, 1)" help="int or tuple of int (length 2) How many units should be trimmed off at the beginning and end of the cropping dimension (axis 1). 368 <param argument="cropping" type="text" value="(1, 1)" help="int or tuple of int (length 2) How many units should be trimmed off at the beginning and end of the cropping dimension (axis 1). If a single int is provided, the same value will be used for both."/>
560 If a single int is provided, the same value will be used for both."/>
561 <yield/> 369 <yield/>
562 </xml> 370 </xml>
563 371
564 <xml name="layer_Cropping2D"> 372 <xml name="layer_Cropping2D">
565 <param argument="cropping" type="text" value="((0, 0), (0, 0))" help="int, or tuple of 2 ints, or tuple of 2 tuples of 2 ints."/> 373 <param argument="cropping" type="text" value="((0, 0), (0, 0))" help="int, or tuple of 2 ints, or tuple of 2 tuples of 2 ints."/>
566 <param argument="data_format" type="select" help="The ordering of the dimensions in the inputs."> 374 <expand macro="simple_kwargs" help="For example: data_format=None. Leave blank for default."/>
567 <option value="channels_last" selected="true">channels_last - inputs with shape (batch, height, width, channels)</option>
568 <option value="channels_first">channels_first - inputs with shape (batch, channels, height, width)</option>
569 </param>
570 <yield/> 375 <yield/>
571 </xml> 376 </xml>
572 377
573 <xml name="layer_Cropping3D"> 378 <xml name="layer_Cropping3D">
574 <param argument="cropping" type="text" value="((1, 1), (1, 1), (1, 1))" help="int, or tuple of 3 ints, or tuple of 3 tuples of 2 ints."/> 379 <param argument="cropping" type="text" value="((1, 1), (1, 1), (1, 1))" help="int, or tuple of 3 ints, or tuple of 3 tuples of 2 ints."/>
575 <param argument="data_format" type="select" help="The ordering of the dimensions in the inputs."> 380 <expand macro="simple_kwargs" help="For example: data_format=None. Leave blank for default."/>
576 <option value="channels_last" selected="true">channels_last - inputs with shape (batch, spatial_dim1, spatial_dim2, spatial_dim3, channels)</option>
577 <option value="channels_first">channels_first - inputs with shape (batch, channels, spatial_dim1, spatial_dim2, spatial_dim3)</option>
578 </param>
579 <yield/> 381 <yield/>
580 </xml> 382 </xml>
581 383
582 <xml name="layer_UpSampling1D"> 384 <xml name="layer_UpSampling1D">
583 <param argument="size" type="integer" value="2" min="0" help="integer. Upsampling factor."/> 385 <param argument="size" type="integer" value="2" min="0" help="integer. Upsampling factor."/>
584 <yield/> 386 <yield/>
585 </xml> 387 </xml>
586 388
587 <xml name="layer_UpSampling2D"> 389 <xml name="layer_UpSampling2D">
588 <param argument="size" type="text" value="(2, 2)" help="int, or tuple of 2 integers. The upsampling factors for rows and columns."/> 390 <param argument="size" type="text" value="(2, 2)" help="int, or tuple of 2 integers. The upsampling factors for rows and columns."/>
589 <param argument="data_format" type="select" help="The ordering of the dimensions in the inputs."> 391 <expand macro="simple_kwargs" help="For example: data_format=None, interpolation='nearest'. Leave blank for default."/>
590 <option value="channels_last" selected="true">channels_last - inputs with shape (batch, height, width, channels)</option>
591 <option value="channels_first">channels_first - inputs with shape (batch, channels, height, width)</option>
592 </param>
593 <param argument="interpolation" type="select">
594 <option value="nearest" selected="true">nearest</option>
595 <option value="bilinear">bilinear</option>
596 </param>
597 <yield/> 392 <yield/>
598 </xml> 393 </xml>
599 394
600 <xml name="layer_UpSampling3D"> 395 <xml name="layer_UpSampling3D">
601 <param argument="size" type="text" value="(2, 2, 2)" help="int, or tuple of 3 integers. The upsampling factors for dim1, dim2 and dim3."/> 396 <param argument="size" type="text" value="(2, 2, 2)" help="int, or tuple of 3 integers. The upsampling factors for dim1, dim2 and dim3."/>
602 <param argument="data_format" type="select" help="The ordering of the dimensions in the inputs."> 397 <expand macro="simple_kwargs" help="For example: data_format=None, interpolation='nearest'. Leave blank for default."/>
603 <option value="channels_last" selected="true">channels_last - inputs with shape (batch, spatial_dim1, spatial_dim2, spatial_dim3, channels)</option>
604 <option value="channels_first">channels_first - inputs with shape (batch, channels, spatial_dim1, spatial_dim2, spatial_dim3)</option>
605 </param>
606 <yield/> 398 <yield/>
607 </xml> 399 </xml>
608 400
609 <xml name="layer_ZeroPadding1D"> 401 <xml name="layer_ZeroPadding1D">
610 <param argument="padding" type="text" value="1" help="int, or tuple of int (length 2)"/> 402 <param argument="padding" type="text" value="1" help="int, or tuple of int (length 2)"/>
611 <yield/> 403 <yield/>
612 </xml> 404 </xml>
613 405
614 <xml name="layer_ZeroPadding2D"> 406 <xml name="layer_ZeroPadding2D">
615 <param argument="padding" type="text" value="(1, 1)" help="int, or tuple of 2 ints, or tuple of 2 tuples of 2 ints."/> 407 <param argument="padding" type="text" value="(1, 1)" help="int, or tuple of 2 ints, or tuple of 2 tuples of 2 ints."/>
616 <param argument="data_format" type="select" help="The ordering of the dimensions in the inputs."> 408 <expand macro="simple_kwargs" help="For example: data_format=None. Leave blank for default."/>
617 <option value="channels_last" selected="true">channels_last - inputs with shape (batch, height, width, channels)</option>
618 <option value="channels_first">channels_first - inputs with shape (batch, channels, height, width)</option>
619 </param>
620 <yield/> 409 <yield/>
621 </xml> 410 </xml>
622 411
623 <xml name="layer_ZeroPadding3D"> 412 <xml name="layer_ZeroPadding3D">
624 <param argument="padding" type="text" value="(1, 1, 1)" help="int, or tuple of 3 ints, or tuple of 3 tuples of 2 ints."/> 413 <param argument="padding" type="text" value="(1, 1, 1)" help="int, or tuple of 3 ints, or tuple of 3 tuples of 2 ints."/>
625 <param argument="data_format" type="select" help="The ordering of the dimensions in the inputs."> 414 <expand macro="simple_kwargs" help="For example: data_format=None. Leave blank for default."/>
626 <option value="channels_last" selected="true">channels_last - inputs with shape (batch, spatial_dim1, spatial_dim2, spatial_dim3, channels)</option>
627 <option value="channels_first">channels_first - inputs with shape (batch, channels, spatial_dim1, spatial_dim2, spatial_dim3)</option>
628 </param>
629 <yield/> 415 <yield/>
630 </xml> 416 </xml>
631 417
632 <!--Pooling Layers--> 418 <!--Pooling Layers-->
633 419
634 <xml name="layer_MaxPooling1D"> 420 <xml name="layer_MaxPooling1D">
635 <param name="pool_size" type="integer" value="2" help="Integer, size of the max pooling windows."/> 421 <param name="pool_size" type="integer" value="2" help="Integer, size of the max pooling windows."/>
636 <param name="strides" type="integer" value="" help="Integer, or None. Factor by which to downscale. E.g. 2 will halve the input. If None, it will default to pool_size."/> 422 <param name="strides" type="integer" value="" help="Integer, or None. Factor by which to downscale. E.g. 2 will halve the input. If None, it will default to pool_size."/>
637 <param argument="padding" type="select" > 423 <expand macro="simple_kwargs" help="For example: padding='valid', data_format='channels_last'. Leave blank for default."/>
638 <option value="valid" selected="true">valid - no padding</option>
639 <option value="same">same - output has the same length as the original input</option>
640 <!--option value="causal">causal - causal (dilated) convolutions</option-->
641 </param>
642 <param argument="data_format" type="select" help="The ordering of the dimensions in the inputs.">
643 <option value="channels_last" selected="true">channels_last - inputs with shape (batch, steps, channels)</option>
644 <option value="channels_first">channels_first - inputs with shape (batch, channels, steps)</option>
645 </param>
646 <yield/> 424 <yield/>
647 </xml> 425 </xml>
648 426
649 <xml name="layer_MaxPooling2D"> 427 <xml name="layer_MaxPooling2D">
650 <param name="pool_size" type="text" value="(2, 2)" help="integer or tuple of 2 integers, factors by which to downscale (vertical, horizontal)"/> 428 <param name="pool_size" type="text" value="(2, 2)" help="integer or tuple of 2 integers, factors by which to downscale (vertical, horizontal)"/>
651 <param name="strides" type="text" value="" help="Integer, tuple of 2 integers, or None. Strides values. If None, it will default to pool_size."/> 429 <param name="strides" type="text" value="" help="Integer, tuple of 2 integers, or None. Strides values. If None, it will default to pool_size."/>
652 <param argument="padding" type="select" > 430 <expand macro="simple_kwargs" help="For example: padding='valid', data_format='channels_last'. Leave blank for default."/>
653 <option value="valid" selected="true">valid - no padding</option>
654 <option value="same">same - output has the same length as the original input</option>
655 <!--option value="causal">causal - causal (dilated) convolutions</option-->
656 </param>
657 <param argument="data_format" type="select" help="The ordering of the dimensions in the inputs.">
658 <option value="channels_last" selected="true">channels_last - inputs with shape (batch, height, width, channels)</option>
659 <option value="channels_first">channels_first - inputs with shape (batch, channels, height, width)</option>
660 </param>
661 <yield/> 431 <yield/>
662 </xml> 432 </xml>
663 433
664 <xml name="layer_MaxPooling3D"> 434 <xml name="layer_MaxPooling3D">
665 <param name="pool_size" type="text" value="(2, 2, 2)" help="tuple of 3 integers, factors by which to downscale (dim1, dim2, dim3). 435 <param name="pool_size" type="text" value="(2, 2, 2)" help="tuple of 3 integers, factors by which to downscale (dim1, dim2, dim3).
666 (2, 2, 2) will halve the size of the 3D input in each dimension."/> 436 (2, 2, 2) will halve the size of the 3D input in each dimension."/>
667 <param name="strides" type="text" value="" help="tuple of 3 integers, or None. If None, it will default to pool_size."/> 437 <param name="strides" type="text" value="" help="tuple of 3 integers, or None. If None, it will default to pool_size."/>
668 <param argument="padding" type="select" > 438 <expand macro="simple_kwargs" help="For example: padding='valid', data_format='channels_last'. Leave blank for default."/>
669 <option value="valid" selected="true">valid - no padding</option>
670 <option value="same">same - output has the same length as the original input</option>
671 <!--option value="causal">causal - causal (dilated) convolutions</option-->
672 </param>
673 <param argument="data_format" type="select" help="The ordering of the dimensions in the inputs.">
674 <option value="channels_last" selected="true">channels_last - inputs with shape (batch, spatial_dim1, spatial_dim2, spatial_dim3, channels)</option>
675 <option value="channels_first">channels_first - inputs with shape (batch, channels, spatial_dim1, spatial_dim2, spatial_dim3)</option>
676 </param>
677 <yield/> 439 <yield/>
678 </xml> 440 </xml>
679 441
680 <xml name="layer_AveragePooling1D"> 442 <xml name="layer_AveragePooling1D">
681 <param name="pool_size" type="integer" value="2" help="Integer, size of the max pooling windows."/> 443 <param name="pool_size" type="integer" value="2" help="Integer, size of the max pooling windows."/>
682 <param name="strides" type="integer" value="" help="Integer, or None. Factor by which to downscale. E.g. 2 will halve the input. If None, it will default to pool_size."/> 444 <param name="strides" type="integer" value="" help="Integer, or None. Factor by which to downscale. E.g. 2 will halve the input. If None, it will default to pool_size."/>
683 <param argument="padding" type="select" > 445 <expand macro="simple_kwargs" help="For example: padding='valid', data_format='channels_last'. Leave blank for default."/>
684 <option value="valid" selected="true">valid - no padding</option>
685 <option value="same">same - output has the same length as the original input</option>
686 <!--option value="causal">causal - causal (dilated) convolutions</option-->
687 </param>
688 <param argument="data_format" type="select" help="The ordering of the dimensions in the inputs.">
689 <option value="channels_last" selected="true">channels_last - inputs with shape (batch, steps, channels)</option>
690 <option value="channels_first">channels_first - inputs with shape (batch, channels, steps)</option>
691 </param>
692 <yield/> 446 <yield/>
693 </xml> 447 </xml>
694 448
695 <xml name="layer_AveragePooling2D"> 449 <xml name="layer_AveragePooling2D">
696 <param name="pool_size" type="text" value="(2, 2)" help="integer or tuple of 2 integers, factors by which to downscale (vertical, horizontal)"/> 450 <param name="pool_size" type="text" value="(2, 2)" help="integer or tuple of 2 integers, factors by which to downscale (vertical, horizontal)"/>
697 <param name="strides" type="text" value="" help=" Integer, tuple of 2 integers, or None. Strides values. If None, it will default to pool_size."/> 451 <param name="strides" type="text" value="" help=" Integer, tuple of 2 integers, or None. Strides values. If None, it will default to pool_size."/>
698 <param argument="padding" type="select" > 452 <expand macro="simple_kwargs" help="For example: padding='valid', data_format='channels_last'. Leave blank for default."/>
699 <option value="valid" selected="true">valid - no padding</option>
700 <option value="same">same - output has the same length as the original input</option>
701 <!--option value="causal">causal - causal (dilated) convolutions</option-->
702 </param>
703 <param argument="data_format" type="select" help="The ordering of the dimensions in the inputs.">
704 <option value="channels_last" selected="true">channels_last - inputs with shape (batch, height, width, channels)</option>
705 <option value="channels_first">channels_first - inputs with shape (batch, channels, height, width)</option>
706 </param>
707 <yield/> 453 <yield/>
708 </xml> 454 </xml>
709 455
710 <xml name="layer_AveragePooling3D"> 456 <xml name="layer_AveragePooling3D">
711 <param name="pool_size" type="text" value="(2, 2, 2)" help="tuple of 3 integers, factors by which to downscale (dim1, dim2, dim3). 457 <param name="pool_size" type="text" value="(2, 2, 2)" help="tuple of 3 integers, factors by which to downscale (dim1, dim2, dim3).
712 (2, 2, 2) will halve the size of the 3D input in each dimension."/> 458 (2, 2, 2) will halve the size of the 3D input in each dimension."/>
713 <param name="strides" type="text" value="" help="tuple of 3 integers, or None. If None, it will default to pool_size."/> 459 <param name="strides" type="text" value="" help="tuple of 3 integers, or None. If None, it will default to pool_size."/>
714 <param argument="padding" type="select" > 460 <expand macro="simple_kwargs" help="For example: padding='valid', data_format='channels_last'. Leave blank for default."/>
715 <option value="valid" selected="true">valid - no padding</option>
716 <option value="same">same - output has the same length as the original input</option>
717 <!--option value="causal">causal - causal (dilated) convolutions</option-->
718 </param>
719 <param argument="data_format" type="select" help="The ordering of the dimensions in the inputs.">
720 <option value="channels_last" selected="true">channels_last - inputs with shape (batch, spatial_dim1, spatial_dim2, spatial_dim3, channels)</option>
721 <option value="channels_first">channels_first - inputs with shape (batch, channels, spatial_dim1, spatial_dim2, spatial_dim3)</option>
722 </param>
723 <yield/> 461 <yield/>
724 </xml> 462 </xml>
725 463
726 <xml name="layer_GlobalMaxPooling1D"> 464 <xml name="layer_GlobalMaxPooling1D">
727 <param argument="data_format" type="select" help="The ordering of the dimensions in the inputs."> 465 <param argument="data_format" type="select" help="The ordering of the dimensions in the inputs.">
774 <!--Locally-connected Layers--> 512 <!--Locally-connected Layers-->
775 513
776 <xml name="layer_LocallyConnected1D"> 514 <xml name="layer_LocallyConnected1D">
777 <param argument="filters" type="integer" value="" min="0" help="the dimensionality of the output space (i.e. the number of output filters in the convolution)."/> 515 <param argument="filters" type="integer" value="" min="0" help="the dimensionality of the output space (i.e. the number of output filters in the convolution)."/>
778 <param argument="kernel_size" type="text" value="" help="An integer or tuple/list of a single integer, specifying the length of the 1D convolution window."/> 516 <param argument="kernel_size" type="text" value="" help="An integer or tuple/list of a single integer, specifying the length of the 1D convolution window."/>
779 <param argument="strides" type="text" value="1" help="An integer or tuple/list of a single integer, specifying the stride length of the convolution."/> 517 <expand macro="keras_activations"/>
780 <section name="layer_options" title="Layer Advanced Options" expanded="false"> 518 <expand macro="simple_kwargs" help="For example: strides=1, padding='valid', data_format=None, use_bias=True, kernel_initializer='glorot_uniform', bias_initializer='zeros', kernel_regularizer=None, bias_regularizer=None, activity_regularizer=None, kernel_constraint=None, bias_constraint=None. Leave blank for default."/>
781 <param argument="padding" type="select" help="">
782 <option value="valid" selected="true">valid - no padding</option>
783 </param>
784 <param argument="data_format" type="select" help="The ordering of the dimensions in the inputs.">
785 <option value="channels_last" selected="true">channels_last - inputs with shape (batch, steps, channels)</option>
786 <option value="channels_first">channels_first - inputs with shape (batch, channels, steps)</option>
787 </param>
788 <expand macro="keras_activations"/>
789 <param argument="use_bias" type="boolean" truevalue="booltrue" falsevalue="boolfalse" optional="true" checked="true"/>
790 <expand macro="keras_initializers" default_kernel="true"/>\
791 <expand macro="keras_initializers" argument="bias_initializer" default_bias="true"/>
792 <expand macro="keras_regularizers"/>
793 <expand macro="keras_regularizers" argument="bias_regularizer"/>
794 <expand macro="keras_regularizers" argument="activity_regularizer"/>
795 <expand macro="keras_constraints"/>
796 <expand macro="keras_constraints" argument="bias_constraint"/>
797 </section>
798 <yield/> 519 <yield/>
799 </xml> 520 </xml>
800 521
801 <xml name="layer_LocallyConnected2D"> 522 <xml name="layer_LocallyConnected2D">
802 <param argument="filters" type="integer" value="" min="0" help="the dimensionality of the output space (i.e. the number of output filters in the convolution)."/> 523 <param argument="filters" type="integer" value="" min="0" help="the dimensionality of the output space (i.e. the number of output filters in the convolution)."/>
803 <param argument="kernel_size" type="text" value="" help="An integer or tuple/list of 2 integers, specifying the height and width of the 2D convolution window."/> 524 <param argument="kernel_size" type="text" value="" help="An integer or tuple/list of 2 integers, specifying the height and width of the 2D convolution window."/>
804 <param argument="strides" type="text" value="(1, 1)" help="An integer or tuple/list of 2 integers, specifying the strides of the convolution along the height and width."/> 525 <expand macro="keras_activations"/>
805 <section name="layer_options" title="Layer Advanced Options" expanded="false"> 526 <expand macro="simple_kwargs" help="For example: strides=(1, 1), padding='valid', data_format=None, use_bias=True, kernel_initializer='glorot_uniform', bias_initializer='zeros', kernel_regularizer=None, bias_regularizer=None, activity_regularizer=None, kernel_constraint=None, bias_constraint=None. Leave blank for default."/>
806 <param argument="padding" type="select" help=""> 527 <yield/>
807 <option value="valid" selected="true">valid - no padding</option> 528 </xml>
808 <option value="same">same - output has the same length as the original input</option> 529
809 <!--option value="causal">causal - causal (dilated) convolutions</option--> 530 <!--Recurrent Layers-->
810 </param> 531
811 <param argument="data_format" type="select" help="The ordering of the dimensions in the inputs."> 532 <xml name="layer_SimpleRNN">
812 <option value="channels_last" selected="true">channels_last - inputs with shape (batch, height, width, channels)</option> 533 <param argument="units" type="integer" value="" min="1" help="Positive integer, dimensionality of the output space."/>
813 <option value="channels_first">channels_first - inputs with shape (batch, channels, height, width)</option> 534 <expand macro="simple_kwargs" help="For example: activation='tanh', use_bias=True, kernel_initializer='glorot_uniform', recurrent_initializer='orthogonal', bias_initializer='zeros', kernel_regularizer=None, recurrent_regularizer=None, bias_regularizer=None, activity_regularizer=None, kernel_constraint=None, recurrent_constraint=None, bias_constraint=None, dropout=0.0, recurrent_dropout=0.0, return_sequences=False, return_state=False, go_backwards=False, stateful=False, unroll=False. Leave blank for default."/>
814 </param> 535 <yield/>
815 <expand macro="keras_activations"/> 536 </xml>
816 <param argument="use_bias" type="boolean" truevalue="booltrue" falsevalue="boolfalse" optional="true" checked="true"/> 537
817 <expand macro="keras_initializers" default_kernel="true"/>\ 538 <xml name="layer_GRU">
818 <expand macro="keras_initializers" argument="bias_initializer" default_bias="true"/> 539 <param argument="units" type="integer" value="" min="1" help="Positive integer, dimensionality of the output space."/>
819 <expand macro="keras_regularizers"/> 540 <expand macro="simple_kwargs" help="For example: activation='tanh', recurrent_activation='hard_sigmoid', use_bias=True, kernel_initializer='glorot_uniform', recurrent_initializer='orthogonal', bias_initializer='zeros', kernel_regularizer=None, recurrent_regularizer=None, bias_regularizer=None, activity_regularizer=None, kernel_constraint=None, recurrent_constraint=None, bias_constraint=None, dropout=0.0, recurrent_dropout=0.0, implementation=1, return_sequences=False, return_state=False, go_backwards=False, stateful=False, unroll=False, reset_after=False. Leave blank for default."/>
820 <expand macro="keras_regularizers" argument="bias_regularizer"/> 541 <yield/>
821 <expand macro="keras_regularizers" argument="activity_regularizer"/> 542 </xml>
822 <expand macro="keras_constraints"/>
823 <expand macro="keras_constraints" argument="bias_constraint"/>
824 </section>
825 <yield/>
826 </xml>
827
828 <!--Recurrent Layers>
829
830 <xml name="layer_RNN">
831 <param argument="cell" >
832 <section name="layer_options" title="Layer Advanced Options" expanded="false">
833 <param argument="return_sequences" type="boolean" truevalue="booltrue" falsevalue="boolfalse" optional="true" checked="false" />
834 <param argument="return_state" type="boolean" truevalue="booltrue" falsevalue="boolfalse" optional="true" checked="false" />
835 <param argument="go_backwards" type="boolean" truevalue="booltrue" falsevalue="boolfalse" optional="true" checked="false" />
836 <param argument="stateful" type="boolean" truevalue="booltrue" falsevalue="boolfalse" optional="true" checked="false" />
837 <param argument="unroll" type="boolean" truevalue="booltrue" falsevalue="boolfalse" optional="true" checked="false" />
838 <param argument="input_dim" >
839 <param argument="input_length" >
840 </section>
841 <yield/>
842 </xml-->
843 543
844 <xml name="layer_LSTM"> 544 <xml name="layer_LSTM">
845 <param argument="units" type="integer" value="" min="1" help="Positive integer, dimensionality of the output space."/> 545 <param argument="units" type="integer" value="" min="1" help="Positive integer, dimensionality of the output space."/>
846 <section name="layer_options" title="Layer Advanced Options" expanded="false"> 546 <expand macro="simple_kwargs" help="For example: activation='tanh', recurrent_activation='hard_sigmoid', use_bias=True, kernel_initializer='glorot_uniform', recurrent_initializer='orthogonal', bias_initializer='zeros', unit_forget_bias=True, kernel_regularizer=None, recurrent_regularizer=None, bias_regularizer=None, activity_regularizer=None, kernel_constraint=None, recurrent_constraint=None, bias_constraint=None, dropout=0.0, recurrent_dropout=0.0, implementation=1, return_sequences=False, return_state=False, go_backwards=False, stateful=False, unroll=False. Leave blank for default."/>
847 <expand macro="keras_activations"/> 547 <yield/>
848 </section> 548 </xml>
849 <yield/> 549
850 </xml> 550 <xml name="layer_ConvLSTM2D">
551 <param argument="filters" type="integer" value="" min="0" help="the dimensionality of the output space (i.e. the number of output filters in the convolution)."/>
552 <param argument="kernel_size" type="text" value="" help="An integer or tuple/list of n integers, specifying the dimensions of the convolution window."/>
553 <expand macro="simple_kwargs" help="For example: strides=(1, 1), padding='valid', data_format=None, dilation_rate=(1, 1), activation='tanh', recurrent_activation='hard_sigmoid', use_bias=True, kernel_initializer='glorot_uniform', recurrent_initializer='orthogonal', bias_initializer='zeros', unit_forget_bias=True, kernel_regularizer=None, recurrent_regularizer=None, bias_regularizer=None, activity_regularizer=None, kernel_constraint=None, recurrent_constraint=None, bias_constraint=None, return_sequences=False, go_backwards=False, stateful=False, dropout=0.0, recurrent_dropout=0.0. Leave blank for default."/>
554 <yield/>
555 </xml>
556
557 <xml name="layer_ConvLSTM2DCell">
558 <param argument="filters" type="integer" value="" min="0" help="the dimensionality of the output space (i.e. the number of output filters in the convolution)."/>
559 <param argument="kernel_size" type="text" value="" help="An integer or tuple/list of n integers, specifying the dimensions of the convolution window."/>
560 <expand macro="simple_kwargs" help="For example: strides=(1, 1), padding='valid', data_format=None, dilation_rate=(1, 1), activation='tanh', recurrent_activation='hard_sigmoid', use_bias=True, kernel_initializer='glorot_uniform', recurrent_initializer='orthogonal', bias_initializer='zeros', unit_forget_bias=True, kernel_regularizer=None, recurrent_regularizer=None, bias_regularizer=None, kernel_constraint=None, recurrent_constraint=None, bias_constraint=None, dropout=0.0, recurrent_dropout=0.0. Leave blank for default."/>
561 <yield/>
562 </xml>
563
564 <xml name="layer_SimpleRNNCell">
565 <param argument="units" type="integer" value="" min="1" help="Positive integer, dimensionality of the output space."/>
566 <expand macro="simple_kwargs" help="For example: activation='tanh', use_bias=True, kernel_initializer='glorot_uniform', recurrent_initializer='orthogonal', bias_initializer='zeros', kernel_regularizer=None, recurrent_regularizer=None, bias_regularizer=None, kernel_constraint=None, recurrent_constraint=None, bias_constraint=None, dropout=0.0, recurrent_dropout=0.0. Leave blank for default."/>
567 <yield/>
568 </xml>
569
570 <xml name="layer_GRUCell">
571 <param argument="units" type="integer" value="" min="1" help="Positive integer, dimensionality of the output space."/>
572 <expand macro="simple_kwargs" help="For example: activation='tanh', recurrent_activation='hard_sigmoid', use_bias=True, kernel_initializer='glorot_uniform', recurrent_initializer='orthogonal', bias_initializer='zeros', kernel_regularizer=None, recurrent_regularizer=None, bias_regularizer=None, kernel_constraint=None, recurrent_constraint=None, bias_constraint=None, dropout=0.0, recurrent_dropout=0.0, implementation=1, reset_after=False. Leave blank for default."/>
573 <yield/>
574 </xml>
575
576 <xml name="layer_LSTMCell">
577 <param argument="units" type="integer" value="" min="1" help="Positive integer, dimensionality of the output space."/>
578 <expand macro="simple_kwargs" help="For example: activation='tanh', recurrent_activation='hard_sigmoid', use_bias=True, kernel_initializer='glorot_uniform', recurrent_initializer='orthogonal', bias_initializer='zeros', unit_forget_bias=True, kernel_regularizer=None, recurrent_regularizer=None, bias_regularizer=None, kernel_constraint=None, recurrent_constraint=None, bias_constraint=None, dropout=0.0, recurrent_dropout=0.0, implementation=1. Leave blank for default."/>
579 <yield/>
580 </xml>
581
582 <xml name="layer_CuDNNGRU">
583 <param argument="units" type="integer" value="" min="1" help="Positive integer, dimensionality of the output space."/>
584 <expand macro="simple_kwargs" help="For example: kernel_initializer='glorot_uniform', recurrent_initializer='orthogonal', bias_initializer='zeros', kernel_regularizer=None, recurrent_regularizer=None, bias_regularizer=None, activity_regularizer=None, kernel_constraint=None, recurrent_constraint=None, bias_constraint=None, return_sequences=False, return_state=False, stateful=False. Leave blank for default."/>
585 <yield/>
586 </xml>
587
588 <xml name="layer_CuDNNLSTM">
589 <param argument="units" type="integer" value="" min="1" help="Positive integer, dimensionality of the output space."/>
590 <expand macro="simple_kwargs" help="For example: kernel_initializer='glorot_uniform', recurrent_initializer='orthogonal', bias_initializer='zeros', unit_forget_bias=True, kernel_regularizer=None, recurrent_regularizer=None, bias_regularizer=None, activity_regularizer=None, kernel_constraint=None, recurrent_constraint=None, bias_constraint=None, return_sequences=False, return_state=False, stateful=False. Leave blank for default."/>
591 <yield/>
592 </xml>
593
851 594
852 <!--Embedding Layers--> 595 <!--Embedding Layers-->
853 596
854 <xml name="layer_Embedding"> 597 <xml name="layer_Embedding">
855 <param argument="input_dim" type="integer" value="" min="0" help="int > 0. Size of the vocabulary, i.e. maximum integer index + 1."/> 598 <param argument="input_dim" type="integer" value="" min="0" help="int > 0. Size of the vocabulary, i.e. maximum integer index + 1."/>
856 <param argument="output_dim" type="integer" value="" min="0" help="int >= 0. Dimension of the dense embedding."/> 599 <param argument="output_dim" type="integer" value="" min="0" help="int >= 0. Dimension of the dense embedding."/>
857 <section name="layer_options" title="Layer Advanced Options" expanded="false"> 600 <expand macro="simple_kwargs" help="For example: embeddings_initializer='uniform', embeddings_regularizer=None, activity_regularizer=None, embeddings_constraint=None, mask_zero=False, input_length=None. Leave blank for default."/>
858 <expand macro="keras_initializers" argument="embeddings_initializer" default_embeddings="true"/>
859 <expand macro="keras_regularizers" argument="embeddings_regularizer"/>
860 <expand macro="keras_regularizers" argument="activity_regularizer"/>
861 <expand macro="keras_constraints" argument="embeddings_constraint"/>
862 <param argument="mask_zero" type="boolean" truevalue="booltrue" falsevalue="boolfalse" optional="true" checked="false"/>
863 <param argument="input_length" type="integer" value="" optional="true" min="0" help="Length of input sequences. Required if connecting Flatten then Dense layers upstream"/>
864 </section>
865 <yield/> 601 <yield/>
866 </xml> 602 </xml>
867 603
868 <!--Merge Layers--> 604 <!--Merge Layers-->
869 605
899 <param argument="alpha" type="float" value="0.3" min="0." help="float >= 0. Negative slope coefficient."/> 635 <param argument="alpha" type="float" value="0.3" min="0." help="float >= 0. Negative slope coefficient."/>
900 <yield/> 636 <yield/>
901 </xml> 637 </xml>
902 638
903 <xml name="layer_PReLU"> 639 <xml name="layer_PReLU">
904 <expand macro="keras_initializers" argument="alpha_initializer" default_bias="true"/> 640 <expand macro="keras_initializers" argument="alpha_initializer" default_zeros="true"/>
905 <expand macro="keras_regularizers" argument="alpha_regularizer"/> 641 <expand macro="keras_regularizers" argument="alpha_regularizer"/>
906 <expand macro="keras_constraints" argument="alpha_constraint"/> 642 <expand macro="keras_constraints" argument="alpha_constraint"/>
907 <param argument="shared_axes" type="text" value="" help="the axes along which to share learnable parameters for the activation function. E.g. [1, 2]"> 643 <param argument="shared_axes" type="text" value="" help="the axes along which to share learnable parameters for the activation function. E.g. [1, 2]">
908 <sanitizer> 644 <sanitizer>
909 <valid initial="default"> 645 <valid initial="default">
937 <yield/> 673 <yield/>
938 </xml> 674 </xml>
939 675
940 <!--Normalization Layers--> 676 <!--Normalization Layers-->
941 677
678 <xml name="layer_BatchNormalization">
679 <expand macro="simple_kwargs" help="For example: axis=-1, momentum=0.99, epsilon=0.001, center=True, scale=True, beta_initializer='zeros', gamma_initializer='ones', moving_mean_initializer='zeros', moving_variance_initializer='ones', beta_regularizer=None, gamma_regularizer=None, beta_constraint=None, gamma_constraint=None. Leave blank for default."/>
680 </xml>
681
942 <!--Noise layers--> 682 <!--Noise layers-->
683
684 <xml name="layer_GaussianNoise">
685 <param argument="stddev" type="float" value="" help="float, standard deviation of the noise distribution."/>
686 </xml>
687
688 <xml name="layer_GaussianDropout">
689 <param argument="rate" type="float" value="" help="drop probability, (as with `Dropout`). The multiplicative noise will have standard deviation `sqrt(rate / (1 - rate))`"/>
690 </xml>
691
692 <xml name="layer_AlphaDropout">
693 <expand macro="layer_Dropout"/>
694 </xml>
943 695
944 <xml name="inbound_nodes_index"> 696 <xml name="inbound_nodes_index">
945 <param name="inbound_nodes" type="integer" value="" label="Type the index number of input layer" 697 <param name="inbound_nodes" type="integer" value="" label="Type the index number of input layer"
946 help="Find the index number at the left top corner of layer configuration block"/> 698 help="Find the index number at the left top corner of layer configuration block"/>
947 </xml> 699 </xml>
948 700
701 <!--Simple key words text parameters, conbined to reduce UI latency-->
702
703 <xml name="simple_kwargs" token_help="Leave blank for default.">
704 <param argument="kwargs" type="text" value="" label="Type in key words arguments if different from the default" help="@HELP@"/>
705 </xml>
949 706
950 <!-- Keras CallBacks --> 707 <!-- Keras CallBacks -->
951 708
952 <xml name="keras_callbacks"> 709 <xml name="keras_callbacks">
953 <repeat name="callbacks" min="1" max="5" title="callback"> 710 <repeat name="callbacks" min="1" max="5" title="callback">