|
24 | 24 | from pystac.serialization.identify import STACJSONDescription, STACVersionID |
25 | 25 | from pystac.utils import StringEnum, get_required |
26 | 26 |
|
| 27 | +#: Generalized version of :class:`pystac.Item`, :class:`pystac.ItemAssetDefinition`, |
| 28 | +#: :class:`pystac.Collection`, or :class:`pystac.Asset` |
27 | 29 | T = TypeVar( |
28 | 30 | "T", pystac.Item, pystac.ItemAssetDefinition, pystac.Collection, pystac.Asset |
29 | 31 | ) |
@@ -1186,12 +1188,13 @@ def create( |
1186 | 1188 | for. This can be a subset of mlm:tasks defined under the Item properties |
1187 | 1189 | as applicable. |
1188 | 1190 | result: The structure that describes the resulting output arrays/tensors |
1189 | | - from one model head. description: Additional details about the output such |
1190 | | - as describing its purpose or expected result that cannot be represented |
1191 | | - by other properties. |
| 1191 | + from one model head. description: Additional details about the output |
| 1192 | + such as describing its purpose or expected result that cannot be |
| 1193 | + represented by other properties. |
1192 | 1194 | classes: A list of class objects adhering to the Classification Extension. |
1193 | 1195 | post_processing_function: Custom postprocessing function where |
1194 | | - normalization, rescaling, or any other significant operations takes place. |
| 1196 | + normalization, rescaling, or any other significant operations takes |
| 1197 | + place. |
1195 | 1198 |
|
1196 | 1199 | Returns: |
1197 | 1200 | ModelOutput |
@@ -1448,7 +1451,7 @@ def ext(cls, obj: T, add_if_missing: bool = False) -> MLMExtension[T]: |
1448 | 1451 | listed there. |
1449 | 1452 |
|
1450 | 1453 | Returns: |
1451 | | - MLMExtension[pystac.extensions.mlm.T]: The extended object |
| 1454 | + MLMExtension[T]: The extended object |
1452 | 1455 |
|
1453 | 1456 | Raises: |
1454 | 1457 | pystac.STACError: When a :class:`pystac.Asset` object is apssed as the |
|
0 commit comments