• khaotik's avatar
    bug fix/cleanups · 7608602e
    khaotik 提交于
    - Moved old docstring in OpFromGraph to function op_from_graph
    - Added an new example for op_from_graph docstring
    - now we can access `theano.op_from_graph` and
      `theano.OpFromGraph<Inline|Precompiled>`
    
    in `unittesttools.py`:
    ```
    if check_topo:
        topo_shape = shapes_function.maker.fgraph.toposort()
        assert not any(isinstance(t.op, cls) for t in topo_shape)
    topo_out = outputs_function.maker.fgraph.toposort()
    assert any(isinstance(t.op, cls) for t in topo_out)
    ```
    This seems to check existence of op in `topo_out` regardless `check_topo`.
    Since OpFromGraphInline will be replaced with its internal graph at
    compile time, this check will always cause error. Thus I moved them
    inside the `if` clause.
    7608602e
名称
最后提交
最后更新
.jenkins 正在载入提交数据...
.travis 正在载入提交数据...
benchmark 正在载入提交数据...
bin 正在载入提交数据...
doc 正在载入提交数据...
theano 正在载入提交数据...
.gitignore 正在载入提交数据...
.mailmap 正在载入提交数据...
.travis.yml 正在载入提交数据...
CONTRIBUTING.md 正在载入提交数据...
DESCRIPTION.txt 正在载入提交数据...
EMAIL.txt 正在载入提交数据...
HISTORY.txt 正在载入提交数据...
ISSUE_TEMPLATE.md 正在载入提交数据...
LICENSE.txt 正在载入提交数据...
MANIFEST.in 正在载入提交数据...
NEWS.txt 正在载入提交数据...
NEWS_DEV.txt 正在载入提交数据...
README.txt 正在载入提交数据...
Theano.pyproj 正在载入提交数据...
Theano.sln 正在载入提交数据...
requirement-rtd.txt 正在载入提交数据...
setup.cfg 正在载入提交数据...
setup.py 正在载入提交数据...