목록2019/04/01 (2)
MJay
Greedy and Nongreedy Matching Since (Ha){3,5} can match three, four, or five instances of Ha in the string 'HaHaHaHaHa', you may wonder why the Match object’s call to group() in the previous curly bracket example returns 'HaHaHaHaHa' instead of the shorter possibilities. After all, 'HaHaHa' and 'HaHaHaHa' are also valid matches of the regular expression (Ha){3,5}...
conv1 만 프린트 하는 command print (tf.get_collection(tf.GraphKeys.GLOBAL_VARIABLES, scope='conv1')) variable 읽는 코드 (sort팅) reader = tf.train.load_checkpoint("/tmp/mj/cifar10_train") variable_map = reader.get_variable_to_shape_map() names = (variable_map.keys()) result = [] for name in names: result.append((name, variable_map[name])) pprint.pprint(result) reader = tf.train.NewCheckpointReader(..