This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Add custom field option on all modules. | |
* | |
* @param array $modules | |
* | |
* @return array | |
*/ | |
function smpl_extend_modules( $modules ) { | |
// Ensure we run this code only once because it's expensive. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
# coding: utf-8 | |
# مرحب بيكم معانا. هنا الكود الكتبناو مع بعض في الفيديو في قناة البعد الخامس | |
# Import the libraries (ادخال المكتبات المهمه للبرنامج حقنا) | |
import matplotlib.pyplot as plt | |
import numpy as np | |
import mnist | |
from keras.models import Sequential | |
from keras.layers import Dense | |
from keras.utils import to_categorical |