当前位置: 首页>>代码示例>>Python>>正文


Python mxnet.io方法代码示例

本文整理汇总了Python中mxnet.io方法的典型用法代码示例。如果您正苦于以下问题:Python mxnet.io方法的具体用法?Python mxnet.io怎么用?Python mxnet.io使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在mxnet的用法示例。


在下文中一共展示了mxnet.io方法的3个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Python代码示例。

示例1: setup

# 需要导入模块: import mxnet [as 别名]
# 或者: from mxnet import io [as 别名]
def setup(app):

    # If MXNET_DOCS_BUILD_MXNET is set something different than 1
    # Skip the build step
    if os.getenv('MXNET_DOCS_BUILD_MXNET', '1') == '1':
        app.connect("builder-inited", build_mxnet)
    app.connect("builder-inited", generate_doxygen)
    app.connect("builder-inited", build_scala_docs)
    # skipped to build r, it requires to install latex, which is kinds of too heavy
    # app.connect("builder-inited", build_r_docs)
    app.connect('source-read', convert_table)
    app.connect('source-read', add_buttons)
    app.add_config_value('recommonmark_config', {
        'url_resolver': lambda url: 'http://mxnet.io/' + url,
        'enable_eval_rst': True,
    }, True)
    app.add_transform(transform.AutoStructify) 
开发者ID:mahyarnajibi,项目名称:SNIPER-mxnet,代码行数:19,代码来源:mxdoc.py

示例2: setup

# 需要导入模块: import mxnet [as 别名]
# 或者: from mxnet import io [as 别名]
def setup(app):

    # If MXNET_DOCS_BUILD_MXNET is set something different than 1
    # Skip the build step
    if os.getenv('MXNET_DOCS_BUILD_MXNET', '1') == '1' or _MXNET_DOCS_BUILD_MXNET:
        print("Building MXNet!")
        app.connect("builder-inited", build_mxnet)
    if _DOXYGEN_DOCS:
        print("Building Doxygen!")
        app.connect("builder-inited", generate_doxygen)
    if _SCALA_DOCS or _CLOJURE_DOCS:
        print("Building Scala!")
        app.connect("builder-inited", build_scala)
    if _SCALA_DOCS:
        print("Building Scala Docs!")
        app.connect("builder-inited", build_scala_docs)
    if _CLOJURE_DOCS:
        print("Building Clojure Docs!")
        app.connect("builder-inited", build_clojure_docs)
    if _R_DOCS:
        print("Building R Docs!")
        app.connect("builder-inited", build_r_docs)
    app.connect('source-read', convert_table)
    app.connect('source-read', add_buttons)
    app.add_config_value('recommonmark_config', {
        'url_resolver': lambda url: 'http://mxnet.io/' + url,
        'enable_eval_rst': True,
    }, True)
    app.add_transform(transform.AutoStructify) 
开发者ID:awslabs,项目名称:dynamic-training-with-apache-mxnet-on-aws,代码行数:31,代码来源:mxdoc.py

示例3: setup

# 需要导入模块: import mxnet [as 别名]
# 或者: from mxnet import io [as 别名]
def setup(app):
    # If MXNET_DOCS_BUILD_MXNET is set something different than 1
    # Skip the build step
    if os.getenv('MXNET_DOCS_BUILD_MXNET', '1') == '1' or _MXNET_DOCS_BUILD_MXNET:
        print("Building MXNet!")
        app.connect("builder-inited", build_mxnet)
    if _DOXYGEN_DOCS:
        print("Building Doxygen!")
        app.connect("builder-inited", generate_doxygen)
    if _SCALA_DOCS or _CLOJURE_DOCS:
        print("Building Scala!")
        app.connect("builder-inited", build_scala)
    if _SCALA_DOCS:
        print("Building Scala Docs!")
        app.connect("builder-inited", build_scala_docs)
    if _JAVA_DOCS:
        print("Building Java Docs!")
        app.connect("builder-inited", build_java_docs)
    if _CLOJURE_DOCS:
        print("Building Clojure Docs!")
        app.connect("builder-inited", build_clojure_docs)
    if _R_DOCS:
        print("Building R Docs!")
        app.connect("builder-inited", build_r_docs)
    app.connect('source-read', convert_table)
    app.connect('source-read', add_buttons)
    app.add_config_value('recommonmark_config', {
        'url_resolver': lambda url: 'http://mxnet.io/' + url,
        'enable_eval_rst': True,
    }, True)
    app.add_transform(transform.AutoStructify) 
开发者ID:mlperf,项目名称:training_results_v0.6,代码行数:33,代码来源:mxdoc.py


注:本文中的mxnet.io方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。