gussmith23 commented on pull request #9816:
URL: https://github.com/apache/tvm/pull/9816#issuecomment-1005937679


   Oh, huh, i was getting this error:
   ```
   /workspace/python/tvm/relay/__init__.py:docstring of 
tvm.relay.op.transform.windows:22: WARNING: Error in "code-block" directive:
   
   maximum 1 argument(s) allowed, 51 supplied.
   
   
   
   .. code-block:: python
       # Slide a window of shape (3, 4, 5) over the x tensor, beginning with
       <the rest of the example code>
   ```
   
   I assumed this was because something was trying to run the Python code, 
which is why I removed the example. Turns out, I think it's because there was 
no newline after the `.. code-block` directive! The error message from Sphinx 
was a bit unintuitive. Let's see if adding a newline fixes things.
   
   


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

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to