d81ee18bd7d43479784116c40c9b08eb6bb36cc9,user_interface_handler.py,user_interface,render_nn_vis_trigger,#user_interface#,170

Before Change


				bias_str = bias_str[0:-1]
			if(input_dims[-1]==","):
				input_dims = input_dims[0:-1]
			if(self.check_str_list_valid(input_dims) == True and output_count > 0):
				input_dims = input_dims.split(",")
				inputs_total = int(input_dims[0])
				if(len(input_dims)==2): inputs_total = inputs_total * int(input_dims[1])

After Change


        bias_str = bias_str[0:-1]
      if (input_dims[-1] == ","):
        input_dims = input_dims[0:-1]
      if self.check_str_list_valid(input_dims) and output_count > 0:
        input_dims = input_dims.split(",")
        inputs_total = int(input_dims[0])
        if (len(input_dims) == 2):
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 5

Non-data size: 3

Instances


Project Name: casparwylie/Perceptron
Commit Name: d81ee18bd7d43479784116c40c9b08eb6bb36cc9
Time: 2020-07-03
Author: caspar@phntms.com
File Name: user_interface_handler.py
Class Name: user_interface
Method Name: render_nn_vis_trigger


Project Name: casparwylie/Perceptron
Commit Name: d81ee18bd7d43479784116c40c9b08eb6bb36cc9
Time: 2020-07-03
Author: caspar@phntms.com
File Name: user_interface_handler.py
Class Name: user_interface
Method Name: check_all_fields_valid


Project Name: casparwylie/Perceptron
Commit Name: d81ee18bd7d43479784116c40c9b08eb6bb36cc9
Time: 2020-07-03
Author: caspar@phntms.com
File Name: user_interface_handler.py
Class Name: user_interface
Method Name: map_to_int_if_valid