原文:ypeError: __init__() got an unexpected keyword argument 'shape'

采用TensorFlow支持通过tf.Graph函数来生成新的向量图,代码如下: import tensorflow as tf g tf.Graph with g .as default : v tf.get variable v ,initializer tf.zeros initializer shape g tf.Graph with g .as default : v tf.get va ...

2018-06-18 08:30 0 9048 推荐指数:

查看详情

 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM