---------------------------------------------------------------------------
TypeError Traceback (most recent call last)
<ipython-input-20-8a0a8f14e21e> in <module>()
----> 1 net.compile()
~\Documents\GitKraken\SPBU_COMP_PHYS_NN_QM\first_stage\test\physlearntest\physlearn\NeuralNet\NeuralNetAbstract.py in compile(self)
83 self.y = tf.placeholder(tf.double) # ...и обучающих выходов
84
---> 85 self.tf_matrixes = self.create_tf_matrixes() # Создание матриц
86 self.init = tf.global_variables_initializer() # Инициализатор переменных
87 self.sess.run(self.init) # Инициализация переменных
~\Documents\GitKraken\SPBU_COMP_PHYS_NN_QM\first_stage\test\physlearntest\physlearn\NeuralNet\NeuralNet.py in create_tf_matrixes(self)
24 current_layer_units = self.design[index][0]
25 next_layer_units = self.design[index + 1][0]
---> 26 size = current_layer_units * next_layer_units # Количество элементов матрицы
27 weight_breaker = size + self.unroll_breaks[index][1] # Индекс конца матрицы весов в unroll векторе -
28 # ее размер, плюс сдвиг, связанный с предыдущими матрицами
TypeError: unsupported operand type(s) for *: 'int' and 'NoneType'