分类:TensorFlow
tf.multiply()
format:multiply(x, y, name=None) Args: x: A `Tensor…
阅读全文 »training’ has no attribute ‘SummaryWriter’
tensorflow.initialize_all_variables已改为tensorflow.global_vari…
阅读全文 »module ‘tensorflow’ has no attribute ‘merge_all_summaries’
tf.train.SummaryWriter 改为:tf.summary.FileWriter AttributeErr…
阅读全文 »‘tensorflow’ has no attribute ‘scalar_summary’
tf.scalar_summary(‘images’, images)改为:tf.summary…
阅读全文 »AttributeError: module ‘tensorflow’ has no attribute ‘mul’
tf.mul已经在新版本中被移除,请使用 tf.multiply 代替
阅读全文 »tf.placeholder
tf.placeholder(dtype, shape=None, name=None) 此函数可以理解为形参,用于定义…
阅读全文 »