Skip to main content

A graph flow engine for East Low Carbon

Project description

elcflow

Build Status Coverage Status Documentation Status

介绍

ELC使用

指令

生成文档

sphinx-apidoc -o source ../elcflow/ && make html

测试

pytest --cov=elcflow

使用

注册算子

使用register_elc_function来注册是一个算子,算子包含以下属性:

  • name
    • 唯一的标识符,用来找到这个算子
  • outputs
    • list
    • 给输出取名字(在图上徐)
  • inputs
    • 可选
    • 定义输入的名称
    • 如果没有则使用函数中定义的名称
@register_elc_function(outputs=['mul_result'], name='elc_mul')
def elc_mul(a, b):
    return a * b

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

elc-flow-0.0.1.tar.gz (6.9 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page