You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tvm.apache.org by GitBox <gi...@apache.org> on 2019/12/21 23:53:33 UTC

[GitHub] [incubator-tvm] tqchen opened a new pull request #4560: [REFACTOR][DTYPE] Isolate dtype to runtime

tqchen opened a new pull request #4560: [REFACTOR][DTYPE] Isolate dtype to runtime
URL: https://github.com/apache/incubator-tvm/pull/4560
 
 
   dtype.h -> runtime/data_type.h
   
   Changes:
   - Rename all old reference of tvm::Type to DataType
   - ExprNode.type -> ExprNode.dtype
   - Expr.type() -> Expr.dtype()
   - Change Expr related functions to expr_operator.
     - DataType::min() -> min_value(DataType)
     - DataType::max() -> max_value(DataType)
   - Move type constructor Int, UInt, Float, Handle, Bool into DataType.
     - Int(bits) -> DataType::Int(bits)
     - UInt(bits) -> DataType::UInt(bits)
   
   Thanks for contributing to TVM!   Please refer to guideline https://docs.tvm.ai/contribute/ for useful information and tips. After the pull request is submitted, please request code reviews from [Reviewers](https://github.com/apache/incubator-tvm/blob/master/CONTRIBUTORS.md#reviewers) by @ them in the pull request thread.
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [incubator-tvm] tqchen merged pull request #4560: [REFACTOR][DTYPE] Isolate dtype to runtime

Posted by GitBox <gi...@apache.org>.
tqchen merged pull request #4560: [REFACTOR][DTYPE] Isolate dtype to runtime
URL: https://github.com/apache/incubator-tvm/pull/4560
 
 
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services