原文: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