MCPcopy Index your code
hub / github.com/TheAlgorithms/Python / summary

Method summary

neural_network/back_propagation_neural_network.py:120–124  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

118 layer.initializer(self.layers[i - 1].units)
119
120 def summary(self):
121 for i, layer in enumerate(self.layers[:]):
122 print(f"------- layer {i} -------")
123 print("weight.shape ", np.shape(layer.weight))
124 print("bias.shape ", np.shape(layer.bias))
125
126 def train(self, xdata, ydata, train_round, accuracy):
127 self.train_round = train_round

Callers 1

exampleFunction · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected