Unverified Commit ba7ce61e authored by Nicolas Hug's avatar Nicolas Hug Committed by GitHub
Browse files

Add google collab link for gallery examples (#7843)

parent 9040793b
...@@ -56,6 +56,13 @@ jobs: ...@@ -56,6 +56,13 @@ jobs:
sed -i -e 's/-j auto/-j 1/' Makefile sed -i -e 's/-j auto/-j 1/' Makefile
make html make html
mkdir build/html/_generated_ipynb_notebooks
for file in `find build/html/_downloads`; do
if [[ $file == *.ipynb ]]; then
cp $file build/html/_generated_ipynb_notebooks/
fi
done
cp -r build/html "${RUNNER_ARTIFACT_DIR}" cp -r build/html "${RUNNER_ARTIFACT_DIR}"
# On PRs we also want to upload the docs into our S3 bucket for preview. # On PRs we also want to upload the docs into our S3 bucket for preview.
......
...@@ -3,6 +3,8 @@ ...@@ -3,6 +3,8 @@
Datapoints FAQ Datapoints FAQ
============== ==============
https://colab.research.google.com/github/pytorch/vision/blob/gh-pages/_generated_ipynb_notebooks/plot_datapoints.ipynb
Datapoints are Tensor subclasses introduced together with Datapoints are Tensor subclasses introduced together with
``torchvision.transforms.v2``. This example showcases what these datapoints are ``torchvision.transforms.v2``. This example showcases what these datapoints are
and how they behave. and how they behave.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment