Network Segment Posted on 2017-12-02 | Edited on 2019-07-16 | In pytorch | Comments: A example of network 12345678class Network(object): def __init__(self, *arg, **kwargs): # .. yada yada, initialize weight and biases def feedforward(self, a): for b, w in zip(self.biases, self.weights): a = sigmoid(np.dot(w, a) + b) return a Related Posts Pytorch Content Autograd mechanics Broadcasting semantics CUDA semantics Extending PyTorch