Home
last modified time | relevance | path

Searched refs:kernel_initializer (Results 1 – 25 of 111) sorted by relevance

12345

/external/tensorflow/tensorflow/python/keras/layers/
Dkernelized.py133 kernel_initializer='gaussian', argument
142 if isinstance(kernel_initializer, six.string_types):
143 if kernel_initializer.lower() not in _SUPPORTED_RBF_KERNEL_TYPES:
146 .format(kernel_initializer, _SUPPORTED_RBF_KERNEL_TYPES))
153 self.kernel_initializer = kernel_initializer
172 kernel_initializer = _get_random_features_initializer(
173 self.kernel_initializer, shape=(input_dim, self.output_dim))
179 initializer=kernel_initializer,
191 self.scale = _get_default_scale(self.kernel_initializer, input_dim)
219 kernel_initializer = self.kernel_initializer
[all …]
Dkernelized_test.py101 kernel_initializer=initializer,
105 self.assertEqual(rff_layer.kernel_initializer, initializer)
116 kernel_initializer=initializer,
154 kernel_initializer=initializer,
164 kernel_initializer=initializer,
248 self.assertEqual(rff_layer.kernel_initializer, initializer)
276 kernel_initializer=initializer,
294 kernel_initializer=initializer,
299 kernel_initializer=initializer,
334 kernel_initializer=initializer,
[all …]
Dlocal.py127 kernel_initializer='glorot_uniform', argument
148 self.kernel_initializer = initializers.get(kernel_initializer)
177 initializer=self.kernel_initializer,
191 initializer=self.kernel_initializer,
276 initializers.serialize(self.kernel_initializer),
402 kernel_initializer='glorot_uniform', argument
423 self.kernel_initializer = initializers.get(kernel_initializer)
461 initializer=self.kernel_initializer,
475 initializer=self.kernel_initializer,
564 initializers.serialize(self.kernel_initializer),
Drecurrent.py1173 kernel_initializer='glorot_uniform', argument
1190 self.kernel_initializer = initializers.get(kernel_initializer)
1212 initializer=self.kernel_initializer,
1265 initializers.serialize(self.kernel_initializer),
1359 kernel_initializer='glorot_uniform', argument
1386 kernel_initializer=kernel_initializer,
1427 def kernel_initializer(self): member in SimpleRNN
1428 return self.cell.kernel_initializer
1479 initializers.serialize(self.kernel_initializer),
1574 kernel_initializer='glorot_uniform', argument
[all …]
Dcudnn_recurrent.py201 kernel_initializer='glorot_uniform', argument
226 self.kernel_initializer = initializers.get(kernel_initializer)
252 initializer=self.kernel_initializer,
319 'kernel_initializer': initializers.serialize(self.kernel_initializer),
382 kernel_initializer='glorot_uniform', argument
408 self.kernel_initializer = initializers.get(kernel_initializer)
435 initializer=self.kernel_initializer,
518 'kernel_initializer': initializers.serialize(self.kernel_initializer),
Dconvolutional.py108 kernel_initializer='glorot_uniform', argument
138 self.kernel_initializer = initializers.get(kernel_initializer)
161 initializer=self.kernel_initializer,
252 'kernel_initializer': initializers.serialize(self.kernel_initializer),
343 kernel_initializer='glorot_uniform', argument
361 kernel_initializer=initializers.get(kernel_initializer),
459 kernel_initializer='glorot_uniform', argument
477 kernel_initializer=initializers.get(kernel_initializer),
577 kernel_initializer='glorot_uniform', argument
595 kernel_initializer=initializers.get(kernel_initializer),
[all …]
Dconvolutional_recurrent.py559 kernel_initializer='glorot_uniform', argument
584 self.kernel_initializer = initializers.get(kernel_initializer)
616 initializer=self.kernel_initializer,
736 self.kernel_initializer),
887 kernel_initializer='glorot_uniform', argument
913 kernel_initializer=kernel_initializer,
977 def kernel_initializer(self): member in ConvLSTM2D
978 return self.cell.kernel_initializer
1036 self.kernel_initializer),
Dserialization_test.py38 3, activation='relu', kernel_initializer='ones', bias_regularizer='l2')
45 self.assertEqual(new_layer.kernel_initializer.__class__,
48 self.assertEqual(new_layer.kernel_initializer.__class__,
Drecurrent_v2.py154 kernel_initializer='glorot_uniform', argument
184 kernel_initializer=kernel_initializer,
523 kernel_initializer='glorot_uniform', argument
553 kernel_initializer=kernel_initializer,
Dcore.py953 kernel_initializer='glorot_uniform', argument
969 self.kernel_initializer = initializers.get(kernel_initializer)
994 initializer=self.kernel_initializer,
1050 'kernel_initializer': initializers.serialize(self.kernel_initializer),
/external/tensorflow/tensorflow/python/layers/
Dconvolutional.py88 kernel_initializer=None, argument
107 kernel_initializer=kernel_initializer,
131 kernel_initializer=None, argument
207 kernel_initializer=kernel_initializer,
287 kernel_initializer=None, argument
306 kernel_initializer=kernel_initializer,
330 kernel_initializer=None, argument
413 kernel_initializer=kernel_initializer,
494 kernel_initializer=None, argument
513 kernel_initializer=kernel_initializer,
[all …]
Dcore.py88 kernel_initializer=None, argument
101 kernel_initializer=kernel_initializer,
121 kernel_initializer=None, argument
177 kernel_initializer=kernel_initializer,
/external/tensorflow/tensorflow/contrib/model_pruning/python/layers/
Dcore_layers.py96 kernel_initializer=None, argument
119 self.kernel_initializer = kernel_initializer
143 initializer=self.kernel_initializer,
302 kernel_initializer=None, argument
320 kernel_initializer=kernel_initializer,
377 kernel_initializer=None, argument
393 self.kernel_initializer = kernel_initializer
410 initializer=self.kernel_initializer,
Dlayers.py228 kernel_initializer=weights_initializer,
336 kernel_initializer=weights_initializer,
/external/tensorflow/tensorflow/python/eager/
Dbenchmarks_test.py85 64, kernel_initializer=initializer, bias_initializer="zeros")
87 128, kernel_initializer=initializer, bias_initializer="zeros")
89 256, kernel_initializer=initializer, bias_initializer="zeros")
91 256, kernel_initializer=initializer, bias_initializer="zeros")
93 10, kernel_initializer=initializer, bias_initializer="zeros")
106 64, kernel_initializer=initializer, bias_initializer="zeros")(model_input)
108 128, kernel_initializer=initializer, bias_initializer="zeros")(x)
110 256, kernel_initializer=initializer, bias_initializer="zeros")(x)
112 256, kernel_initializer=initializer, bias_initializer="zeros")(x)
114 10, kernel_initializer=initializer, bias_initializer="zeros")(x)
[all …]
/external/tensorflow/tensorflow/contrib/distributions/python/ops/bijectors/
Dmasked_autoregressive.py371 kernel_initializer=None, argument
420 if kernel_initializer is None:
421 kernel_initializer = init_ops.glorot_normal_initializer()
424 return mask * kernel_initializer(shape, dtype, partition_info)
429 kernel_initializer=masked_initializer,
/external/tensorflow/tensorflow/tools/api/golden/v1/
Dtensorflow.layers.pbtxt101 …'data_format\', \'dilation_rate\', \'activation\', \'use_bias\', \'kernel_initializer\', \'bias_in…
105 …'data_format\', \'dilation_rate\', \'activation\', \'use_bias\', \'kernel_initializer\', \'bias_in…
109 …s\', \'padding\', \'data_format\', \'activation\', \'use_bias\', \'kernel_initializer\', \'bias_in…
113 …'data_format\', \'dilation_rate\', \'activation\', \'use_bias\', \'kernel_initializer\', \'bias_in…
117 …s\', \'padding\', \'data_format\', \'activation\', \'use_bias\', \'kernel_initializer\', \'bias_in…
121 …argspec: "args=[\'inputs\', \'units\', \'activation\', \'use_bias\', \'kernel_initializer\', \'bia…
/external/tensorflow/tensorflow/python/keras/
Dmetrics_correctness_test.py38 x = layers.Dense(3, kernel_initializer='ones', trainable=False)
40 1, kernel_initializer='ones', name='output_1', trainable=False)
42 1, kernel_initializer='ones', name='output_2', trainable=False)
205 x = layers.Dense(3, kernel_initializer='ones', trainable=False)
207 1, kernel_initializer='ones', name='output', trainable=False)
/external/tensorflow/tensorflow/python/keras/engine/
Dtraining_eager_test.py49 1, kernel_initializer='zeros', bias_initializer='ones')
248 kernel_initializer='ones'),
249 keras.layers.Dense(2, activation='softmax', kernel_initializer='ones')]
267 kernel_initializer='ones'),
268 keras.layers.Dense(2, activation='softmax', kernel_initializer='ones')]
/external/tensorflow/tensorflow/contrib/eager/python/examples/densenet/
Ddensenet.py54 kernel_initializer="he_normal",
65 kernel_initializer="he_normal",
103 kernel_initializer="he_normal",
230 kernel_initializer="he_normal",
/external/tensorflow/tensorflow/contrib/distribute/python/
Dkeras_dnn_correctness_test.py94 kernel_initializer='ones'))
132 3, activation='relu', input_dim=4, kernel_initializer='ones'))
135 1, activation='sigmoid', kernel_initializer='ones'))
/external/tensorflow/tensorflow/contrib/rnn/python/ops/
Dcore_rnn_cell.py69 kernel_initializer=None): argument
99 initializer=kernel_initializer)
130 kernel_initializer=None): argument
173 initializer=kernel_initializer)
/external/tensorflow/tensorflow/contrib/cudnn_rnn/python/kernel_tests/
Dcudnn_rnn_test.py94 kernel_initializer=None, argument
127 kernel_initializer=kernel_initializer,
282 kernel_initializer = init_ops.constant_initializer(0.)
289 kernel_initializer=kernel_initializer,
304 kernel_initializer=kernel_initializer,
353 kernel_initializer = init_ops.constant_initializer(0.)
360 kernel_initializer=kernel_initializer,
390 kernel_initializer = init_ops.constant_initializer(3.14)
398 kernel_initializer=kernel_initializer,
/external/tensorflow/tensorflow/contrib/gan/python/features/python/
Dspectral_normalization_test.py183 kernel_initializer=w_initializer,
254 kernel_initializer=w_initializer,
270 kernel_initializer=w_initializer,
342 kernel_initializer=w_initializer,
/external/tensorflow/tensorflow/contrib/seq2seq/python/ops/
Dattention_wrapper.py1038 kernel_initializer="glorot_uniform", argument
1080 self.kernel_initializer = initializers.get(kernel_initializer)
1100 initializer=self.kernel_initializer)
1139 "kernel_initializer": initializers.serialize(self.kernel_initializer)
1506 kernel_initializer="glorot_uniform", argument
1557 self.kernel_initializer = initializers.get(kernel_initializer)
1577 initializer=self.kernel_initializer)
1626 "kernel_initializer": initializers.serialize(self.kernel_initializer),

12345