Download ml-stable-diffusion/mlx/docs/src/_templates/module-base-class.rst from Fahad-S/FastVLM_SANA: direct link, hf CLI and curl.
- Browser
- Download file 693 Bytes
-
https://huggingface.co/Fahad-S/FastVLM_SANA/resolve/main/ml-stable-diffusion/mlx/docs/src/_templates/module-base-class.rst
- Command line
-
hf download hf://Fahad-S/FastVLM_SANA/ml-stable-diffusion/mlx/docs/src/_templates/module-base-class.rst
-
curl -L -o module-base-class.rst https://huggingface.co/Fahad-S/FastVLM_SANA/resolve/main/ml-stable-diffusion/mlx/docs/src/_templates/module-base-class.rst
693 Bytes
| {{ fullname | escape | underline}} | |
| .. currentmodule:: {{ module }} | |
| .. add toctree option to make autodoc generate the pages | |
| .. autoclass:: {{ objname }} | |
| {% block attributes %} | |
| {% if attributes %} | |
| .. rubric:: Attributes | |
| .. autosummary:: | |
| :toctree: . | |
| {% for item in attributes %} | |
| ~{{ fullname }}.{{ item }} | |
| {%- endfor %} | |
| {% endif %} | |
| {% endblock %} | |
| {% block methods %} | |
| {% if methods %} | |
| .. rubric:: Methods | |
| .. autosummary:: | |
| :toctree: . | |
| {% for item in methods %} | |
| {%- if item not in inherited_members and item != '__init__' %} | |
| ~{{ fullname }}.{{ item }} | |
| {%- endif -%} | |
| {%- endfor %} | |
| {% endif %} | |
| {% endblock %} | |