SYMBOL INDEX (282 symbols across 15 files) FILE: nn_builder/Overall_Base_Network.py class Overall_Base_Network (line 3) | class Overall_Base_Network(ABC): method __init__ (line 5) | def __init__(self, input_dim, layers_info, output_activation, hidden_a... method check_all_user_inputs_valid (line 32) | def check_all_user_inputs_valid(self): method create_hidden_layers (line 37) | def create_hidden_layers(self): method create_output_layers (line 42) | def create_output_layers(self): method create_batch_norm_layers (line 47) | def create_batch_norm_layers(self): method create_dropout_layer (line 52) | def create_dropout_layer(self): method print_model_summary (line 57) | def print_model_summary(self): method set_all_random_seeds (line 62) | def set_all_random_seeds(self, random_seed): method check_NN_layers_valid (line 66) | def check_NN_layers_valid(self): method check_NN_input_dim_valid (line 86) | def check_NN_input_dim_valid(self): method check_activations_valid (line 91) | def check_activations_valid(self): method check_embedding_dimensions_valid (line 110) | def check_embedding_dimensions_valid(self): method check_y_range_values_valid (line 117) | def check_y_range_values_valid(self): method check_timesteps_to_output_valid (line 125) | def check_timesteps_to_output_valid(self): method check_initialiser_valid (line 129) | def check_initialiser_valid(self): method check_return_final_seq_only_valid (line 135) | def check_return_final_seq_only_valid(self): method get_activation (line 139) | def get_activation(self, activations, ix=None): FILE: nn_builder/pytorch/Base_Network.py class Base_Network (line 8) | class Base_Network(Overall_Base_Network, ABC): method __init__ (line 10) | def __init__(self, input_dim, layers_info, output_activation, method initialise_all_parameters (line 21) | def initialise_all_parameters(self): method forward (line 26) | def forward(self, input_data): method check_input_data_into_forward_once (line 31) | def check_input_data_into_forward_once(self, input_data): method set_all_random_seeds (line 36) | def set_all_random_seeds(self, random_seed): method create_str_to_activations_converter (line 44) | def create_str_to_activations_converter(self): method create_str_to_initialiser_converter (line 55) | def create_str_to_initialiser_converter(self): method create_dropout_layer (line 66) | def create_dropout_layer(self): method create_embedding_layers (line 70) | def create_embedding_layers(self): method initialise_parameters (line 78) | def initialise_parameters(self, parameters_list): method flatten_tensor (line 89) | def flatten_tensor(self, tensor): method print_model_summary (line 93) | def print_model_summary(self): FILE: nn_builder/pytorch/CNN.py class CNN (line 6) | class CNN(nn.Module, Base_Network): method __init__ (line 32) | def __init__(self, input_dim, layers_info, output_activation=None, method flatten_tensor (line 42) | def flatten_tensor(self, tensor): method check_all_user_inputs_valid (line 51) | def check_all_user_inputs_valid(self): method check_CNN_input_dim_valid (line 59) | def check_CNN_input_dim_valid(self): method check_CNN_layers_valid (line 65) | def check_CNN_layers_valid(self): method create_hidden_layers (line 139) | def create_hidden_layers(self): method create_and_append_layer (line 148) | def create_and_append_layer(self, input_dim, layer, list_to_append_lay... method calculate_new_dimensions (line 174) | def calculate_new_dimensions(self, input_dim, layer): method create_output_layers (line 196) | def create_output_layers(self): method initialise_all_parameters (line 205) | def initialise_all_parameters(self): method create_batch_norm_layers (line 213) | def create_batch_norm_layers(self): method forward (line 224) | def forward(self, x): method check_input_data_into_forward_once (line 232) | def check_input_data_into_forward_once(self, x): method process_hidden_layers (line 239) | def process_hidden_layers(self, x): method process_output_layers (line 258) | def process_output_layers(self, x): FILE: nn_builder/pytorch/NN.py class NN (line 6) | class NN(nn.Module, Base_Network): method __init__ (line 29) | def __init__(self, input_dim, layers_info, output_activation=None, method check_all_user_inputs_valid (line 40) | def check_all_user_inputs_valid(self): method create_hidden_layers (line 49) | def create_hidden_layers(self): method create_output_layers (line 58) | def create_output_layers(self): method create_batch_norm_layers (line 69) | def create_batch_norm_layers(self): method initialise_all_parameters (line 74) | def initialise_all_parameters(self): method forward (line 80) | def forward(self, x): method check_input_data_into_forward_once (line 89) | def check_input_data_into_forward_once(self, x): method incorporate_embeddings (line 104) | def incorporate_embeddings(self, x): method process_hidden_layers (line 116) | def process_hidden_layers(self, x): method process_output_layers (line 124) | def process_output_layers(self, x): FILE: nn_builder/pytorch/RNN.py class RNN (line 6) | class RNN(nn.Module, Base_Network): method __init__ (line 37) | def __init__(self, input_dim, layers_info, output_activation=None, method check_all_user_inputs_valid (line 51) | def check_all_user_inputs_valid(self): method check_RNN_layers_valid (line 61) | def check_RNN_layers_valid(self): method create_hidden_layers (line 98) | def create_hidden_layers(self): method create_and_append_layer (line 108) | def create_and_append_layer(self, input_dim, layer, RNN_hidden_layers): method create_output_layers (line 123) | def create_output_layers(self): method initialise_all_parameters (line 132) | def initialise_all_parameters(self): method create_batch_norm_layers (line 138) | def create_batch_norm_layers(self): method get_activation (line 143) | def get_activation(self, activations, ix=None): method forward (line 151) | def forward(self, x): method check_input_data_into_forward_once (line 162) | def check_input_data_into_forward_once(self, x): method incorporate_embeddings (line 179) | def incorporate_embeddings(self, x, batch_size, seq_length): method process_hidden_layers (line 194) | def process_hidden_layers(self, x, batch_size, seq_length): method process_output_layers (line 212) | def process_output_layers(self, x, batch_size, seq_length): FILE: nn_builder/tensorflow/Base_Network.py class Base_Network (line 10) | class Base_Network(Overall_Base_Network, ABC): method __init__ (line 12) | def __init__(self, layers_info, output_activation, hidden_activations,... method call (line 19) | def call(self, x, training=True): method create_and_append_layer (line 24) | def create_and_append_layer(self, layer, list_to_append_layer_to, acti... method set_all_random_seeds (line 28) | def set_all_random_seeds(self, random_seed): method create_str_to_activations_converter (line 34) | def create_str_to_activations_converter(self): method create_str_to_initialiser_converter (line 43) | def create_str_to_initialiser_converter(self): method create_dropout_layer (line 53) | def create_dropout_layer(self): method create_hidden_layers (line 57) | def create_hidden_layers(self): method create_output_layers (line 65) | def create_output_layers(self): method create_embedding_layers (line 80) | def create_embedding_layers(self): method create_batch_norm_layers (line 88) | def create_batch_norm_layers(self): method print_model_summary (line 95) | def print_model_summary(self, input_shape=None): FILE: nn_builder/tensorflow/CNN.py class CNN (line 7) | class CNN(Model, Base_Network): method __init__ (line 31) | def __init__(self, layers_info, output_activation=None, hidden_activat... method check_all_user_inputs_valid (line 39) | def check_all_user_inputs_valid(self): method check_CNN_layers_valid (line 46) | def check_CNN_layers_valid(self): method create_and_append_layer (line 111) | def create_and_append_layer(self, layer, list_to_append_layer_to, acti... method create_batch_norm_layers (line 131) | def create_batch_norm_layers(self): method call (line 140) | def call(self, x, training=True): method process_hidden_layers (line 147) | def process_hidden_layers(self, x, training): method process_output_layers (line 167) | def process_output_layers(self, x): FILE: nn_builder/tensorflow/NN.py class NN (line 8) | class NN(Model, Base_Network): method __init__ (line 29) | def __init__(self, layers_info, output_activation=None, hidden_activat... method check_all_user_inputs_valid (line 40) | def check_all_user_inputs_valid(self): method create_and_append_layer (line 48) | def create_and_append_layer(self, layer, list_to_append_layer_to, acti... method call (line 52) | def call(self, x, training=True): method incorporate_embeddings (line 59) | def incorporate_embeddings(self, x): method process_hidden_layers (line 76) | def process_hidden_layers(self, x, training): method process_output_layers (line 85) | def process_output_layers(self, x): FILE: nn_builder/tensorflow/RNN.py class RNN (line 7) | class RNN(Model, Base_Network): method __init__ (line 36) | def __init__(self, layers_info, output_activation=None, hidden_activat... method check_all_user_inputs_valid (line 49) | def check_all_user_inputs_valid(self): method check_RNN_layers_valid (line 58) | def check_RNN_layers_valid(self): method create_and_append_layer (line 94) | def create_and_append_layer(self, layer, rnn_hidden_layers, activation... method call (line 113) | def call(self, x, training=True): method incorporate_embeddings (line 122) | def incorporate_embeddings(self, x): method process_hidden_layers (line 139) | def process_hidden_layers(self, x, training): method process_output_layers (line 155) | def process_output_layers(self, x, restricted_to_final_seq): FILE: tests/pytorch_tests/test_pytorch_CNN.py function test_user_hidden_layers_input_rejections (line 18) | def test_user_hidden_layers_input_rejections(): function test_user_hidden_layers_input_acceptances (line 32) | def test_user_hidden_layers_input_acceptances(): function test_hidden_layers_created_correctly (line 46) | def test_hidden_layers_created_correctly(): function test_output_layers_created_correctly (line 90) | def test_output_layers_created_correctly(): function test_output_dim_user_input (line 130) | def test_output_dim_user_input(): function test_activations_user_input (line 139) | def test_activations_user_input(): function test_initialiser_user_input (line 149) | def test_initialiser_user_input(): function test_batch_norm_layers (line 160) | def test_batch_norm_layers(): function test_linear_layers_acceptance (line 181) | def test_linear_layers_acceptance(): function test_linear_layers_only_come_at_end (line 194) | def test_linear_layers_only_come_at_end(): function test_output_activation (line 210) | def test_output_activation(): function test_y_range (line 258) | def test_y_range(): function test_deals_with_None_activation (line 273) | def test_deals_with_None_activation(): function test_check_input_data_into_forward_once (line 279) | def test_check_input_data_into_forward_once(): function test_y_range_user_input (line 294) | def test_y_range_user_input(): function test_model_trains (line 304) | def test_model_trains(): function test_model_trains_linear_layer (line 350) | def test_model_trains_linear_layer(): function test_max_pool_working (line 363) | def test_max_pool_working(): function test_dropout (line 373) | def test_dropout(): function solves_simple_problem (line 387) | def solves_simple_problem(X, y, nn_instance): function test_MNIST_progress (line 399) | def test_MNIST_progress(): function test_all_activations_work (line 446) | def test_all_activations_work(): function test_all_initialisers_work (line 459) | def test_all_initialisers_work(): function test_print_model_summary (line 471) | def test_print_model_summary(): function test_output_heads_error_catching (line 477) | def test_output_heads_error_catching(): function test_output_head_layers (line 493) | def test_output_head_layers(): function test_output_head_activations_work (line 503) | def test_output_head_activations_work(): function test_output_head_shapes_correct (line 528) | def test_output_head_shapes_correct(): FILE: tests/pytorch_tests/test_pytorch_NN.py function test_linear_hidden_units_user_input (line 21) | def test_linear_hidden_units_user_input(): function test_input_dim_output_dim_user_input (line 28) | def test_input_dim_output_dim_user_input(): function test_activations_user_input (line 35) | def test_activations_user_input(): function test_initialiser_user_input (line 45) | def test_initialiser_user_input(): function test_output_shape_correct (line 55) | def test_output_shape_correct(): function test_output_activation (line 68) | def test_output_activation(): function test_linear_layers (line 101) | def test_linear_layers(): function test_embedding_layers (line 118) | def test_embedding_layers(): function test_non_integer_embeddings_rejected (line 131) | def test_non_integer_embeddings_rejected(): function test_incorporate_embeddings (line 140) | def test_incorporate_embeddings(): function test_embedding_network_can_solve_simple_problem (line 151) | def test_embedding_network_can_solve_simple_problem(): function test_batch_norm_layers (line 162) | def test_batch_norm_layers(): function test_model_trains (line 176) | def test_model_trains(): function solves_simple_problem (line 188) | def solves_simple_problem(X, y, nn_instance): function test_dropout (line 199) | def test_dropout(): function test_y_range_user_input (line 207) | def test_y_range_user_input(): function test_y_range (line 216) | def test_y_range(): function test_deals_with_None_activation (line 229) | def test_deals_with_None_activation(): function test_check_input_data_into_forward_once (line 233) | def test_check_input_data_into_forward_once(): function test_all_activations_work (line 249) | def test_all_activations_work(): function test_all_initialisers_work (line 258) | def test_all_initialisers_work(): function test_print_model_summary (line 265) | def test_print_model_summary(): function test_output_heads_error_catching (line 269) | def test_output_heads_error_catching(): function test_output_head_layers (line 283) | def test_output_head_layers(): function test_output_head_activations_work (line 293) | def test_output_head_activations_work(): function test_output_head_shapes_correct (line 305) | def test_output_head_shapes_correct(): function train_on_boston_housing (line 323) | def train_on_boston_housing(model, X, y): function test_boston_housing_progress (line 340) | def test_boston_housing_progress(): FILE: tests/pytorch_tests/test_pytorch_RNN.py function test_user_hidden_layers_input_rejections (line 17) | def test_user_hidden_layers_input_rejections(): function test_user_hidden_layers_input_acceptances (line 26) | def test_user_hidden_layers_input_acceptances(): function test_hidden_layers_created_correctly (line 35) | def test_hidden_layers_created_correctly(): function test_output_layers_created_correctly (line 59) | def test_output_layers_created_correctly(): function test_output_dim_user_input (line 86) | def test_output_dim_user_input(): function test_activations_user_input (line 95) | def test_activations_user_input(): function test_initialiser_user_input (line 105) | def test_initialiser_user_input(): function test_batch_norm_layers (line 116) | def test_batch_norm_layers(): function test_linear_layers_only_come_at_end (line 126) | def test_linear_layers_only_come_at_end(): function test_output_activation (line 138) | def test_output_activation(): function test_output_activation_return_return_final_seq_only_off (line 218) | def test_output_activation_return_return_final_seq_only_off(): function test_y_range (line 300) | def test_y_range(): function test_deals_with_None_activation (line 316) | def test_deals_with_None_activation(): function test_check_input_data_into_forward_once (line 322) | def test_check_input_data_into_forward_once(): function test_y_range_user_input (line 337) | def test_y_range_user_input(): function solves_simple_problem (line 347) | def solves_simple_problem(X, y, nn_instance): function test_model_trains (line 359) | def test_model_trains(): function test_error_when_provide_negative_data_for_embedding (line 390) | def test_error_when_provide_negative_data_for_embedding(): function test_embedding_layers (line 409) | def test_embedding_layers(): function test_model_trains_with_embeddings (line 422) | def test_model_trains_with_embeddings(): function test_dropout (line 453) | def test_dropout(): function test_all_activations_work (line 467) | def test_all_activations_work(): function test_all_initialisers_work (line 480) | def test_all_initialisers_work(): function test_output_shapes (line 491) | def test_output_shapes(): function test_return_final_seq_user_input_valid (line 513) | def test_return_final_seq_user_input_valid(): function test_print_model_summary (line 525) | def test_print_model_summary(): function test_output_heads_error_catching (line 531) | def test_output_heads_error_catching(): function test_output_head_layers (line 545) | def test_output_head_layers(): function test_output_head_activations_work (line 555) | def test_output_head_activations_work(): function test_output_head_shapes_correct (line 579) | def test_output_head_shapes_correct(): FILE: tests/tensorflow_tests/test_tf_CNN.py function test_user_hidden_layers_input_rejections (line 17) | def test_user_hidden_layers_input_rejections(): function test_user_hidden_layers_input_acceptances (line 31) | def test_user_hidden_layers_input_acceptances(): function test_hidden_layers_created_correctly (line 43) | def test_hidden_layers_created_correctly(): function test_output_layers_created_correctly (line 77) | def test_output_layers_created_correctly(): function test_output_dim_user_input (line 102) | def test_output_dim_user_input(): function test_activations_user_input (line 111) | def test_activations_user_input(): function test_initialiser_user_input (line 121) | def test_initialiser_user_input(): function test_batch_norm_layers (line 132) | def test_batch_norm_layers(): function test_linear_layers_acceptance (line 151) | def test_linear_layers_acceptance(): function test_linear_layers_only_come_at_end (line 164) | def test_linear_layers_only_come_at_end(): function test_output_activation (line 180) | def test_output_activation(): function test_y_range (line 229) | def test_y_range(): function test_deals_with_None_activation (line 244) | def test_deals_with_None_activation(): function test_y_range_user_input (line 250) | def test_y_range_user_input(): function test_model_trains (line 260) | def test_model_trains(): function test_model_trains_part_2 (line 270) | def test_model_trains_part_2(): function solves_simple_problem (line 311) | def solves_simple_problem(X, y, nn_instance): function test_model_trains_linear_layer (line 321) | def test_model_trains_linear_layer(): function test_max_pool_working (line 333) | def test_max_pool_working(): function test_dropout (line 343) | def test_dropout(): function test_MNIST_progress (line 356) | def test_MNIST_progress(): function test_all_activations_work (line 413) | def test_all_activations_work(): function test_all_initialisers_work (line 424) | def test_all_initialisers_work(): function test_print_model_summary (line 436) | def test_print_model_summary(): function test_output_heads_error_catching (line 442) | def test_output_heads_error_catching(): function test_output_head_layers (line 457) | def test_output_head_layers(): function test_output_head_activations_work (line 465) | def test_output_head_activations_work(): function test_output_head_shapes_correct (line 490) | def test_output_head_shapes_correct(): FILE: tests/tensorflow_tests/test_tf_NN.py function test_linear_hidden_units_user_input (line 16) | def test_linear_hidden_units_user_input(): function test_activations_user_input (line 23) | def test_activations_user_input(): function test_initialiser_user_input (line 33) | def test_initialiser_user_input(): function test_output_shape_correct (line 43) | def test_output_shape_correct(): function test_output_activation (line 56) | def test_output_activation(): function test_linear_layers_info (line 89) | def test_linear_layers_info(): function test_embedding_layers (line 113) | def test_embedding_layers(): function test_incorporate_embeddings (line 126) | def test_incorporate_embeddings(): function test_embedding_network_can_solve_simple_problem (line 137) | def test_embedding_network_can_solve_simple_problem(): function test_batch_norm_layers_info (line 147) | def test_batch_norm_layers_info(): function test_model_trains (line 158) | def test_model_trains(): function solves_simple_problem (line 170) | def solves_simple_problem(X, y, nn_instance): function test_dropout (line 179) | def test_dropout(): function test_y_range_user_input (line 188) | def test_y_range_user_input(): function test_y_range (line 197) | def test_y_range(): function test_deals_with_None_activation (line 210) | def test_deals_with_None_activation(): function test_all_activations_work (line 214) | def test_all_activations_work(): function test_all_initialisers_work (line 221) | def test_all_initialisers_work(): function test_print_model_summary (line 228) | def test_print_model_summary(): function test_output_heads_error_catching (line 232) | def test_output_heads_error_catching(): function test_output_head_layers (line 246) | def test_output_head_layers(): function test_output_head_activations_work (line 254) | def test_output_head_activations_work(): function test_output_head_shapes_correct (line 278) | def test_output_head_shapes_correct(): function test_boston_housing_progress (line 296) | def test_boston_housing_progress(): FILE: tests/tensorflow_tests/test_tf_RNN.py function test_user_hidden_layers_input_rejections (line 16) | def test_user_hidden_layers_input_rejections(): function test_user_hidden_layers_input_acceptances (line 25) | def test_user_hidden_layers_input_acceptances(): function test_hidden_layers_created_correctly (line 34) | def test_hidden_layers_created_correctly(): function test_output_layers_created_correctly (line 54) | def test_output_layers_created_correctly(): function test_output_dim_user_input (line 72) | def test_output_dim_user_input(): function test_activations_user_input (line 81) | def test_activations_user_input(): function test_initialiser_user_input (line 91) | def test_initialiser_user_input(): function test_batch_norm_layers (line 102) | def test_batch_norm_layers(): function test_linear_layers_only_come_at_end (line 111) | def test_linear_layers_only_come_at_end(): function test_output_activation (line 123) | def test_output_activation(): function test_output_activation (line 195) | def test_output_activation(): function test_y_range (line 266) | def test_y_range(): function test_deals_with_None_activation (line 281) | def test_deals_with_None_activation(): function test_y_range_user_input (line 287) | def test_y_range_user_input(): function solves_simple_problem (line 298) | def solves_simple_problem(X, y, nn_instance): function test_model_trains (line 309) | def test_model_trains(): function test_model_trains_part_2 (line 318) | def test_model_trains_part_2(): function test_model_trains_with_batch_norm (line 339) | def test_model_trains_with_batch_norm(): function test_dropout (line 346) | def test_dropout(): function test_all_activations_work (line 360) | def test_all_activations_work(): function test_all_initialisers_work (line 370) | def test_all_initialisers_work(): function test_output_shapes (line 380) | def test_output_shapes(): function test_return_final_seq_user_input_valid (line 402) | def test_return_final_seq_user_input_valid(): function test_embedding_layers (line 414) | def test_embedding_layers(): function test_incorporate_embeddings (line 427) | def test_incorporate_embeddings(): function test_embedding_network_can_solve_simple_problem (line 449) | def test_embedding_network_can_solve_simple_problem(): function test_print_model_summary (line 470) | def test_print_model_summary(): function test_output_heads_error_catching (line 476) | def test_output_heads_error_catching(): function test_output_head_layers (line 491) | def test_output_head_layers(): function test_output_head_activations_work (line 499) | def test_output_head_activations_work(): function test_output_head_shapes_correct (line 525) | def test_output_head_shapes_correct():