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.py399 def get_small_sequential_mlp(num_hidden, num_classes, input_dim=None): argument
402 model.add(keras.layers.Dense(num_hidden, activation='relu',
405 model.add(keras.layers.Dense(num_hidden, activation='relu'))
411 def get_small_functional_mlp(num_hidden, num_classes, input_dim): argument
413 outputs = keras.layers.Dense(num_hidden, activation='relu')(inputs)
422 def __init__(self, num_hidden, num_classes, use_bn=False, use_dp=False): argument
427 self.layer_a = keras.layers.Dense(num_hidden, activation='relu')
447 def __init__(self, num_hidden, num_classes): argument
451 self.num_hidden = num_hidden
455 self.layer_a = keras.layers.Dense(self.num_hidden, activation='relu')
[all …]
Doptimizers_test.py36 def _get_model(input_dim, num_hidden, output_dim): argument
38 model.add(keras.layers.Dense(num_hidden,
Dcallbacks_v1_test.py322 num_hidden=10, num_classes=10, input_dim=100)
372 num_hidden=NUM_HIDDEN, num_classes=NUM_CLASSES, input_dim=INPUT_DIM)
483 num_hidden=NUM_HIDDEN, num_classes=NUM_CLASSES, input_dim=INPUT_DIM)
Dcallbacks_test.py845 num_hidden=NUM_HIDDEN, num_classes=NUM_CLASSES, input_dim=INPUT_DIM)
903 num_hidden=1, num_classes=1, input_dim=1)
974 num_hidden=NUM_HIDDEN, num_classes=NUM_CLASSES, input_dim=INPUT_DIM)
1049 num_hidden=NUM_HIDDEN, num_classes=NUM_CLASSES, input_dim=INPUT_DIM)
1155 num_hidden=NUM_HIDDEN, num_classes=NUM_CLASSES, input_dim=INPUT_DIM)
1412 num_hidden=10, num_classes=2, input_dim=3)
/external/tensorflow/tensorflow/python/keras/engine/
Dsequential_test.py70 num_hidden = 5
76 num_hidden, num_classes, input_dim)
87 self.assertEqual(model.output_shape, (None, num_hidden))
93 y = np.random.random((batch_size, num_hidden))
98 model.add(keras.layers.Dense(num_hidden, input_dim=input_dim))
110 num_hidden = 5
115 model = testing_utils.get_small_sequential_mlp(num_hidden, num_classes)
137 num_hidden = 5
143 model = testing_utils.get_small_sequential_mlp(num_hidden, num_classes)
287 num_hidden = 5
[all …]
Dtraining_generator_test.py99 num_hidden=3, num_classes=4, input_dim=2)
137 num_hidden=3, num_classes=4, input_dim=2)
166 num_hidden=3, num_classes=4, input_dim=2)
202 num_hidden=3, num_classes=4, input_dim=2)
241 num_hidden=3, num_classes=4, input_dim=2)
286 num_hidden=10, num_classes=1, input_dim=10)
303 num_hidden=3, num_classes=4, input_dim=2)
342 num_hidden=10, num_classes=1, input_dim=10)
428 num_hidden=3, num_classes=4, input_dim=2)
471 num_hidden=10, num_classes=1, input_dim=10)
Dtraining_test.py94 num_hidden=10, num_classes=2, input_dim=3)
107 num_hidden=10, num_classes=2, input_dim=3)
184 num_hidden=10, num_classes=2, input_dim=3)
195 num_hidden=10, num_classes=2, input_dim=3)
209 num_hidden=10, num_classes=2, input_dim=3)
222 num_hidden=10, num_classes=2, input_dim=3)
237 num_hidden=10, num_classes=2, input_dim=3)
252 num_hidden=10, num_classes=2, input_dim=3)
1112 num_hidden=10, num_classes=num_classes, input_dim=input_dim)
1577 num_hidden=10, num_classes=num_classes, input_dim=input_dim)
[all …]
/external/tensorflow/tensorflow/python/keras/optimizer_v2/
Doptimizer_v2_test.py583 num_hidden = 1
585 num_hidden=num_hidden, num_classes=num_classes)
662 num_hidden = 5
664 num_hidden=num_hidden, num_classes=num_classes, input_dim=input_dim)
674 num_hidden=num_hidden, num_classes=num_classes, input_dim=input_dim)
750 num_hidden = 5
752 num_hidden=num_hidden, num_classes=num_classes, input_dim=input_dim)
754 num_hidden=num_hidden, num_classes=num_classes, input_dim=input_dim)
757 num_hidden=num_hidden, num_classes=num_classes, input_dim=input_dim)
811 num_hidden = 5
[all …]
/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/saving/
Dhdf5_format_test.py222 num_hidden = 5
229 model.add(keras.layers.Dense(num_hidden, input_dim=input_dim))
238 model.add(keras.layers.Dense(num_hidden, input_dim=input_dim))
294 num_hidden = 5
299 ref_model.add(keras.layers.Dense(num_hidden, input_dim=input_dim,
311 model.add(keras.layers.Dense(num_hidden, use_bias=False,
337 num_hidden = 5
342 ref_model.add(keras.layers.Dense(num_hidden, input_dim=input_dim,
355 model.add(keras.layers.Dense(num_hidden + 5, input_dim=input_dim,
/external/tensorflow/tensorflow/python/keras/tests/
Dmodel_subclassing_test.py139 num_hidden=32, num_classes=num_classes, use_dp=True, use_bn=True)
216 num_hidden=32, num_classes=num_classes, use_dp=True, use_bn=True)
233 num_hidden=32, num_classes=num_classes, use_dp=True, use_bn=True)
342 num_hidden=32, num_classes=4, use_bn=True, use_dp=True)
495 num_hidden=32, num_classes=num_classes, use_dp=True, use_bn=True)
Dmodel_subclassing_compiled_test.py47 num_hidden=32, num_classes=num_classes, use_dp=True, use_bn=True)
90 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)