Python theano undefined symbol: _ZdlPvm error
问题 I'm trying to execute this code: import matplotlib.pyplot as plt import numpy as np from keras.models import Sequential from keras.layers import Dense x = np.linspace(-3, 3, 1000).reshape(-1, 1) def f(x): return 2 * x + 5 f = np.vectorize(f) y = f(x) def baseline_model(): model = Sequential() model.add(Dense(1, input_dim=1, activation='linear')) model.compile(loss='mean_squared_error', optimizer='sgd') return model model = baseline_model() model.fit(x, y, nb_epoch=100, verbose = 0) But on