caicloud / tensorflow-tutorial

Example TensorFlow codes and Caicloud TensorFlow as a Service dev environment.
2.93k stars 2.08k forks source link

Deep_Learning_with_TensorFlow/1.0.0/Chapter10/2. 多GPU并行.py中某些代码还没有更新为1.0.0的版本 #34

Closed skx300 closed 6 years ago

skx300 commented 7 years ago

需要做以下更新:

tf.nn.sparse_softmax_cross_entropy_with_logits(y, y_)  -> tf.nn.sparse_softmax_cross_entropy_with_logits(logits = y, labels = y_)

tf.histogram_summary() -> tf.summary.histogram()

tf.merge_all_summaries() -> tf.summary.merge_all()

tf.train.SummaryWriter() -> tf.summary.FileWriter()
ScorpioCPH commented 7 years ago

@skx300 welcome contributions, please feel free to file a PR.

Hui-Zhi commented 7 years ago

@lienhua34 PTAL

caicloud-bot commented 6 years ago

Issues go stale after 90d of inactivity. Mark the issue as fresh with /remove-lifecycle stale. Stale issues rot after an additional 30d of inactivity and eventually close.

Prevent issues from auto-closing with an /lifecycle frozen comment.

If this issue is safe to close now please do so with /close.

/lifecycle stale

caicloud-bot commented 6 years ago

Stale issues rot after 30d of inactivity. Mark the issue as fresh with /remove-lifecycle rotten. Rotten issues close after an additional 30d of inactivity.

If this issue is safe to close now please do so with /close.

/lifecycle rotten /remove-lifecycle stale

caicloud-bot commented 6 years ago

Rotten issues close after 30d of inactivity. Reopen the issue with /reopen. Mark the issue as fresh with /remove-lifecycle rotten.

/close