提交 a70b8c33 authored 作者: David Warde-Farley's avatar David Warde-Farley

Explain why you want to implement infer_shape.

上级 40a39f61
...@@ -153,6 +153,10 @@ following methods: ...@@ -153,6 +153,10 @@ following methods:
The function should return a list with one tuple for each output. The function should return a list with one tuple for each output.
Each tuple should contain the corresponding output's computed shape. Each tuple should contain the corresponding output's computed shape.
Implementing this method will allow Theano to compute the output's
shape without computing the output itself, potentially sparing you
a costly recomputation.
.. function:: make_thunk(node, storage_map, compute_map, no_recycling) .. function:: make_thunk(node, storage_map, compute_map, no_recycling)
TODO TODO
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论