Attention-deficit/hyperactivity disorder (ADHD) is a common neurodevelopmental disorder in children and adults and its early detection is effective in the successful treatment of children. Electroencephalography (EEG) has been widely used for classifying ADHD and normal children. In recent years, deep learning leads to more accurate classification. This study aims to adapt convolutional neural networks (CNNs) for classifying ADHD and normal children based on the connectivity measure of their EEG signals. In this experimental study, the dataset consisted of 61 ADHD and 60 normal children from which 13021 epochs were extracted as input for model training and evaluation. Synchronization likelihood (SL) and wavelet coherence (WC) were considered connectivity measures. The neighborhood between EEG channels was arranged in a two-dimensional matrix for better representation. Four-dimensional (4D) and six-dimensional (6D) connectivity tensors were composed as model inputs. Two architectures were developed, one 4D and 6D CNN for SL and WC-based diagnosis of ADHD, respectively. A 5-fold cross-validation was utilized to assess developed models. The average accuracy of 98.56% for 4D CNN and 98.85% for 6D CNN in epoch-based classification were obtained. In the case of subject-based classification, the accuracy was 99.17% for both models. Based on the evaluation metrics of the proposed models, ADHD children can be diagnosed and ADHD and normal children can be successfully distinguished.