To reduce the increasingly congestion in cities, it is essential for intelligent transportation system (ITS) to accurately forecast the short-term traffic flow to identify the potential congestion sites. In recent years, the emerging deep learning method has been introduced to design traffic flow predictors, such as recurrent neural network (RNN) and long short-term memory (LSTM), which has demonstrated its promising results. In this paper, different from existing work, we study the temporal convolutional network (TCN) and propose a deep learning framework based on TCN model for short-term city-wide traffic forecast to accurately capture the temporal and spatial evolution of traffic flow. Moreover, we design the model with the Taguchi method to develop an optimized structure of the TCN model, which not only reduces the number of experiments, but also yields high accuracy of forecasting results. With the real-world traffic flow data collected from highways in Birmingham City of U.K., we compare our model with four deep learning based models including LSTM models, GRU models, SAE models, DeepTrend and CNN-LSTM models in terms of the mean absolute error (MAE) and mean relative error (MRE) regarding the actual flow data. The experimental results demonstrate that our framework achieves the state-of-art performance with superior accuracy in short-term traffic flow forecasting. INDEX TERMS Deep learning, temporal convolutional networks, short-term forecasting.