How to translate the neural network of MLP from tensorflow to pytorch
问题 I have built up an MLP neural network using 'Tensorflow', which is stated as follow: model_mlp=Sequential() model_mlp.add(Dense(units=35, input_dim=train_X.shape[1], kernel_initializer='normal', activation='relu')) model_mlp.add(Dense(units=86, kernel_initializer='normal', activation='relu')) model_mlp.add(Dense(units=86, kernel_initializer='normal', activation='relu')) model_mlp.add(Dense(units=10, kernel_initializer='normal', activation='relu')) model_mlp.add(Dense(units=1)) I want to