Skip to content

Conversation

zackcquic
Copy link
Contributor

Add a new API register_op

Note: Implementing a op by pure python is still limited:

  1. Custom type relation (add_type_rel()) is still not
    available in python.

  2. Setting number inputs (set_num_inputs()) needs
    plevel > 128 in python.
    (see tests/python/relay/test_ir_op.py)

Thanks for contributing to TVM! Please refer to guideline https://tvm.apache.org/docs/contribute/ for useful information and tips. After the pull request is submitted, please request code reviews from Reviewers by @ them in the pull request thread.

@tqchen

Add a new API register_op

Note: Implementing a op by pure python is still limited:
  1. Custom type relation (add_type_rel()) is still not
     available in python.

  2. Setting number inputs (set_num_inputs()) needs
     plevel > 128 in python.
     (see tests/python/relay/test_ir_op.py)
@zackcquic
Copy link
Contributor Author

@tqchen tqchen merged commit 254563a into apache:main May 7, 2021
@tqchen
Copy link
Member

tqchen commented May 7, 2021

Thansk @zackcquic

@zackcquic zackcquic deleted the rop branch May 19, 2021 04:03
mehrdadh pushed a commit to mehrdadh/tvm that referenced this pull request May 19, 2021
Add a new API register_op

Note: Implementing a op by pure python is still limited:
  1. Custom type relation (add_type_rel()) is still not
     available in python.

  2. Setting number inputs (set_num_inputs()) needs
     plevel > 128 in python.
     (see tests/python/relay/test_ir_op.py)
trevor-m pushed a commit to trevor-m/tvm that referenced this pull request Jun 17, 2021
Add a new API register_op

Note: Implementing a op by pure python is still limited:
  1. Custom type relation (add_type_rel()) is still not
     available in python.

  2. Setting number inputs (set_num_inputs()) needs
     plevel > 128 in python.
     (see tests/python/relay/test_ir_op.py)
trevor-m pushed a commit to neo-ai/tvm that referenced this pull request Jun 17, 2021
Add a new API register_op

Note: Implementing a op by pure python is still limited:
  1. Custom type relation (add_type_rel()) is still not
     available in python.

  2. Setting number inputs (set_num_inputs()) needs
     plevel > 128 in python.
     (see tests/python/relay/test_ir_op.py)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants