#NEWLINE# @ staticmethod #NEWLINE# def _get_layer_info_plain( nn ) : #NEWLINE# #INDENT# nums = list ( range ( len ( nn . layers_ ) ) ) #NEWLINE# names = [ layer . name for layer in nn . layers_ . values ( ) ] #NEWLINE# output_shapes = [ 'x' . join ( map ( str , layer . output_shape [ 1 : ] ) ) for layer in nn . layers_ . values ( ) ] #NEWLINE# table = OrderedDict ( [ ( '#' , nums ) , ( 'name' , names ) , ( 'size' , output_shapes ) ] ) #NEWLINE# layer_infos = tabulate ( nn , 'keys' ) #NEWLINE# return layer_infos