• notoraptor's avatar
    Add new abstract attribute `enum` in COp · 723addd1
    notoraptor 提交于
    that will be used by get_op_params() to
    auto-generate macros for the op.
    
    Add two methods to help create enums quickly.
    
    Add a test for this new feature.
    
    Simplify code.
    
    Add new op param types `EnumType` and `EnumList`.
    
    This replaces the previous implementation.
    
    C macros are created into `EnumType.c_support_code()`.
    
    Examples added in gof/tests/test_types.
    
    Flake8.
    723addd1
名称
最后提交
最后更新
.jenkins 正在载入提交数据...
.travis 正在载入提交数据...
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 正在载入提交数据...