def __init__(self, batch_size=1, output_size=[28, 28], input=""):
self.name = 'inputlayer-%08x' % random.getrandbits(32)
self.output_size = output_size
self.input = input
self.batch_size = batch_size
self.batch = []
with tf.name_scope(self.name) as n_scope:
self.name_scope = n_scope
self.input_placeholder = tf.placeholder(dtype=tf.float32, shape=(self.batch_size, output_size[0], output_size[1], 1), name='input')
rospy.logdebug("?? Input Layer initalized")
评论列表
文章目录