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 2020/09/22 06:52:11 UTC

[GitHub] [incubator-tvm] yzh119 opened a new pull request #6525: [Doc][Fix] Fix a typo in hybrid script tutorial.

yzh119 opened a new pull request #6525:
URL: https://github.com/apache/incubator-tvm/pull/6525


   The `c` should not appear in the argument list of `outer_product`.
   ```python
   @tvm.te.hybrid.script
   def outer_product(a, b, c):
       c = output_tensor((100, 99), 'float32')
       for i in range(a.shape[0]):
           for j in range(b.shape[0]):
               c[i, j] = a[i] * b[j]
         return c
   a = numpy.random.randn(100)
   b = numpy.random.randn(99)
   c = outer_product(a, b)
   ```


----------------------------------------------------------------
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



[GitHub] [incubator-tvm] tqchen merged pull request #6525: [Doc][Fix] Fix a typo in hybrid script tutorial.

Posted by GitBox <gi...@apache.org>.
tqchen merged pull request #6525:
URL: https://github.com/apache/incubator-tvm/pull/6525


   


----------------------------------------------------------------
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



[GitHub] [incubator-tvm] tqchen merged pull request #6525: [Doc][Fix] Fix a typo in hybrid script tutorial.

Posted by GitBox <gi...@apache.org>.
tqchen merged pull request #6525:
URL: https://github.com/apache/incubator-tvm/pull/6525


   


----------------------------------------------------------------
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