提交 61168784 authored 作者: Olivier Delalleau's avatar Olivier Delalleau

Merge pull request #179 from delallea/typos

Typos
...@@ -40,7 +40,7 @@ optdb.register('gpu_opt', ...@@ -40,7 +40,7 @@ optdb.register('gpu_opt',
optdb.__position__.get('add_destroy_handler', 49.5) - 1, optdb.__position__.get('add_destroy_handler', 49.5) - 1,
'gpu', 'fast_run') 'gpu', 'fast_run')
# This second pass is needed as the fusion can put all the non float32 code # This second pass is needed as the fusion can put all the non float32 code
# inside the elemwise. When it there is no float64 op, this is working. # inside the elemwise. When there is no float64 op, this is working.
optdb.register('gpu_after_fusion', optdb.register('gpu_after_fusion',
ProxyDB(gpu_seqopt), ProxyDB(gpu_seqopt),
optdb.__position__.get('elemwise_fusion', 71) + .1, optdb.__position__.get('elemwise_fusion', 71) + .1,
......
...@@ -370,8 +370,8 @@ def infer_shape(outs, inputs, input_shapes): ...@@ -370,8 +370,8 @@ def infer_shape(outs, inputs, input_shapes):
Compute the shape of the outputs given the shape of the inputs Compute the shape of the outputs given the shape of the inputs
of a theano graph. of a theano graph.
We do it this way to don't compile the inner function just to get We do it this way to avoid compiling the inner function just to get
the shape. Change to ShapeFeature could request change in this function. the shape. Changes to ShapeFeature could require changes in this function.
''' '''
# We use a ShapeFeature because it has all the necessary logic # We use a ShapeFeature because it has all the necessary logic
# inside. We don't use the full ShapeFeature interface, but we # inside. We don't use the full ShapeFeature interface, but we
......
差异被折叠。
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论