inputlayer.py 文件源码

python
阅读 17 收藏 0 点赞 0 评论 0

项目:tensorflow_node 作者: elggem 项目源码 文件源码
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")
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号