Download VTimeLLM/flash-attention/csrc/cutlass/python/docs/_static/tabs.js from simplecloud/VidChain-exercise: direct link, hf CLI and curl.
- Browser
- Download file 551 Bytes
-
https://huggingface.co/datasets/simplecloud/VidChain-exercise/resolve/main/VTimeLLM/flash-attention/csrc/cutlass/python/docs/_static/tabs.js
- Command line
-
hf download hf://datasets/simplecloud/VidChain-exercise/VTimeLLM/flash-attention/csrc/cutlass/python/docs/_static/tabs.js
-
curl -L -o tabs.js https://huggingface.co/datasets/simplecloud/VidChain-exercise/resolve/main/VTimeLLM/flash-attention/csrc/cutlass/python/docs/_static/tabs.js
551 Bytes
| var labels_by_text = {}; | |
| function ready() { | |
| var li = document.getElementsByClassName("tab-label"); | |
| for (const label of li) { | |
| label.onclick = onLabelClick; | |
| const text = label.textContent; | |
| if (!labels_by_text[text]) { | |
| labels_by_text[text] = []; | |
| } | |
| labels_by_text[text].push(label); | |
| } | |
| } | |
| function onLabelClick() { | |
| // Activate other labels with the same text. | |
| for (label of labels_by_text[this.textContent]) { | |
| label.previousSibling.checked = true; | |
| } | |
| } | |
| document.addEventListener("DOMContentLoaded", ready, false); | |