提交 67c77b57 编写于 作者: Z zchen0211

gan api

上级 35a5b9b9
...@@ -206,7 +206,7 @@ class DCGAN(object): ...@@ -206,7 +206,7 @@ class DCGAN(object):
self.d_loss = self.d_loss_real + self.d_loss_fake self.d_loss = self.d_loss_real + self.d_loss_fake
``` ```
Some small confusion and problems with this design: Some small confusion and problems with this design:
- D\_g and D\_f are actually the same thing, but has to be written twice; - D\_g and D\_f are actually the same thing, but has to be written twice; i.e., if we want to run two sub-graphs conceptually, the same codes have to be written twice if they are shared by the graph.
- Requires ability to create a block anytime, rather than in if-else or rnn only; - Requires ability to create a block anytime, rather than in if-else or rnn only;
## Main function for the demo: ## Main function for the demo:
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册