def net2wider_experiment():
 train_data = (train_x, train_y)
 validation_data = (validation_x, validation_y)
 print('\nExperiment of Net2WiderNet ...')
 print('\nbuilding teacher model ...')
 (teacher_model, _) = make_teacher_model(train_data, validation_data, nb_epoch=3)
 print('\nbuilding wider student model by random padding ...')
 make_wider_student_model(teacher_model, train_data, validation_data, 'random-pad', nb_epoch=3)
 print('\nbuilding wider student model by net2wider ...')
 make_wider_student_model(teacher_model, train_data, validation_data, 'net2wider', nb_epoch=3)

def net2wider_experiment ( ) : train_data = ( train_x , train_y ) validation_data = ( validation_x , validation_y ) print ( '\nExperiment of Net2WiderNet ...' ) print ( '\nbuilding teacher model ...' ) ( teacher_model , _ ) = make_teacher_model ( train_data , validation_data , nb_epoch = 3 ) print ( '\nbuilding wider student model by random padding ...' ) make_wider_student_model ( teacher_model , train_data , validation_data , 'random-pad' , nb_epoch = 3 ) print ( '\nbuilding wider student model by net2wider ...' ) make_wider_student_model ( teacher_model , train_data , validation_data , 'net2wider' , nb_epoch = 3 )
benchmark performances of (1) a teacher model .