guberti opened a new issue #10706:
URL: https://github.com/apache/tvm/issues/10706


   ### Add "Open in Google Colab" button to .ipynb tutorials
   
   On Tensorflow's doc sites, each interactive tutorial has a one-click open to 
open it on Google Colab - Google's interactive web editor for Python notebooks. 
See [this 
example](https://www.tensorflow.org/lite/performance/post_training_integer_quant)
 for post training integer quantization (screenshot below).
   
![image](https://user-images.githubusercontent.com/3069006/159528289-799dea14-7f8f-4131-aefa-85a53b688d3b.png)
   
   I'm currently messing around with some microTVM tutorials, so I'll see if I 
can get a demo of this running there. "Open in Colab" is one of my favorite 
things about the Tensorflow and Keras docs, and I'd love to integrate the 
feature here too. 
   
   ### Additions/Changes Requested
   
   While the buttons look fancy, each is just a URL underneath. The "view 
source on Github" link is just a hardcoded URL to the Github repo - nothing 
fancy. For the open in Colab button, we just take that same hardcoded URL, but 
prepend "colab.research.google.com" and Colab takes care of the rest. Here's 
the link that powers the button above:
   
   <p align="center">
     <a 
href="https://colab.research.google.com/github/tensorflow/tensorflow/blob/master/tensorflow/lite/g3doc/performance/post_training_integer_quant.ipynb";>https://colab.research.google.com/github/tensorflow/tensorflow/blob/master/tensorflow/lite/g3doc/performance/post_training_integer_quant.ipynb
   </a>
   </p>


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