/external/tensorflow/tensorflow/python/keras/ |
D | testing_utils.py | 450 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 …]
|
D | optimizers_test.py | 38 def _get_model(input_dim, num_hidden, output_dim): argument 40 model.add(keras.layers.Dense(num_hidden,
|
D | callbacks_v1_test.py | 324 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)
|
D | callbacks_test.py | 1018 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/ |
D | sequential_test.py | 73 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 …]
|
D | training_generator_test.py | 102 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)
|
D | training_test.py | 939 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/ |
D | optimizer_v2_test.py | 598 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/ |
D | save_weights_test.py | 220 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/ |
D | profile.rb | 304 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/ |
D | model_subclassing_test.py | 138 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)
|
D | model_subclassing_test_util.py | 72 num_hidden=32, num_classes=4, use_bn=True, use_dp=True)
|
D | model_subclassing_compiled_test.py | 47 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)
|