supervised_train.py 文件源码

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

项目:GraphSAGE 作者: williamleif 项目源码 文件源码
def construct_placeholders(num_classes):
    # Define placeholders
    placeholders = {
        'labels' : tf.placeholder(tf.float32, shape=(None, num_classes), name='labels'),
        'batch' : tf.placeholder(tf.int32, shape=(None), name='batch1'),
        'dropout': tf.placeholder_with_default(0., shape=(), name='dropout'),
        'batch_size' : tf.placeholder(tf.int32, name='batch_size'),
    }
    return placeholders
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号