comparison keras_macros.xml @ 25:b878e4cdd63a draft

planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit 9981e25b00de29ed881b2229a173a8c812ded9bb
author bgruening
date Wed, 09 Aug 2023 12:24:57 +0000
parents 4ed102b922cb
children
comparison
equal deleted inserted replaced
24:b7c3e9a3b954 25:b878e4cdd63a
1 <macros> 1 <macros>
2 <token name="@KERAS_VERSION@">0.5.0</token> 2 <token name="@KERAS_VERSION@">2.10.0</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>
8 </xml> 8 </xml>
9 9
10 <xml name="keras_optimizer_common" token_lr="0.01"> 10 <xml name="keras_optimizer_common" token_learning_rate="0.01">
11 <section name="optimizer_options" title="Optimizer Advanced Options" expanded="false"> 11 <section name="optimizer_options" title="Optimizer Advanced Options" expanded="false">
12 <param argument="lr" type="float" value="@LR@" optional="true" label="Learning rate" help="float >= 0"/> 12 <param argument="learning_rate" type="float" value="@LEARNING_RATE@" optional="true" label="Learning rate" help="float >= 0" />
13 <yield/> 13 <yield />
14 <!--param argument="clipnorm" type="float" value="" optional="true" label="clipnorm" help="float >= 0"/--> 14 <!--param argument="clipnorm" type="float" value="" optional="true" label="clipnorm" help="float >= 0"/-->
15 <!--param argument="clipvalue" type="float" value="" optional="true" label="clipvalue" help="float >= 0"/--> 15 <!--param argument="clipvalue" type="float" value="" optional="true" label="clipvalue" help="float >= 0"/-->
16 </section> 16 </section>
17 </xml> 17 </xml>
18 18
19 <xml name="keras_optimizer_common_more" token_lr="0.001"> 19 <xml name="keras_optimizer_common_more" token_learning_rate="0.001">
20 <expand macro="keras_optimizer_common" lr="@LR@"> 20 <expand macro="keras_optimizer_common" learning_rate="@LEARNING_RATE@">
21 <!--param argument="epsilon" type="float" value="" label="epsilon" optional="true" help="Fuzz factor. If `None`, defaults to `K.epsilon()`"/>--> 21 <param argument="beta_1" type="float" value="0.9" optional="true" label="beta_1" help="Float. The exponential decay rate for the 1st moment estimates." />
22 <param argument="decay" type="float" value="0" optional="true" label="decay" help="Learning rate decay over each update."/> 22 <param argument="beta_2" type="float" value="0.999" optional="true" label="beta_2" help="Float. The exponential decay rate for the exponentially weighted infinity norm." />
23 <yield/> 23 <param argument="epsilon" type="float" value="1e-7" label="epsilon" optional="true" help="A small constant for numerical stability." />
24 <yield />
24 </expand> 25 </expand>
25 </xml> 26 </xml>
26 27
27 <xml name="keras_activations" token_none="true" token_tanh="false"> 28 <xml name="keras_activations" token_none="true" token_tanh="false">
28 <param argument="activation" type="select" label="Activation function"> 29 <param argument="activation" type="select" label="Activation function">
59 </param> 60 </param>
60 </xml> 61 </xml>
61 62
62 <xml name="keras_regularizers" token_argument="kernel_regularizer"> 63 <xml name="keras_regularizers" token_argument="kernel_regularizer">
63 <param argument="@ARGUMENT@" type="text" value="(0. , 0.)" optional="true" label="@ARGUMENT@" 64 <param argument="@ARGUMENT@" type="text" value="(0. , 0.)" optional="true" label="@ARGUMENT@"
64 help="(l1, l2). l1/l2: float; L1/l2 regularization factor. (0., 0.) is equivalent to `None`"/> 65 help="(l1, l2). l1/l2: float; L1/l2 regularization factor. (0., 0.) is equivalent to `None`" />
65 </xml> 66 </xml>
66 67
67 <xml name="keras_constraints_options"> 68 <xml name="keras_constraints_options">
68 <section name="constraint_options" title="Constraint Advanced Options" expanded="false"> 69 <section name="constraint_options" title="Constraint Advanced Options" expanded="false">
69 <yield/> 70 <yield />
70 <param argument="axis" type="text" value="0" help="Integer or list of integers. axis along which to calculate weight norms"> 71 <param argument="axis" type="text" value="0" help="Integer or list of integers. axis along which to calculate weight norms">
71 <sanitizer> 72 <sanitizer>
72 <valid initial="default"> 73 <valid initial="default">
73 <add value="["/> 74 <add value="[" />
74 <add value="]"/> 75 <add value="]" />
75 </valid> 76 </valid>
76 </sanitizer> 77 </sanitizer>
77 </param> 78 </param>
78 </section> 79 </section>
79 </xml> 80 </xml>
85 <option value="MaxNorm">maxnorm / max_norm / MaxNorm</option> 86 <option value="MaxNorm">maxnorm / max_norm / MaxNorm</option>
86 <option value="NonNeg">nonneg / non_neg / NonNeg</option> 87 <option value="NonNeg">nonneg / non_neg / NonNeg</option>
87 <option value="UnitNorm">unitnorm / unit_norm / UnitNorm</option> 88 <option value="UnitNorm">unitnorm / unit_norm / UnitNorm</option>
88 <option value="MinMaxNorm">min_max_norm / MinMaxNorm</option> 89 <option value="MinMaxNorm">min_max_norm / MinMaxNorm</option>
89 </param> 90 </param>
90 <when value="None"/> 91 <when value="None" />
91 <when value="MaxNorm"> 92 <when value="MaxNorm">
92 <expand macro="keras_constraints_options"> 93 <expand macro="keras_constraints_options">
93 <param argument="max_value" type="float" value="2" help="the maximum norm for the incoming weights."/> 94 <param argument="max_value" type="float" value="2" help="the maximum norm for the incoming weights." />
94 </expand> 95 </expand>
95 </when> 96 </when>
96 <when value="NonNeg"> 97 <when value="NonNeg">
97 </when> 98 </when>
98 <when value="UnitNorm"> 99 <when value="UnitNorm">
99 <expand macro="keras_constraints_options"/> 100 <expand macro="keras_constraints_options" />
100 </when> 101 </when>
101 <when value="MinMaxNorm"> 102 <when value="MinMaxNorm">
102 <expand macro="keras_constraints_options"> 103 <expand macro="keras_constraints_options">
103 <param argument="min_value" type="float" value="0." help="the minimum norm for the incoming weights."/> 104 <param argument="min_value" type="float" value="0." help="the minimum norm for the incoming weights." />
104 <param argument="max_value" type="float" value="1." help="the maximum norm for the incoming weights."/> 105 <param argument="max_value" type="float" value="1." help="the maximum norm for the incoming weights." />
105 <param argument="max_value" type="float" value="1." help="rate for enforcing the constraint."/> 106 <param argument="rate_max_value" type="float" value="1." help="rate for enforcing the constraint." />
106 </expand> 107 </expand>
107 </when> 108 </when>
108 </conditional> 109 </conditional>
109 </xml> 110 </xml>
110 111
212 </xml> 213 </xml>
213 214
214 <!--Core Layers--> 215 <!--Core Layers-->
215 216
216 <xml name="layer_Dense"> 217 <xml name="layer_Dense">
217 <param argument="units" type="integer" value="" optional="false" label="units" help="Positive integer, dimensionality of the output space."/> 218 <param argument="units" type="integer" value="" optional="false" label="units" help="Positive integer, dimensionality of the output space." />
218 <expand macro="keras_activations"/> 219 <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."/> 220 <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." />
220 <yield/> 221 <yield />
221 </xml> 222 </xml>
222 223
223 <xml name="layer_Dropout"> 224 <xml name="layer_Dropout">
224 <param argument="rate" type="float" value="" min="0." max="1.0" help="Fraction of the input units to drop."/> 225 <param argument="rate" type="float" value="" min="0." max="1.0" help="Fraction of the input units to drop." />
225 <expand macro="simple_kwargs" help="For example: noise_shape=None, seed=None. Leave blank for default."/> 226 <expand macro="simple_kwargs" help="For example: noise_shape=None, seed=None. Leave blank for default." />
226 <yield/> 227 <yield />
227 </xml> 228 </xml>
228 229
229 <xml name="layer_Flatten"> 230 <xml name="layer_Flatten">
230 <param argument="data_format" type="select" help="The ordering of the dimensions in the inputs."> 231 <param argument="data_format" type="select" help="The ordering of the dimensions in the inputs.">
231 <option value="channels_last">channels_last</option> 232 <option value="channels_last">channels_last</option>
232 <option value="channels_first">channels_first</option> 233 <option value="channels_first">channels_first</option>
233 </param> 234 </param>
234 <yield/> 235 <yield />
235 </xml> 236 </xml>
236 237
237 <xml name="layer_Input"> 238 <xml name="layer_Input">
238 <param argument="shape" type="text" value="" help="A shape tuple (integer), not including the batch size.For instance, `shape=(32,)`"/> 239 <param argument="shape" type="text" value="" help="A shape tuple (integer), not including the batch size.For instance, `shape=(32,)`" />
239 <!--param argument="batch_shape" type="text" value="" optional="true" help="A shape tuple (integer), including the batch size.For instance, `batch_shape=(10, 32)`"/--> 240 <!--param argument="batch_shape" type="text" value="" optional="true" help="A shape tuple (integer), including the batch size.For instance, `batch_shape=(10, 32)`"/-->
240 <param argument="name" type="text" value="" optional="true" help="An optional string name for the layer. Unique. autogenerated if it isn't provided."/> 241 <param argument="name" type="text" value="" optional="true" help="An optional string name for the layer. Unique. autogenerated if it isn't provided." />
241 <param argument="dtype" type="select" help="The data type expected by the input"> 242 <param argument="dtype" type="select" help="The data type expected by the input">
242 <option value="float32" selected="true">float32</option> 243 <option value="float32" selected="true">float32</option>
243 <option value="float64">float64</option> 244 <option value="float64">float64</option>
244 <option value="int32">int32</option> 245 <option value="int32">int32</option>
245 <option value="int64">int64</option> 246 <option value="int64">int64</option>
246 <!--TODO add more DTYPEs--> 247 <!--TODO add more DTYPEs-->
247 </param> 248 </param>
248 <param argument="sparse" type="boolean" truevalue="booltrue" falsevalue="boolfalse" optional="true" checked="false" /> 249 <param argument="sparse" type="boolean" truevalue="booltrue" falsevalue="boolfalse" optional="true" checked="false" />
249 <!--param argument="tensor" type="data" format="zip" help="Optional existing tensor to wrap into the `Input` layer."/ --> 250 <!--param argument="tensor" type="data" format="zip" help="Optional existing tensor to wrap into the `Input` layer."/ -->
250 <yield/> 251 <yield />
251 </xml> 252 </xml>
252 253
253 <xml name="layer_Reshape"> 254 <xml name="layer_Reshape">
254 <param argument="target_shape" type="text" value="" help="Tuple of integers. Does not include the batch axis."/> 255 <param argument="target_shape" type="text" value="" help="Tuple of integers. Does not include the batch axis." />
255 <yield/> 256 <yield />
256 </xml> 257 </xml>
257 258
258 <xml name="layer_Permute"> 259 <xml name="layer_Permute">
259 <param argument="dims" type="text" value="" help="Tuple of integers. Permutation pattern, does not include the samples dimension. 260 <param argument="dims" type="text" value="" help="Tuple of integers. Permutation pattern, does not include the samples dimension.
260 Indexing starts at 1. For instance, (2, 1) permutes the first and second dimension of the input."/> 261 Indexing starts at 1. For instance, (2, 1) permutes the first and second dimension of the input." />
261 <yield/> 262 <yield />
262 </xml> 263 </xml>
263 264
264 <xml name="layer_RepeatVector"> 265 <xml name="layer_RepeatVector">
265 <param argument="n" type="integer" value="" help="repetition factor"/> 266 <param argument="n" type="integer" value="" help="repetition factor" />
266 </xml> 267 </xml>
267 268
268 <xml name="layer_Lambda"> 269 <xml name="layer_Lambda">
269 <param argument="function" type="text" value="lambda x: " help="The function to be evaluated. Only lambda function is supported!"/> 270 <param argument="function" type="text" value="lambda x: " help="The function to be evaluated. Only lambda function is supported!" />
270 <yield/> 271 <yield />
271 </xml> 272 </xml>
272 273
273 <xml name="layer_ActivityRegularization"> 274 <xml name="layer_ActivityRegularization">
274 <param argument="l1" type="float" value="0." min="0." help="L1 regularization factor (positive float)."/> 275 <param argument="l1" type="float" value="0." min="0." help="L1 regularization factor (positive float)." />
275 <param argument="l2" type="float" value="0." min="0." help="L2 regularization factor (positive float)."/> 276 <param argument="l2" type="float" value="0." min="0." help="L2 regularization factor (positive float)." />
276 <yield/> 277 <yield />
277 </xml> 278 </xml>
278 279
279 <xml name="layer_Masking"> 280 <xml name="layer_Masking">
280 <param argument="mask_value" type="float" value="0." help="Masks a sequence by using a mask value to skip timesteps."/> 281 <param argument="mask_value" type="float" value="0." help="Masks a sequence by using a mask value to skip timesteps." />
281 <yield/> 282 <yield />
282 </xml> 283 </xml>
283 284
284 <xml name="layer_SpatialDropout1D"> 285 <xml name="layer_SpatialDropout1D">
285 <param argument="rate" type="float" value="" min="0." max="1." help="Fraction of the input units to drop."/> 286 <param argument="rate" type="float" value="" min="0." max="1." help="Fraction of the input units to drop." />
286 <yield/> 287 <yield />
287 </xml> 288 </xml>
288 289
289 <xml name="layer_SpatialDropout2D"> 290 <xml name="layer_SpatialDropout2D">
290 <param argument="rate" type="float" value="" min="0." max="1." help="Fraction of the input units to drop."/> 291 <param argument="rate" type="float" value="" min="0." max="1." help="Fraction of the input units to drop." />
291 <expand macro="simple_kwargs" help="For example: data_format=None. Leave blank for default."/> 292 <expand macro="simple_kwargs" help="For example: data_format=None. Leave blank for default." />
292 <yield/> 293 <yield />
293 </xml> 294 </xml>
294 295
295 <xml name="layer_SpatialDropout3D"> 296 <xml name="layer_SpatialDropout3D">
296 <param argument="rate" type="float" value="" min="0." max="1." help="Fraction of the input units to drop."/> 297 <param argument="rate" type="float" value="" min="0." max="1." help="Fraction of the input units to drop." />
297 <expand macro="simple_kwargs" help="For example: data_format=None. Leave blank for default."/> 298 <expand macro="simple_kwargs" help="For example: data_format=None. Leave blank for default." />
298 <yield/> 299 <yield />
299 </xml> 300 </xml>
300 301
301 <!--Convolutional Layers--> 302 <!--Convolutional Layers-->
302 303
303 <xml name="layer_Conv1D"> 304 <xml name="layer_Conv1D">
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)."/> 305 <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)." />
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."/> 306 <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." />
306 <expand macro="keras_activations"/> 307 <expand macro="keras_activations" />
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."/> 308 <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." />
308 <yield/> 309 <yield />
309 </xml> 310 </xml>
310 311
311 <xml name="layer_Conv2D"> 312 <xml name="layer_Conv2D">
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)."/> 313 <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)." />
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."/> 314 <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." />
314 <expand macro="keras_activations"/> 315 <expand macro="keras_activations" />
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."/> 316 <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." />
316 <yield/> 317 <yield />
317 </xml> 318 </xml>
318 319
319 <xml name="layer_SeparableConv1D"> 320 <xml name="layer_SeparableConv1D">
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)."/> 321 <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)." />
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."/> 322 <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." />
322 <expand macro="keras_activations"/> 323 <expand macro="keras_activations" />
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."/> 324 <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." />
324 <yield/> 325 <yield />
325 </xml> 326 </xml>
326 327
327 <xml name="layer_SeparableConv2D"> 328 <xml name="layer_SeparableConv2D">
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)."/> 329 <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)." />
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."/> 330 <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." />
330 <expand macro="keras_activations"/> 331 <expand macro="keras_activations" />
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."/> 332 <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." />
332 <yield/> 333 <yield />
333 </xml> 334 </xml>
334 335
335 <xml name="layer_DepthwiseConv2D"> 336 <xml name="layer_DepthwiseConv2D">
336 337
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."/> 338 <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." />
338 <expand macro="keras_activations"/> 339 <expand macro="keras_activations" />
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."/> 340 <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." />
340 <yield/> 341 <yield />
341 </xml> 342 </xml>
342 343
343 <xml name="layer_Conv2DTranspose"> 344 <xml name="layer_Conv2DTranspose">
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)."/> 345 <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)." />
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."/> 346 <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." />
346 <expand macro="keras_activations"/> 347 <expand macro="keras_activations" />
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."/> 348 <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." />
348 <yield/> 349 <yield />
349 </xml> 350 </xml>
350 351
351 <xml name="layer_Conv3D"> 352 <xml name="layer_Conv3D">
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)."/> 353 <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)." />
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."/> 354 <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." />
354 <expand macro="keras_activations"/> 355 <expand macro="keras_activations" />
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."/> 356 <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." />
356 <yield/> 357 <yield />
357 </xml> 358 </xml>
358 359
359 <xml name="layer_Conv3DTranspose"> 360 <xml name="layer_Conv3DTranspose">
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)."/> 361 <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)." />
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."/> 362 <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." />
362 <expand macro="keras_activations"/> 363 <expand macro="keras_activations" />
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."/> 364 <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." />
364 <yield/> 365 <yield />
365 </xml> 366 </xml>
366 367
367 <xml name="layer_Cropping1D"> 368 <xml name="layer_Cropping1D">
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."/> 369 <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." />
369 <yield/> 370 <yield />
370 </xml> 371 </xml>
371 372
372 <xml name="layer_Cropping2D"> 373 <xml name="layer_Cropping2D">
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."/> 374 <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." />
374 <expand macro="simple_kwargs" help="For example: data_format=None. Leave blank for default."/> 375 <expand macro="simple_kwargs" help="For example: data_format=None. Leave blank for default." />
375 <yield/> 376 <yield />
376 </xml> 377 </xml>
377 378
378 <xml name="layer_Cropping3D"> 379 <xml name="layer_Cropping3D">
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."/> 380 <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." />
380 <expand macro="simple_kwargs" help="For example: data_format=None. Leave blank for default."/> 381 <expand macro="simple_kwargs" help="For example: data_format=None. Leave blank for default." />
381 <yield/> 382 <yield />
382 </xml> 383 </xml>
383 384
384 <xml name="layer_UpSampling1D"> 385 <xml name="layer_UpSampling1D">
385 <param argument="size" type="integer" value="2" min="0" help="integer. Upsampling factor."/> 386 <param argument="size" type="integer" value="2" min="0" help="integer. Upsampling factor." />
386 <yield/> 387 <yield />
387 </xml> 388 </xml>
388 389
389 <xml name="layer_UpSampling2D"> 390 <xml name="layer_UpSampling2D">
390 <param argument="size" type="text" value="(2, 2)" help="int, or tuple of 2 integers. The upsampling factors for rows and columns."/> 391 <param argument="size" type="text" value="(2, 2)" help="int, or tuple of 2 integers. The upsampling factors for rows and columns." />
391 <expand macro="simple_kwargs" help="For example: data_format=None, interpolation='nearest'. Leave blank for default."/> 392 <expand macro="simple_kwargs" help="For example: data_format=None, interpolation='nearest'. Leave blank for default." />
392 <yield/> 393 <yield />
393 </xml> 394 </xml>
394 395
395 <xml name="layer_UpSampling3D"> 396 <xml name="layer_UpSampling3D">
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."/> 397 <param argument="size" type="text" value="(2, 2, 2)" help="int, or tuple of 3 integers. The upsampling factors for dim1, dim2 and dim3." />
397 <expand macro="simple_kwargs" help="For example: data_format=None, interpolation='nearest'. Leave blank for default."/> 398 <expand macro="simple_kwargs" help="For example: data_format=None, interpolation='nearest'. Leave blank for default." />
398 <yield/> 399 <yield />
399 </xml> 400 </xml>
400 401
401 <xml name="layer_ZeroPadding1D"> 402 <xml name="layer_ZeroPadding1D">
402 <param argument="padding" type="text" value="1" help="int, or tuple of int (length 2)"/> 403 <param argument="padding" type="text" value="1" help="int, or tuple of int (length 2)" />
403 <yield/> 404 <yield />
404 </xml> 405 </xml>
405 406
406 <xml name="layer_ZeroPadding2D"> 407 <xml name="layer_ZeroPadding2D">
407 <param argument="padding" type="text" value="(1, 1)" help="int, or tuple of 2 ints, or tuple of 2 tuples of 2 ints."/> 408 <param argument="padding" type="text" value="(1, 1)" help="int, or tuple of 2 ints, or tuple of 2 tuples of 2 ints." />
408 <expand macro="simple_kwargs" help="For example: data_format=None. Leave blank for default."/> 409 <expand macro="simple_kwargs" help="For example: data_format=None. Leave blank for default." />
409 <yield/> 410 <yield />
410 </xml> 411 </xml>
411 412
412 <xml name="layer_ZeroPadding3D"> 413 <xml name="layer_ZeroPadding3D">
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."/> 414 <param argument="padding" type="text" value="(1, 1, 1)" help="int, or tuple of 3 ints, or tuple of 3 tuples of 2 ints." />
414 <expand macro="simple_kwargs" help="For example: data_format=None. Leave blank for default."/> 415 <expand macro="simple_kwargs" help="For example: data_format=None. Leave blank for default." />
415 <yield/> 416 <yield />
416 </xml> 417 </xml>
417 418
418 <!--Pooling Layers--> 419 <!--Pooling Layers-->
419 420
420 <xml name="layer_MaxPooling1D"> 421 <xml name="layer_MaxPooling1D">
421 <param name="pool_size" type="integer" value="2" help="Integer, size of the max pooling windows."/> 422 <param name="pool_size" type="integer" value="2" help="Integer, size of the max pooling windows." />
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."/> 423 <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." />
423 <expand macro="simple_kwargs" help="For example: padding='valid', data_format='channels_last'. Leave blank for default."/> 424 <expand macro="simple_kwargs" help="For example: padding='valid', data_format='channels_last'. Leave blank for default." />
424 <yield/> 425 <yield />
425 </xml> 426 </xml>
426 427
427 <xml name="layer_MaxPooling2D"> 428 <xml name="layer_MaxPooling2D">
428 <param name="pool_size" type="text" value="(2, 2)" help="integer or tuple of 2 integers, factors by which to downscale (vertical, horizontal)"/> 429 <param name="pool_size" type="text" value="(2, 2)" help="integer or tuple of 2 integers, factors by which to downscale (vertical, horizontal)" />
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."/> 430 <param name="strides" type="text" value="" help="Integer, tuple of 2 integers, or None. Strides values. If None, it will default to pool_size." />
430 <expand macro="simple_kwargs" help="For example: padding='valid', data_format='channels_last'. Leave blank for default."/> 431 <expand macro="simple_kwargs" help="For example: padding='valid', data_format='channels_last'. Leave blank for default." />
431 <yield/> 432 <yield />
432 </xml> 433 </xml>
433 434
434 <xml name="layer_MaxPooling3D"> 435 <xml name="layer_MaxPooling3D">
435 <param name="pool_size" type="text" value="(2, 2, 2)" help="tuple of 3 integers, factors by which to downscale (dim1, dim2, dim3). 436 <param name="pool_size" type="text" value="(2, 2, 2)" help="tuple of 3 integers, factors by which to downscale (dim1, dim2, dim3).
436 (2, 2, 2) will halve the size of the 3D input in each dimension."/> 437 (2, 2, 2) will halve the size of the 3D input in each dimension." />
437 <param name="strides" type="text" value="" help="tuple of 3 integers, or None. If None, it will default to pool_size."/> 438 <param name="strides" type="text" value="" help="tuple of 3 integers, or None. If None, it will default to pool_size." />
438 <expand macro="simple_kwargs" help="For example: padding='valid', data_format='channels_last'. Leave blank for default."/> 439 <expand macro="simple_kwargs" help="For example: padding='valid', data_format='channels_last'. Leave blank for default." />
439 <yield/> 440 <yield />
440 </xml> 441 </xml>
441 442
442 <xml name="layer_AveragePooling1D"> 443 <xml name="layer_AveragePooling1D">
443 <param name="pool_size" type="integer" value="2" help="Integer, size of the max pooling windows."/> 444 <param name="pool_size" type="integer" value="2" help="Integer, size of the max pooling windows." />
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."/> 445 <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." />
445 <expand macro="simple_kwargs" help="For example: padding='valid', data_format='channels_last'. Leave blank for default."/> 446 <expand macro="simple_kwargs" help="For example: padding='valid', data_format='channels_last'. Leave blank for default." />
446 <yield/> 447 <yield />
447 </xml> 448 </xml>
448 449
449 <xml name="layer_AveragePooling2D"> 450 <xml name="layer_AveragePooling2D">
450 <param name="pool_size" type="text" value="(2, 2)" help="integer or tuple of 2 integers, factors by which to downscale (vertical, horizontal)"/> 451 <param name="pool_size" type="text" value="(2, 2)" help="integer or tuple of 2 integers, factors by which to downscale (vertical, horizontal)" />
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."/> 452 <param name="strides" type="text" value="" help=" Integer, tuple of 2 integers, or None. Strides values. If None, it will default to pool_size." />
452 <expand macro="simple_kwargs" help="For example: padding='valid', data_format='channels_last'. Leave blank for default."/> 453 <expand macro="simple_kwargs" help="For example: padding='valid', data_format='channels_last'. Leave blank for default." />
453 <yield/> 454 <yield />
454 </xml> 455 </xml>
455 456
456 <xml name="layer_AveragePooling3D"> 457 <xml name="layer_AveragePooling3D">
457 <param name="pool_size" type="text" value="(2, 2, 2)" help="tuple of 3 integers, factors by which to downscale (dim1, dim2, dim3). 458 <param name="pool_size" type="text" value="(2, 2, 2)" help="tuple of 3 integers, factors by which to downscale (dim1, dim2, dim3).
458 (2, 2, 2) will halve the size of the 3D input in each dimension."/> 459 (2, 2, 2) will halve the size of the 3D input in each dimension." />
459 <param name="strides" type="text" value="" help="tuple of 3 integers, or None. If None, it will default to pool_size."/> 460 <param name="strides" type="text" value="" help="tuple of 3 integers, or None. If None, it will default to pool_size." />
460 <expand macro="simple_kwargs" help="For example: padding='valid', data_format='channels_last'. Leave blank for default."/> 461 <expand macro="simple_kwargs" help="For example: padding='valid', data_format='channels_last'. Leave blank for default." />
461 <yield/> 462 <yield />
462 </xml> 463 </xml>
463 464
464 <xml name="layer_GlobalMaxPooling1D"> 465 <xml name="layer_GlobalMaxPooling1D">
465 <param argument="data_format" type="select" help="The ordering of the dimensions in the inputs."> 466 <param argument="data_format" type="select" help="The ordering of the dimensions in the inputs.">
466 <option value="channels_last" selected="true">channels_last - inputs with shape (batch, steps, channels)</option> 467 <option value="channels_last" selected="true">channels_last - inputs with shape (batch, steps, channels)</option>
467 <option value="channels_first">channels_first - inputs with shape (batch, channels, steps)</option> 468 <option value="channels_first">channels_first - inputs with shape (batch, channels, steps)</option>
468 </param> 469 </param>
469 <yield/> 470 <yield />
470 </xml> 471 </xml>
471 472
472 <xml name="layer_GlobalMaxPooling2D"> 473 <xml name="layer_GlobalMaxPooling2D">
473 <param argument="data_format" type="select" help="The ordering of the dimensions in the inputs."> 474 <param argument="data_format" type="select" help="The ordering of the dimensions in the inputs.">
474 <option value="channels_last" selected="true">channels_last - inputs with shape (batch, height, width, channels)</option> 475 <option value="channels_last" selected="true">channels_last - inputs with shape (batch, height, width, channels)</option>
475 <option value="channels_first">channels_first - inputs with shape (batch, channels, height, width)</option> 476 <option value="channels_first">channels_first - inputs with shape (batch, channels, height, width)</option>
476 </param> 477 </param>
477 <yield/> 478 <yield />
478 </xml> 479 </xml>
479 480
480 <xml name="layer_GlobalMaxPooling3D"> 481 <xml name="layer_GlobalMaxPooling3D">
481 <param argument="data_format" type="select" help="The ordering of the dimensions in the inputs."> 482 <param argument="data_format" type="select" help="The ordering of the dimensions in the inputs.">
482 <option value="channels_last" selected="true">channels_last - inputs with shape (batch, spatial_dim1, spatial_dim2, spatial_dim3, channels)</option> 483 <option value="channels_last" selected="true">channels_last - inputs with shape (batch, spatial_dim1, spatial_dim2, spatial_dim3, channels)</option>
483 <option value="channels_first">channels_first - inputs with shape (batch, channels, spatial_dim1, spatial_dim2, spatial_dim3)</option> 484 <option value="channels_first">channels_first - inputs with shape (batch, channels, spatial_dim1, spatial_dim2, spatial_dim3)</option>
484 </param> 485 </param>
485 <yield/> 486 <yield />
486 </xml> 487 </xml>
487 488
488 <xml name="layer_GlobalAveragePooling1D"> 489 <xml name="layer_GlobalAveragePooling1D">
489 <param argument="data_format" type="select" help="The ordering of the dimensions in the inputs."> 490 <param argument="data_format" type="select" help="The ordering of the dimensions in the inputs.">
490 <option value="channels_last" selected="true">channels_last - inputs with shape (batch, steps, channels)</option> 491 <option value="channels_last" selected="true">channels_last - inputs with shape (batch, steps, channels)</option>
491 <option value="channels_first">channels_first - inputs with shape (batch, channels, steps)</option> 492 <option value="channels_first">channels_first - inputs with shape (batch, channels, steps)</option>
492 </param> 493 </param>
493 <yield/> 494 <yield />
494 </xml> 495 </xml>
495 496
496 <xml name="layer_GlobalAveragePooling2D"> 497 <xml name="layer_GlobalAveragePooling2D">
497 <param argument="data_format" type="select" help="The ordering of the dimensions in the inputs."> 498 <param argument="data_format" type="select" help="The ordering of the dimensions in the inputs.">
498 <option value="channels_last" selected="true">channels_last - inputs with shape (batch, height, width, channels)</option> 499 <option value="channels_last" selected="true">channels_last - inputs with shape (batch, height, width, channels)</option>
499 <option value="channels_first">channels_first - inputs with shape (batch, channels, height, width)</option> 500 <option value="channels_first">channels_first - inputs with shape (batch, channels, height, width)</option>
500 </param> 501 </param>
501 <yield/> 502 <yield />
502 </xml> 503 </xml>
503 504
504 <xml name="layer_GlobalAveragePooling3D"> 505 <xml name="layer_GlobalAveragePooling3D">
505 <param argument="data_format" type="select" help="The ordering of the dimensions in the inputs."> 506 <param argument="data_format" type="select" help="The ordering of the dimensions in the inputs.">
506 <option value="channels_last" selected="true">channels_last - inputs with shape (batch, spatial_dim1, spatial_dim2, spatial_dim3, channels)</option> 507 <option value="channels_last" selected="true">channels_last - inputs with shape (batch, spatial_dim1, spatial_dim2, spatial_dim3, channels)</option>
507 <option value="channels_first">channels_first - inputs with shape (batch, channels, spatial_dim1, spatial_dim2, spatial_dim3)</option> 508 <option value="channels_first">channels_first - inputs with shape (batch, channels, spatial_dim1, spatial_dim2, spatial_dim3)</option>
508 </param> 509 </param>
509 <yield/> 510 <yield />
510 </xml> 511 </xml>
511 512
512 <!--Locally-connected Layers--> 513 <!--Locally-connected Layers-->
513 514
514 <xml name="layer_LocallyConnected1D"> 515 <xml name="layer_LocallyConnected1D">
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)."/> 516 <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)." />
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."/> 517 <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." />
517 <expand macro="keras_activations"/> 518 <expand macro="keras_activations" />
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."/> 519 <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." />
519 <yield/> 520 <yield />
520 </xml> 521 </xml>
521 522
522 <xml name="layer_LocallyConnected2D"> 523 <xml name="layer_LocallyConnected2D">
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)."/> 524 <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)." />
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."/> 525 <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." />
525 <expand macro="keras_activations"/> 526 <expand macro="keras_activations" />
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."/> 527 <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." />
527 <yield/> 528 <yield />
528 </xml> 529 </xml>
529 530
530 <!--Recurrent Layers--> 531 <!--Recurrent Layers-->
531 532
532 <xml name="layer_SimpleRNN"> 533 <xml name="layer_SimpleRNN">
533 <param argument="units" type="integer" value="" min="1" help="Positive integer, dimensionality of the output space."/> 534 <param argument="units" type="integer" value="" min="1" help="Positive integer, dimensionality of the output space." />
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."/> 535 <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." />
535 <yield/> 536 <yield />
536 </xml> 537 </xml>
537 538
538 <xml name="layer_GRU"> 539 <xml name="layer_GRU">
539 <param argument="units" type="integer" value="" min="1" help="Positive integer, dimensionality of the output space."/> 540 <param argument="units" type="integer" value="" min="1" help="Positive integer, dimensionality of the output space." />
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."/> 541 <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." />
541 <yield/> 542 <yield />
542 </xml> 543 </xml>
543 544
544 <xml name="layer_LSTM"> 545 <xml name="layer_LSTM">
545 <param argument="units" type="integer" value="" min="1" help="Positive integer, dimensionality of the output space."/> 546 <param argument="units" type="integer" value="" min="1" help="Positive integer, dimensionality of the output space." />
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."/> 547 <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." />
547 <yield/> 548 <yield />
548 </xml> 549 </xml>
549 550
550 <xml name="layer_ConvLSTM2D"> 551 <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="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 <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 <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 <yield />
555 </xml> 556 </xml>
556 557
557 <xml name="layer_ConvLSTM2DCell"> 558 <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="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 <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 <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 <yield />
562 </xml> 563 </xml>
563 564
564 <xml name="layer_SimpleRNNCell"> 565 <xml name="layer_SimpleRNNCell">
565 <param argument="units" type="integer" value="" min="1" help="Positive integer, dimensionality of the output space."/> 566 <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 <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 <yield />
568 </xml> 569 </xml>
569 570
570 <xml name="layer_GRUCell"> 571 <xml name="layer_GRUCell">
571 <param argument="units" type="integer" value="" min="1" help="Positive integer, dimensionality of the output space."/> 572 <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 <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 <yield />
574 </xml> 575 </xml>
575 576
576 <xml name="layer_LSTMCell"> 577 <xml name="layer_LSTMCell">
577 <param argument="units" type="integer" value="" min="1" help="Positive integer, dimensionality of the output space."/> 578 <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 <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 <yield />
580 </xml> 581 </xml>
581 582
582 <xml name="layer_CuDNNGRU"> 583 <xml name="layer_CuDNNGRU">
583 <param argument="units" type="integer" value="" min="1" help="Positive integer, dimensionality of the output space."/> 584 <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 <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 <yield />
586 </xml> 587 </xml>
587 588
588 <xml name="layer_CuDNNLSTM"> 589 <xml name="layer_CuDNNLSTM">
589 <param argument="units" type="integer" value="" min="1" help="Positive integer, dimensionality of the output space."/> 590 <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 <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 <yield />
592 </xml> 593 </xml>
593 594
594 595
595 <!--Embedding Layers--> 596 <!--Embedding Layers-->
596 597
597 <xml name="layer_Embedding"> 598 <xml name="layer_Embedding">
598 <param argument="input_dim" type="integer" value="" min="0" help="int > 0. Size of the vocabulary, i.e. maximum integer index + 1."/> 599 <param argument="input_dim" type="integer" value="" min="0" help="int > 0. Size of the vocabulary, i.e. maximum integer index + 1." />
599 <param argument="output_dim" type="integer" value="" min="0" help="int >= 0. Dimension of the dense embedding."/> 600 <param argument="output_dim" type="integer" value="" min="0" help="int >= 0. Dimension of the dense embedding." />
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."/> 601 <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." />
601 <yield/> 602 <yield />
602 </xml> 603 </xml>
603 604
604 <!--Merge Layers--> 605 <!--Merge Layers-->
605 606
606 <xml name="layer_merge"> 607 <xml name="layer_merge">
607 <param name="merging_layers" type="text" value="[ ]" label="Type the layer index numbers in a list" help="List of numbers"> 608 <param name="merging_layers" type="text" value="[ ]" label="Type the layer index numbers in a list" help="List of numbers">
608 <sanitizer> 609 <sanitizer>
609 <valid initial="default"> 610 <valid initial="default">
610 <add value="["/> 611 <add value="[" />
611 <add value="]"/> 612 <add value="]" />
612 </valid> 613 </valid>
613 </sanitizer> 614 </sanitizer>
614 </param> 615 </param>
615 <yield/> 616 <yield />
616 </xml> 617 </xml>
617 618
618 <xml name="layer_Concatenate" token_type="integer" token_default_value="-1" token_help="Axis along which to concatenate."> 619 <xml name="layer_Concatenate" token_type="integer" token_default_value="-1" token_help="Axis along which to concatenate.">
619 <expand macro="layer_merge"> 620 <expand macro="layer_merge">
620 <param argument="axis" type="@TYPE@" value="@DEFAULT_VALUE@" help="@HELP@"/> 621 <param argument="axis" type="@TYPE@" value="@DEFAULT_VALUE@" help="@HELP@" />
621 </expand> 622 </expand>
622 <yield/> 623 <yield />
623 </xml> 624 </xml>
624 625
625 <xml name="layer_Dot"> 626 <xml name="layer_Dot">
626 <expand macro="layer_Concatenate" type="text" default_value="" help="Integer or tuple of integers, axis or axes along which to take the dot product."> 627 <expand macro="layer_Concatenate" type="text" default_value="" help="Integer or tuple of integers, axis or axes along which to take the dot product.">
627 <param argument="normalize" type="boolean" truevalue="booltrue" falsevalue="boolfalse" optional="true" checked="false" label="Whether to L2-normalize samples along the dot product axis before taking the dot product?"/> 628 <param argument="normalize" type="boolean" truevalue="booltrue" falsevalue="boolfalse" optional="true" checked="false" label="Whether to L2-normalize samples along the dot product axis before taking the dot product?" />
628 </expand> 629 </expand>
629 <yield/> 630 <yield />
630 </xml> 631 </xml>
631 632
632 <!--Advanced Activations Layers--> 633 <!--Advanced Activations Layers-->
633 634
634 <xml name="layer_LeakyReLU"> 635 <xml name="layer_LeakyReLU">
635 <param argument="alpha" type="float" value="0.3" min="0." help="float >= 0. Negative slope coefficient."/> 636 <param argument="alpha" type="float" value="0.3" min="0." help="float >= 0. Negative slope coefficient." />
636 <yield/> 637 <yield />
637 </xml> 638 </xml>
638 639
639 <xml name="layer_PReLU"> 640 <xml name="layer_PReLU">
640 <expand macro="keras_initializers" argument="alpha_initializer" default_zeros="true"/> 641 <expand macro="keras_initializers" argument="alpha_initializer" default_zeros="true" />
641 <expand macro="keras_regularizers" argument="alpha_regularizer"/> 642 <expand macro="keras_regularizers" argument="alpha_regularizer" />
642 <expand macro="keras_constraints" argument="alpha_constraint"/> 643 <expand macro="keras_constraints" argument="alpha_constraint" />
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]"> 644 <param argument="shared_axes" type="text" value="" help="the axes along which to share learnable parameters for the activation function. E.g. [1, 2]">
644 <sanitizer> 645 <sanitizer>
645 <valid initial="default"> 646 <valid initial="default">
646 <add value="["/> 647 <add value="[" />
647 <add value="]"/> 648 <add value="]" />
648 </valid> 649 </valid>
649 </sanitizer> 650 </sanitizer>
650 </param> 651 </param>
651 <yield/> 652 <yield />
652 </xml> 653 </xml>
653 654
654 <xml name="layer_ELU"> 655 <xml name="layer_ELU">
655 <param argument="alpha" type="float" value="1.0" help="scale for the negative factor."/> 656 <param argument="alpha" type="float" value="1.0" help="scale for the negative factor." />
656 <yield/> 657 <yield />
657 </xml> 658 </xml>
658 659
659 <xml name="layer_ThresholdedReLU"> 660 <xml name="layer_ThresholdedReLU">
660 <param argument="theta" type="float" value="1.0" help="float >= 0. Threshold location of activation."/> 661 <param argument="theta" type="float" value="1.0" help="float >= 0. Threshold location of activation." />
661 <yield/> 662 <yield />
662 </xml> 663 </xml>
663 664
664 <xml name="layer_Softmax"> 665 <xml name="layer_Softmax">
665 <param argument="axis" type="integer" value="-1" help="Integer, axis along which the softmax normalization is applied."/> 666 <param argument="axis" type="integer" value="-1" help="Integer, axis along which the softmax normalization is applied." />
666 <yield/> 667 <yield />
667 </xml> 668 </xml>
668 669
669 <xml name="layer_ReLU"> 670 <xml name="layer_ReLU">
670 <param argument="max_value" type="float" value="" min="0." help="float >= 0. Maximum activation value."/> 671 <param argument="max_value" type="float" value="" min="0." help="float >= 0. Maximum activation value." />
671 <param argument="negative_slope" type="float" value="0." min="0." help="float >= 0. Negative slope coefficient."/> 672 <param argument="negative_slope" type="float" value="0." min="0." help="float >= 0. Negative slope coefficient." />
672 <param argument="max_value" type="float" value="0." help="float. Threshold value for thresholded activation."/> 673 <param argument="threshold_max_value" type="float" value="0." help="float. Threshold value for thresholded activation." />
673 <yield/> 674 <yield />
674 </xml> 675 </xml>
675 676
676 <!--Normalization Layers--> 677 <!--Normalization Layers-->
677 678
678 <xml name="layer_BatchNormalization"> 679 <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 <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 </xml>
681 682
682 <!--Noise layers--> 683 <!--Noise layers-->
683 684
684 <xml name="layer_GaussianNoise"> 685 <xml name="layer_GaussianNoise">
685 <param argument="stddev" type="float" value="" help="float, standard deviation of the noise distribution."/> 686 <param argument="stddev" type="float" value="" help="float, standard deviation of the noise distribution." />
686 </xml> 687 </xml>
687 688
688 <xml name="layer_GaussianDropout"> 689 <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 <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 </xml>
691 692
692 <xml name="layer_AlphaDropout"> 693 <xml name="layer_AlphaDropout">
693 <expand macro="layer_Dropout"/> 694 <expand macro="layer_Dropout" />
694 </xml> 695 </xml>
695 696
696 <xml name="inbound_nodes_index"> 697 <xml name="inbound_nodes_index">
697 <param name="inbound_nodes" type="integer" value="" label="Type the index number of input layer" 698 <param name="inbound_nodes" type="integer" value="" label="Type the index number of input layer"
698 help="Find the index number at the left top corner of layer configuration block"/> 699 help="Find the index number at the left top corner of layer configuration block" />
699 </xml> 700 </xml>
700 701
701 <!--Simple key words text parameters, conbined to reduce UI latency--> 702 <!--Simple key words text parameters, conbined to reduce UI latency-->
702 703
703 <xml name="simple_kwargs" token_help="Leave blank for default."> 704 <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 <param argument="kwargs" type="text" value="" optional="true" label="Type in key words arguments if different from the default" help="@HELP@">
705 <sanitizer> 706 <sanitizer>
706 <valid initial="default"> 707 <valid initial="default">
707 <add value="&apos;" /> 708 <add value="&apos;" />
708 <add value="&quot;" />
709 </valid> 709 </valid>
710 </sanitizer> 710 </sanitizer>
711 </param> 711 </param>
712 </xml> 712 </xml>
713 713
725 <!--option value="ModelCheckpoint">ModelCheckpoint - Save the model after every epoch</option>--> 725 <!--option value="ModelCheckpoint">ModelCheckpoint - Save the model after every epoch</option>-->
726 <option value="TerminateOnNaN">TerminateOnNaN -- Terminates training when a NaN loss is encountered.</option> 726 <option value="TerminateOnNaN">TerminateOnNaN -- Terminates training when a NaN loss is encountered.</option>
727 <option value="ReduceLROnPlateau">ReduceLROnPlateau -- Reduce learning rate when a metric has stopped improving</option> 727 <option value="ReduceLROnPlateau">ReduceLROnPlateau -- Reduce learning rate when a metric has stopped improving</option>
728 <option value="CSVLogger">CSVLogger -- Streams epoch results to a csv file</option> 728 <option value="CSVLogger">CSVLogger -- Streams epoch results to a csv file</option>
729 </param> 729 </param>
730 <when value="None"/> 730 <when value="None" />
731 <when value="EarlyStopping"> 731 <when value="EarlyStopping">
732 <expand macro="keras_callback_common_options"> 732 <expand macro="keras_callback_common_options">
733 <param argument="min_delta" type="float" value="0" optional="true" help="Minimum change in the monitored quantity to qualify as an improvement."/> 733 <param argument="min_delta" type="float" value="0" optional="true" help="Minimum change in the monitored quantity to qualify as an improvement." />
734 <param argument="patience" type="integer" value="0" min="0" help="Number of epochs with no improvement after which training will be stopped."/> 734 <param argument="patience" type="integer" value="0" min="0" help="Number of epochs with no improvement after which training will be stopped." />
735 <param argument="baseline" type="float" value="" optional="true" help="Baseline value for the monitored quantity to reach. Training will stop if the model doesn't show improvement over the baseline."/> 735 <param argument="baseline" type="float" value="" optional="true" help="Baseline value for the monitored quantity to reach. Training will stop if the model doesn't show improvement over the baseline." />
736 <param argument="restore_best_weights" type="boolean" truevalue="booltrue" falsevalue="boolfalse" checked="false" help="Whether to restore model weights from the epoch with the best value of the monitored quantity"/> 736 <param argument="restore_best_weights" type="boolean" truevalue="booltrue" falsevalue="boolfalse" checked="false" help="Whether to restore model weights from the epoch with the best value of the monitored quantity" />
737 </expand> 737 </expand>
738 </when> 738 </when>
739 <!--when value="TensorBoard"> 739 <!--when value="TensorBoard">
740 <param argument="histogram_freq" /> 740 <param argument="histogram_freq" />
741 <param argument="batch_size" /> 741 <param argument="batch_size" />
746 <param argument="embeddings_metadata" /> 746 <param argument="embeddings_metadata" />
747 <param argument="embeddings_data" /> 747 <param argument="embeddings_data" />
748 <param argument="update_freq" /> 748 <param argument="update_freq" />
749 </when--> 749 </when-->
750 <!--when value="RemoteMonitor"> 750 <!--when value="RemoteMonitor">
751 <param argument="root" type="text" value="http://localhost:9000" help="Root url of the target server."/> 751 <param argument="root" type="text" value="http://localhost:9000" help="Root url of the target server." />
752 <param argument="path" type="text" value="/publish/epoch/end/" help="Path relative to root to which the events will be sent. E.g., root + '/publish/epoch/end/'"/> 752 <param argument="path" type="text" value="/publish/epoch/end/" help="Path relative to root to which the events will be sent. E.g., root + '/publish/epoch/end/'" />
753 <param argument="field" type="text" value="data" optional="true" help="JSON field under which the data will be stored. The field is used only if the payload is sent within a form (i.e. send_as_json is set to False)."/> 753 <param argument="field" type="text" value="data" optional="true" help="JSON field under which the data will be stored. The field is used only if the payload is sent within a form (i.e. send_as_json is set to False)." />
754 <param argument="headers" type="text" value="" optional="true" help="Dictionary; optional custom HTTP headers."> 754 <param argument="headers" type="text" value="" optional="true" help="Dictionary; optional custom HTTP headers.">
755 <sanitizer> 755 <sanitizer>
756 <valid initial="default"> 756 <valid initial="default">
757 <add value="{"/> 757 <add value="{" />
758 <add value="}"/> 758 <add value="}" />
759 </valid> 759 </valid>
760 </sanitizer> 760 </sanitizer>
761 </param> 761 </param>
762 <param argument="send_as_json" type="boolean" truevalue="booltrue" falsevalue="boolfalse" checked="false" help="Whether the request should be send as application/json."/> 762 <param argument="send_as_json" type="boolean" truevalue="booltrue" falsevalue="boolfalse" checked="false" help="Whether the request should be send as application/json." />
763 </when> 763 </when>
764 <when value="ModelCheckpoint"> 764 <when value="ModelCheckpoint">
765 <expand macro="keras_callback_common_options"> 765 <expand macro="keras_callback_common_options">
766 <param argument="save_best_only" type="boolean" truevalue="booltrue" falsevalue="boolfalse" checked="false" help="If True, the latest best model according to the quantity monitored will not be overwritten."/> 766 <param argument="save_best_only" type="boolean" truevalue="booltrue" falsevalue="boolfalse" checked="false" help="If True, the latest best model according to the quantity monitored will not be overwritten." />
767 <param argument="save_weights_only" type="boolean" truevalue="booltrue" falsevalue="boolfalse" checked="true" help="If True, then only the model's weights will be saved, else the full model is saved."/> 767 <param argument="save_weights_only" type="boolean" truevalue="booltrue" falsevalue="boolfalse" checked="true" help="If True, then only the model's weights will be saved, else the full model is saved." />
768 <param argument="period" type="integer" value="1" min="1" help="Interval (number of epochs) between checkpoints."/> 768 <param argument="period" type="integer" value="1" min="1" help="Interval (number of epochs) between checkpoints." />
769 </expand> 769 </expand>
770 </when>--> 770 </when>-->
771 <when value="TerminateOnNaN"/> 771 <when value="TerminateOnNaN" />
772 <when value="ReduceLROnPlateau"> 772 <when value="ReduceLROnPlateau">
773 <expand macro="keras_callback_common_options"> 773 <expand macro="keras_callback_common_options">
774 <param argument="factor" type="float" value="0.1" help="Factor by which the learning rate will be reduced. new_lr = lr * factor"/> 774 <param argument="factor" type="float" value="0.1" help="Factor by which the learning rate will be reduced. new_learning_rate = learning_rate * factor" />
775 <param argument="patience" type="integer" value="10" help="Number of epochs with no improvement after which learning rate will be reduced."/> 775 <param argument="patience" type="integer" value="10" help="Number of epochs with no improvement after which learning rate will be reduced." />
776 <param argument="min_delta" type="float" value="0.0001" help="Threshold for measuring the new optimum, to only focus on significant changes."/> 776 <param argument="min_delta" type="float" value="0.0001" help="Threshold for measuring the new optimum, to only focus on significant changes." />
777 <param argument="cooldown" type="integer" value="0" help="Number of epochs to wait before resuming normal operation after lr has been reduced."/> 777 <param argument="cooldown" type="integer" value="0" help="Number of epochs to wait before resuming normal operation after learning_rate has been reduced." />
778 <param argument="min_lr" type="float" value="0" help="Lower bound on the learning rate."/> 778 <param argument="min_lr" type="float" value="0" help="Lower bound on the learning rate." />
779 </expand> 779 </expand>
780 </when> 780 </when>
781 <when value="CSVLogger"/> 781 <when value="CSVLogger" />
782 </conditional> 782 </conditional>
783 </repeat> 783 </repeat>
784 </xml> 784 </xml>
785 785
786 <xml name="keras_callback_common_options"> 786 <xml name="keras_callback_common_options">
791 <param argument="mode" type="select"> 791 <param argument="mode" type="select">
792 <option value="auto" selected="true">auto -- the direction is automatically inferred from the name of the monitored quantity</option> 792 <option value="auto" selected="true">auto -- the direction is automatically inferred from the name of the monitored quantity</option>
793 <option value="min">min -- training will stop when the quantity monitored has stopped decreasing</option> 793 <option value="min">min -- training will stop when the quantity monitored has stopped decreasing</option>
794 <option value="max">max -- training will stop when the quantity monitored has stopped increasing</option> 794 <option value="max">max -- training will stop when the quantity monitored has stopped increasing</option>
795 </param> 795 </param>
796 <yield/> 796 <yield />
797 </xml> 797 </xml>
798 798
799 <!--Batch online data generators--> 799 <!--Batch online data generators-->
800 800
801 <xml name="params_fasta_dna_batch_generator"> 801 <xml name="params_fasta_dna_batch_generator">
802 <param argument="seq_length" type="integer" value="1000" optional="true" help="Integer. Sequence length or number of bases."/> 802 <param argument="seq_length" type="integer" value="1000" optional="true" help="Integer. Sequence length or number of bases." />
803 <param argument="shuffle" type="boolean" truevalue="booltrue" falsevalue="boolfalse" optional="true" checked="true" help="Whether to shuffle the data between epochs."/> 803 <param argument="shuffle" type="boolean" truevalue="booltrue" falsevalue="boolfalse" optional="true" checked="true" help="Whether to shuffle the data between epochs." />
804 <param argument="seed" type="integer" value="" optional="true" help="Integer, random seed for data shuffling"/> 804 <param argument="seed" type="integer" value="" optional="true" help="Integer, random seed for data shuffling" />
805 </xml> 805 </xml>
806 806
807 <xml name="params_fasta_protein_batch_generator"> 807 <xml name="params_fasta_protein_batch_generator">
808 <expand macro="params_fasta_dna_batch_generator"/> 808 <expand macro="params_fasta_dna_batch_generator" />
809 </xml> 809 </xml>
810 810
811 <xml name="params_genomic_interval_batch_generator"> 811 <xml name="params_genomic_interval_batch_generator">
812 <expand macro="params_fasta_dna_batch_generator"/> 812 <expand macro="params_fasta_dna_batch_generator" />
813 <param argument="blacklist_regions" type="select" help="Tabix-indexed list of regions from which we should not output sequences"> 813 <param argument="blacklist_regions" type="select" help="Tabix-indexed list of regions from which we should not output sequences">
814 <option value="hg38" selected="true">hg38</option> 814 <option value="hg38" selected="true">hg38</option>
815 <option value="hg19">hg19</option> 815 <option value="hg19">hg19</option>
816 </param> 816 </param>
817 <param argument="center_bin_to_predict" type="integer" value="200" optional="true" help="Query the tabix-indexed file for a region of length."/> 817 <param argument="center_bin_to_predict" type="integer" value="200" optional="true" help="Query the tabix-indexed file for a region of length." />
818 <param argument="feature_thresholds" type="float" value="0.5" optional="true" help="Threshold values to determine target value."/> 818 <param argument="feature_thresholds" type="float" value="0.5" optional="true" help="Threshold values to determine target value." />
819 <param argument="random_state" type="integer" value="" optional="true" help="Random seed number, to control the sample position in each invertal."/> 819 <param argument="random_state" type="integer" value="" optional="true" help="Random seed number, to control the sample position in each invertal." />
820 </xml> 820 </xml>
821 821
822 <xml name="params_image_batch_generator"> 822 <xml name="params_image_batch_generator">
823 </xml> 823 </xml>
824 824
843 <option value="poisson">poisson</option> 843 <option value="poisson">poisson</option>
844 <option value="cosine_proximity">cosine / cosine_proximity</option> 844 <option value="cosine_proximity">cosine / cosine_proximity</option>
845 </param> 845 </param>
846 <conditional name="optimizer_selection"> 846 <conditional name="optimizer_selection">
847 <param name="optimizer_type" type="select" label="Select an optimizer"> 847 <param name="optimizer_type" type="select" label="Select an optimizer">
848 <option value="SGD" selected="true">SGD - Stochastic gradient descent optimizer </option> 848 <option value="RMSprop" selected="true">RMSprop - RMSProp optimizer </option>
849 <option value="RMSprop">RMSprop - RMSProp optimizer </option> 849 <option value="SGD">SGD - Stochastic gradient descent optimizer </option>
850 <option value="Adagrad">Adagrad - Adagrad optimizer </option> 850 <option value="Adagrad">Adagrad - Adagrad optimizer </option>
851 <option value="Adadelta">Adadelta - Adadelta optimizer </option> 851 <option value="Adadelta">Adadelta - Adadelta optimizer </option>
852 <option value="Adam">Adam - Adam optimizer </option> 852 <option value="Adam">Adam - Adam optimizer </option>
853 <option value="Adamax">Adamax - A variant of Adam based on the infinity norm </option> 853 <option value="Adamax">Adamax - A variant of Adam based on the infinity norm </option>
854 <option value="Nadam">Nadam - Nesterov Adam optimizer </option> 854 <option value="Nadam">Nadam - Nesterov Adam optimizer </option>
855 <option value="Ftrl">Ftrl - Ftrl optimizer </option>
855 </param> 856 </param>
857 <when value="RMSprop">
858 <expand macro="keras_optimizer_common" learning_rate="0.001">
859 <param argument="rho" type="float" value="0.9" optional="true" label="rho" help="Float. Discounting factor for the history/coming gradient." />
860 <param argument="momentum" type="float" value="0" optional="true" label="momentum"
861 help="Float." />
862 <param argument="epsilon" type="float" value="1e-7" label="epsilon" optional="true" help="A small constant for numerical stability." />
863 <param argument="centered" type="boolean" truevalue="booltrue" falsevalue="boolfalse" optional="true" checked="false" label="centered"
864 help="If True, gradients are normalized by the estimated variance of the gradient; if False, by the uncentered second moment." />
865 </expand>
866 </when>
856 <when value="SGD"> 867 <when value="SGD">
857 <expand macro="keras_optimizer_common"> 868 <expand macro="keras_optimizer_common">
858 <param argument="momentum" type="float" value="0" optional="true" label="Momentum" 869 <param argument="momentum" type="float" value="0" optional="true" label="Momentum"
859 help="float >= 0. Parameter that accelerates SGD in the relevant direction and dampens oscillations."/> 870 help="float >= 0. Parameter that accelerates SGD in the relevant direction and dampens oscillations." />
860 <param argument="decay" type="float" value="0" label="Decay" optional="true" help="float &gt;= 0. Learning rate decay over each update."/> 871 <param argument="nesterov" type="boolean" truevalue="booltrue" falsevalue="boolfalse" optional="true" checked="false" label="Whether to apply Nesterov momentum" />
861 <param argument="nesterov" type="boolean" truevalue="booltrue" falsevalue="boolfalse" optional="true" checked="false" label="Whether to apply Nesterov momentum"/>
862 </expand>
863 </when>
864 <when value="RMSprop">
865 <expand macro="keras_optimizer_common_more" lr="0.001">
866 <param argument="rho" type="float" value="0.9" optional="true" label="rho" help="float &gt;= 0."/>
867 </expand> 872 </expand>
868 </when> 873 </when>
869 <when value="Adagrad"> 874 <when value="Adagrad">
870 <expand macro="keras_optimizer_common_more" lr="0.001"/> 875 <expand macro="keras_optimizer_common" learning_rate="0.001">
876 <param argument="initial_accumulator_value" type="float" value="0.1" optional="true" label="initial_accumulator_value" help="Float, &lt;= 0." />
877 <param argument="epsilon" type="float" value="1e-7" label="epsilon" optional="true" help="A small constant for numerical stability." />
878 </expand>
871 </when> 879 </when>
872 <when value="Adadelta"> 880 <when value="Adadelta">
873 <expand macro="keras_optimizer_common_more" lr="1.0"> 881 <expand macro="keras_optimizer_common" learning_rate="0.001">
874 <param argument="rho" type="float" value="0.95" optional="true" label="rho" help="float &gt;= 0."/> 882 <param argument="rho" type="float" value="0.95" optional="true" label="rho" help="Float, &gt;= 0. The decay rate." />
883 <param argument="epsilon" type="float" value="1e-7" label="epsilon" optional="true" help="A small constant for numerical stability." />
875 </expand> 884 </expand>
876 </when> 885 </when>
877 <when value="Adam"> 886 <when value="Adam">
878 <expand macro="keras_optimizer_common_more" lr="0.001"> 887 <expand macro="keras_optimizer_common_more" learning_rate="0.001">
879 <param argument="beta_1" type="float" value="0.9" optional="true" label="beta_1" help="float, 0 &lt; beta &lt; 1. Generally close to 1."/>
880 <param argument="beta_2" type="float" value="0.999" optional="true" label="beta_2" help="float, 0 &lt; beta &lt; 1. Generally close to 1."/>
881 <param argument="amsgrad" type="boolean" truevalue="booltrue" falsevalue="boolfalse" optional="true" checked="false" label="Whether to apply the AMSGrad variant?" 888 <param argument="amsgrad" type="boolean" truevalue="booltrue" falsevalue="boolfalse" optional="true" checked="false" label="Whether to apply the AMSGrad variant?"
882 help="Refer to paper `On the Convergence of Adam and Beyond`"/> 889 help="Refer to paper `On the Convergence of Adam and Beyond`" />
883 </expand> 890 </expand>
884 </when> 891 </when>
885 <when value="Adamax"> 892 <when value="Adamax">
886 <expand macro="keras_optimizer_common_more" lr="0.002"> 893 <expand macro="keras_optimizer_common_more" learning_rate="0.001" />
887 <param argument="beta_1" type="float" value="0.9" optional="true" label="beta_1" help="float, 0 &lt; beta &lt; 1. Generally close to 1."/>
888 <param argument="beta_2" type="float" value="0.999" optional="true" label="beta_2" help="float, 0 &lt; beta &lt; 1. Generally close to 1."/>
889 </expand>
890 </when> 894 </when>
891 <when value="Nadam"> 895 <when value="Nadam">
892 <expand macro="keras_optimizer_common" lr="0.002"> 896 <expand macro="keras_optimizer_common_more" learning_rate="0.001" />
893 <param argument="beta_1" type="float" value="0.9" optional="true" label="beta_1" help="float, 0 &lt; beta &lt; 1. Generally close to 1."/> 897 </when>
894 <param argument="beta_2" type="float" value="0.999" optional="true" label="beta_2" help="float, 0 &lt; beta &lt; 1. Generally close to 1."/> 898 <when value="Ftrl">
895 <!--param argument="epsilon" type="float" value="" label="epsilon" optional="true" help="Fuzz factor. If `None`, defaults to `K.epsilon()`"/>--> 899 <expand macro="keras_optimizer_common" learning_rate="0.001">
896 <param argument="schedule_decay" type="float" value="0.004" optional="true" label="schedule_decay" help="float, 0 &lt; beta &lt; 1."/> 900 <param argument="learning_rate_power" type="float" value="-0.5" optional="true" label="learning_rate_power" help="Float, &gt;= 0." />
901 <param argument="initial_accumulator_value" type="float" value="0.1" optional="true" label="initial_accumulator_value" help="Float, &lt;= 0." />
902 <param argument="l1_regularization_strength" type="float" value="0." optional="true" label="l1_regularization_strength" help="Float, &gt;= 0." />
903 <param argument="l2_regularization_strength" type="float" value="0." optional="true" label="l2_regularization_strength" help="Float, &gt;= 0." />
904 <param argument="l2_shrinkage_regularization_strength" type="float" value="0." optional="true" label="l2_shrinkage_regularization_strength" help="Float, &gt;= 0." />
905 <param argument="beta" type="float" value="0." optional="true" label="beta" help="Float." />
897 </expand> 906 </expand>
898 </when> 907 </when>
899 </conditional> 908 </conditional>
900 <param name="metrics" type="select" optional="true" multiple="true" label="Select metrics"> 909 <param name="metrics" type="select" optional="true" multiple="true" label="Select metrics">
901 <option value="acc" selected="true">acc / accruracy</option> 910 <option value="acc" selected="true">acc / accruracy</option>
912 </section> 921 </section>
913 </xml> 922 </xml>
914 923
915 <xml name="keras_fit_params_section"> 924 <xml name="keras_fit_params_section">
916 <section name="fit_params" title="Fit Parameters" expanded="true"> 925 <section name="fit_params" title="Fit Parameters" expanded="true">
917 <param name="epochs" type="integer" value="1" min="1" label="epochs"/> 926 <param name="epochs" type="integer" value="1" min="1" label="epochs" />
918 <param name="batch_size" type="integer" value="32" optional="true" label="batch_size" help="Integer or blank for 32"/> 927 <param name="batch_size" type="integer" value="32" optional="true" label="batch_size" help="Integer or blank for 32" />
919 <param name="steps_per_epoch" type="integer" value="" optional="true" label="steps_per_epoch" help="The number of steps (batches of samples) before declaring one epoch finished and starting the next epoch. The default None is equal to the number of samples in your dataset divided by the batch size, or 1 if that cannot be determined."/> 928 <param name="steps_per_epoch" type="integer" value="" optional="true" label="steps_per_epoch" help="The number of steps (batches of samples) before declaring one epoch finished and starting the next epoch. The default None is equal to the number of samples in your dataset divided by the batch size, or 1 if that cannot be determined." />
929 <yield />
920 <param name="validation_steps" type="integer" value="" optional="true" label="validation_steps" help="Default None. Total number of steps (batches of samples) to validate before stopping." /> 930 <param name="validation_steps" type="integer" value="" optional="true" label="validation_steps" help="Default None. Total number of steps (batches of samples) to validate before stopping." />
921 <!--`validation_freq` will be available in next keras version--> 931 <!--`validation_freq` will be available in next keras version-->
922 <!--param name="validation_freq" type="integer" value="1" optional="true" label="validation_freq" help="Integer only at current moment. If an integer, specifies how many training epochs to run before a new validation run is performed."/--> 932 <!--param name="validation_freq" type="integer" value="1" optional="true" label="validation_freq" help="Integer only at current moment. If an integer, specifies how many training epochs to run before a new validation run is performed."/-->
923 <expand macro="keras_callbacks"/> 933 <expand macro="keras_callbacks" />
934 <param name="verbose" type="integer" value="1" optional="true" label="verbose" help="0, 1, or 2. Verbosity mode. 0 = silent, 1 = progress bar, 2 = one line per epoch." />
924 </section> 935 </section>
925 </xml> 936 </xml>
926 937
927 <!--Citation--> 938 <!--Citation-->
928 <xml name="keras_citation"> 939 <xml name="keras_citation">