docs: add ConstType to dtypes, limit function to its member (#4714)

This commit is contained in:
chenyu 2024-05-24 14:22:34 -04:00 committed by GitHub
parent a41701ce71
commit a894209bf7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 35 additions and 5 deletions

View File

@ -1,3 +1,7 @@
::: tinygrad.dtypes
options:
members: true
members: true
members_order: source
show_labels: false
::: tinygrad.dtype.ConstType

View File

@ -1,7 +1,33 @@
<!-- TODO: remove the imported members -->
::: tinygrad.function
options:
members: true
inherited_members: false
members: [
"Contiguous",
"ContiguousBackward",
"Cast",
"Neg",
"Reciprocal",
"Sin",
"Relu",
"Log",
"Exp",
"Sqrt",
"Sigmoid",
"Sign",
"Less",
"Eq",
"Xor",
"Add",
"Sub",
"Mul",
"Div",
"Where",
"Sum",
"Max",
"Expand",
"Reshape",
"Permute",
"Pad",
"Shrink",
"Flip",
]
show_source: false
members_order: source