Home
last modified time | relevance | path

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

12345

/external/tensorflow/tensorflow/python/keras/layers/
Dkernelized.py153 kernel_initializer='gaussian', argument
162 if isinstance(kernel_initializer, six.string_types):
163 if kernel_initializer.lower() not in _SUPPORTED_RBF_KERNEL_TYPES:
166 .format(kernel_initializer, _SUPPORTED_RBF_KERNEL_TYPES))
173 self.kernel_initializer = kernel_initializer
192 kernel_initializer = _get_random_features_initializer(
193 self.kernel_initializer, shape=(input_dim, self.output_dim))
199 initializer=kernel_initializer,
211 self.scale = _get_default_scale(self.kernel_initializer, input_dim)
239 kernel_initializer = self.kernel_initializer
[all …]
Dserialization_test.py51 3, activation='relu', kernel_initializer='ones', bias_regularizer='l2')
58 self.assertEqual(new_layer.kernel_initializer.__class__,
61 self.assertEqual(new_layer.kernel_initializer.__class__,
69 kernel_initializer='ones',
82 kernel_initializer='ones',
93 self.assertEqual(new_layer.kernel_initializer.__class__,
96 self.assertEqual(new_layer.kernel_initializer.__class__,
Dlocal.py127 kernel_initializer='glorot_uniform', argument
148 self.kernel_initializer = initializers.get(kernel_initializer)
180 initializer=self.kernel_initializer,
195 initializer=self.kernel_initializer,
224 initializer=self.kernel_initializer,
305 initializers.serialize(self.kernel_initializer),
429 kernel_initializer='glorot_uniform', argument
450 self.kernel_initializer = initializers.get(kernel_initializer)
486 initializer=self.kernel_initializer,
501 initializer=self.kernel_initializer,
[all …]
Dkernelized_test.py123 kernel_initializer=initializer,
127 self.assertEqual(rff_layer.kernel_initializer, initializer)
137 kernel_initializer=initializer,
170 kernel_initializer=initializer,
180 kernel_initializer=initializer,
263 self.assertEqual(rff_layer.kernel_initializer, initializer)
286 kernel_initializer=initializer,
303 kernel_initializer=initializer,
308 kernel_initializer=initializer,
342 kernel_initializer=initializer,
[all …]
Drecurrent.py1306 kernel_initializer='glorot_uniform', argument
1328 self.kernel_initializer = initializers.get(kernel_initializer)
1351 initializer=self.kernel_initializer,
1408 initializers.serialize(self.kernel_initializer),
1527 kernel_initializer='glorot_uniform', argument
1559 kernel_initializer=kernel_initializer,
1601 def kernel_initializer(self): member in SimpleRNN
1602 return self.cell.kernel_initializer
1653 initializers.serialize(self.kernel_initializer),
1743 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,
322 'kernel_initializer': initializers.serialize(self.kernel_initializer),
385 kernel_initializer='glorot_uniform', argument
411 self.kernel_initializer = initializers.get(kernel_initializer)
438 initializer=self.kernel_initializer,
524 'kernel_initializer': initializers.serialize(self.kernel_initializer),
Deinsum_dense.py117 kernel_initializer="glorot_uniform", argument
133 self.kernel_initializer = initializers.get(kernel_initializer)
150 initializer=self.kernel_initializer,
183 initializers.serialize(self.kernel_initializer),
Dconvolutional_recurrent.py501 kernel_initializer='glorot_uniform', argument
526 self.kernel_initializer = initializers.get(kernel_initializer)
558 initializer=self.kernel_initializer,
678 self.kernel_initializer),
838 kernel_initializer='glorot_uniform', argument
865 kernel_initializer=kernel_initializer,
929 def kernel_initializer(self): member in ConvLSTM2D
930 return self.cell.kernel_initializer
988 self.kernel_initializer),
Dconvolutional.py124 kernel_initializer='glorot_uniform', argument
157 self.kernel_initializer = initializers.get(kernel_initializer)
202 initializer=self.kernel_initializer,
329 initializers.serialize(self.kernel_initializer),
494 kernel_initializer='glorot_uniform', argument
513 kernel_initializer=initializers.get(kernel_initializer),
653 kernel_initializer='glorot_uniform', argument
672 kernel_initializer=initializers.get(kernel_initializer),
800 kernel_initializer='glorot_uniform', argument
819 kernel_initializer=initializers.get(kernel_initializer),
[all …]
Drecurrent_v2.py186 kernel_initializer='glorot_uniform', argument
204 kernel_initializer=kernel_initializer,
354 kernel_initializer='glorot_uniform', argument
383 kernel_initializer=kernel_initializer,
924 kernel_initializer='glorot_uniform', argument
942 kernel_initializer=kernel_initializer,
1077 kernel_initializer='glorot_uniform', argument
1106 kernel_initializer=kernel_initializer,
Dmulti_head_attention.py225 kernel_initializer="glorot_uniform", argument
240 self._kernel_initializer = initializers.get(kernel_initializer)
336 kernel_initializer=self._kernel_initializer,
/external/tensorflow/tensorflow/python/keras/legacy_tf_layers/
Dconvolutional.py92 kernel_initializer=None, argument
111 kernel_initializer=kernel_initializer,
132 kernel_initializer=None, argument
214 kernel_initializer=kernel_initializer,
297 kernel_initializer=None, argument
316 kernel_initializer=kernel_initializer,
337 kernel_initializer=None, argument
426 kernel_initializer=kernel_initializer,
510 kernel_initializer=None, argument
529 kernel_initializer=kernel_initializer,
[all …]
Dcore.py88 kernel_initializer=None, argument
101 kernel_initializer=kernel_initializer,
118 kernel_initializer=None, argument
177 kernel_initializer=kernel_initializer,
/external/tensorflow/tensorflow/python/keras/benchmarks/
Dmodel_components_benchmarks_test.py38 64, kernel_initializer=initializer, bias_initializer="zeros")
40 128, kernel_initializer=initializer, bias_initializer="zeros")
42 256, kernel_initializer=initializer, bias_initializer="zeros")
44 256, kernel_initializer=initializer, bias_initializer="zeros")
46 10, kernel_initializer=initializer, bias_initializer="zeros")
59 64, kernel_initializer=initializer, bias_initializer="zeros")(model_input)
61 128, kernel_initializer=initializer, bias_initializer="zeros")(x)
63 256, kernel_initializer=initializer, bias_initializer="zeros")(x)
65 256, kernel_initializer=initializer, bias_initializer="zeros")(x)
67 10, kernel_initializer=initializer, bias_initializer="zeros")(x)
[all …]
/external/tensorflow/tensorflow/python/keras/engine/
Dtraining_eager_test.py49 1, kernel_initializer='zeros', bias_initializer='ones')
243 kernel_initializer='ones'),
244 keras.layers.Dense(2, activation='softmax', kernel_initializer='ones')]
264 kernel_initializer='ones'),
265 keras.layers.Dense(2, activation='softmax', kernel_initializer='ones')]
286 kernel_initializer='ones'),
287 keras.layers.Dense(2, activation='softmax', kernel_initializer='ones')]
321 kernel_initializer='ones')(
/external/tensorflow/tensorflow/python/keras/applications/
Dnasnet.py217 kernel_initializer='he_normal')(
510 kernel_initializer='he_normal')(
525 kernel_initializer='he_normal')(
575 kernel_initializer='he_normal')(
590 kernel_initializer='he_normal')(
610 kernel_initializer='he_normal')(
645 kernel_initializer='he_normal')(
724 kernel_initializer='he_normal')(
Defficientnet.py328 kernel_initializer=CONV_KERNEL_INITIALIZER,
363 kernel_initializer=CONV_KERNEL_INITIALIZER,
375 kernel_initializer=DENSE_KERNEL_INITIALIZER,
452 kernel_initializer=CONV_KERNEL_INITIALIZER,
492 kernel_initializer=CONV_KERNEL_INITIALIZER,
500 kernel_initializer=CONV_KERNEL_INITIALIZER,
510 kernel_initializer=CONV_KERNEL_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/profiler/integration_test/
Dmnist_testing_utils.py54 kernel_initializer=tf.keras.initializers.TruncatedNormal(seed=99))(
61 kernel_initializer=tf.keras.initializers.TruncatedNormal(seed=99))(
/external/tensorflow/tensorflow/python/keras/distribute/
Dmulti_worker_testing_utils.py59 kernel_initializer=keras.initializers.TruncatedNormal(seed=99))(inputs)
65 kernel_initializer=keras.initializers.TruncatedNormal(seed=99))(x)
Dkeras_dnn_correctness_test.py152 keras.layers.Dense(1, input_shape=(1,), kernel_initializer='ones'))
193 3, activation='relu', input_dim=4, kernel_initializer='ones'))
196 1, activation='sigmoid', kernel_initializer='ones'))
/external/tensorflow/tensorflow/python/keras/premade/
Dwide_deep_test.py60 linear_model = linear.LinearModel(units=1, kernel_initializer='zeros')
62 [core.Dense(units=1, kernel_initializer='zeros')])
206 use_bias=False, kernel_initializer='zeros')
236 use_bias=False, kernel_initializer='zeros')
/external/tensorflow/tensorflow/python/keras/utils/
Dgeneric_utils_test.py209 kernel_initializer='ones',
254 kernel_initializer='ones',
298 kernel_initializer='ones',
351 keras.layers.Dense(32, input_dim=784, kernel_initializer='Ones'),
/external/tensorflow/tensorflow/python/keras/
Dmetrics_correctness_test.py37 x = layers.Dense(3, kernel_initializer='ones', trainable=False)
39 1, kernel_initializer='ones', name='output_1', trainable=False)
41 1, kernel_initializer='ones', name='output_2', trainable=False)
351 x = layers.Dense(3, kernel_initializer='ones', trainable=False)
353 1, kernel_initializer='ones', name='output', trainable=False)
Dinitializers_test.py236 outputs = core.Dense(1, kernel_initializer=my_initializer)(inputs)
240 self.assertEqual(model2.layers[1].kernel_initializer, my_initializer)

12345