Home
last modified time | relevance | path

Searched refs:num_hidden (Results 1 – 13 of 13) sorted by relevance

/external/tensorflow/tensorflow/python/keras/
Dtesting_utils.py450 def get_small_sequential_mlp(num_hidden, num_classes, input_dim=None): argument
453 model.add(layers.Dense(num_hidden, activation='relu', input_dim=input_dim))
455 model.add(layers.Dense(num_hidden, activation='relu'))
461 def get_small_functional_mlp(num_hidden, num_classes, input_dim): argument
463 outputs = layers.Dense(num_hidden, activation='relu')(inputs)
472 def __init__(self, num_hidden, num_classes, use_bn=False, use_dp=False): argument
477 self.layer_a = layers.Dense(num_hidden, activation='relu')
497 def __init__(self, num_hidden, num_classes): argument
501 self.num_hidden = num_hidden
505 self.layer_a = layers.Dense(self.num_hidden, activation='relu')
[all …]
Doptimizers_test.py38 def _get_model(input_dim, num_hidden, output_dim): argument
40 model.add(keras.layers.Dense(num_hidden,
Dcallbacks_v1_test.py324 num_hidden=10, num_classes=10, input_dim=100)
374 num_hidden=NUM_HIDDEN, num_classes=NUM_CLASSES, input_dim=INPUT_DIM)
485 num_hidden=NUM_HIDDEN, num_classes=NUM_CLASSES, input_dim=INPUT_DIM)
Dcallbacks_test.py1018 num_hidden=NUM_HIDDEN, num_classes=NUM_CLASSES, input_dim=INPUT_DIM)
1074 num_hidden=1, num_classes=1, input_dim=1)
1165 num_hidden=NUM_HIDDEN, num_classes=NUM_CLASSES, input_dim=INPUT_DIM)
1240 num_hidden=NUM_HIDDEN, num_classes=NUM_CLASSES, input_dim=INPUT_DIM)
1346 num_hidden=NUM_HIDDEN, num_classes=NUM_CLASSES, input_dim=INPUT_DIM)
/external/tensorflow/tensorflow/python/keras/engine/
Dsequential_test.py73 num_hidden = 5
79 num_hidden, num_classes, input_dim)
89 self.assertEqual(model.output_shape, (None, num_hidden))
94 y = np.random.random((batch_size, num_hidden))
99 model.add(keras.layers.Dense(num_hidden, input_dim=input_dim))
111 num_hidden = 5
116 model = testing_utils.get_small_sequential_mlp(num_hidden, num_classes)
136 num_hidden = 5
142 model = testing_utils.get_small_sequential_mlp(num_hidden, num_classes)
261 num_hidden = 5
[all …]
Dtraining_generator_test.py102 num_hidden=3, num_classes=4, input_dim=2)
140 num_hidden=3, num_classes=4, input_dim=2)
168 num_hidden=3, num_classes=4, input_dim=2)
203 num_hidden=3, num_classes=4, input_dim=2)
241 num_hidden=3, num_classes=4, input_dim=2)
284 num_hidden=10, num_classes=1, input_dim=10)
300 num_hidden=3, num_classes=4, input_dim=2)
399 num_hidden=3, num_classes=4, input_dim=2)
442 num_hidden=10, num_classes=1, input_dim=10)
Dtraining_test.py939 num_hidden=10, num_classes=num_classes, input_dim=input_dim)
1781 num_hidden=10, num_classes=num_classes, input_dim=input_dim)
/external/tensorflow/tensorflow/python/keras/optimizer_v2/
Doptimizer_v2_test.py598 num_hidden = 1
600 num_hidden=num_hidden, num_classes=num_classes)
721 num_hidden = 5
723 num_hidden=num_hidden, num_classes=num_classes, input_dim=input_dim)
732 num_hidden=num_hidden, num_classes=num_classes, input_dim=input_dim)
807 num_hidden = 5
809 num_hidden=num_hidden, num_classes=num_classes, input_dim=input_dim)
811 num_hidden=num_hidden, num_classes=num_classes, input_dim=input_dim)
814 num_hidden=num_hidden, num_classes=num_classes, input_dim=input_dim)
864 num_hidden = 5
[all …]
/external/tensorflow/tensorflow/python/keras/saving/
Dsave_weights_test.py220 num_hidden = 5
227 model.add(keras.layers.Dense(num_hidden, input_dim=input_dim))
236 model.add(keras.layers.Dense(num_hidden, input_dim=input_dim))
287 num_hidden = 5
292 ref_model.add(keras.layers.Dense(num_hidden, input_dim=input_dim,
304 model.add(keras.layers.Dense(num_hidden, use_bias=False,
327 num_hidden = 5
332 ref_model.add(keras.layers.Dense(num_hidden, input_dim=input_dim,
345 model.add(keras.layers.Dense(num_hidden + 5, input_dim=input_dim,
/external/antlr/runtime/Ruby/lib/antlr3/
Dprofile.rb304 num_hidden = input.tokens( starting_index, this_ref_index ).count { |t| t.hidden? }
305 depth = i + this_ref_index - starting_index - num_hidden
/external/tensorflow/tensorflow/python/keras/tests/
Dmodel_subclassing_test.py138 num_hidden=32, num_classes=num_classes, use_dp=True, use_bn=True)
215 num_hidden=32, num_classes=num_classes, use_dp=True, use_bn=True)
232 num_hidden=32, num_classes=num_classes, use_dp=True, use_bn=True)
341 num_hidden=32, num_classes=4, use_bn=True, use_dp=True)
357 num_hidden=32, num_classes=4, use_bn=True, use_dp=True)
499 num_hidden=32, num_classes=num_classes, use_dp=True, use_bn=True)
Dmodel_subclassing_test_util.py72 num_hidden=32, num_classes=4, use_bn=True, use_dp=True)
Dmodel_subclassing_compiled_test.py47 num_hidden=32, num_classes=num_classes, use_dp=True, use_bn=True)
88 num_hidden=32, num_classes=num_classes, use_dp=True, use_bn=True)