capabilities¶
- capabilities() Capabilities¶
Returns a dictionary of array library capabilities.
The dictionary must contain the following keys:
"boolean indexing": boolean indicating whether an array library supports boolean indexing. If a conforming implementation fully supports boolean indexing in compliance with this specification (see Indexing), the corresponding dictionary value must beTrue; otherwise, the value must beFalse."data-dependent shapes": boolean indicating whether an array library supports data-dependent output shapes. If a conforming implementation fully supports all APIs included in this specification (excluding boolean indexing) which have data-dependent output shapes, as explicitly demarcated throughout the specification, the corresponding dictionary value must beTrue; otherwise, the value must beFalse.
- Returns:
out (Capabilities) – a dictionary of array library capabilities.
Notes