GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • 
  • Consortium for Python Data API Standards
  • API specification
  • Purpose and scope
  • Terms and Definitions
  • Use cases
  • Assumptions
  • Design topics & constraints
  • Future API standard evolution
  • Array object
  • Broadcasting
  • Constants
  • Creation Functions
  • Data Type Functions

This view

  • Original page
  • New address

GeezerVison is showing data-apis.org — Inspection — Python array API standard DRAFT documentation

Inspection¶

Array API specification for namespace inspection utilities.

A conforming implementation of the array API standard must provide and support the following functions and associated inspection APIs.

Objects in API¶

__array_namespace_info__()

Returns a namespace with Array API namespace inspection utilities.

Inspection APIs¶

In the namespace (or class) returned by __array_namespace_info__, a conforming implementation of the array API standard must provide and support the following functions (or methods) for programmatically querying data type and device support, capabilities, and other specification-defined implementation-specific behavior, as documented in the functions described below.

capabilities()

Returns a dictionary of array library capabilities.

default_device()

Returns the default device.

default_dtypes(*, device=None)

Returns a dictionary containing default data types.

devices()

Returns a list of supported devices which are available at runtime.

dtypes(*, device=None, kind=None)

Returns a dictionary of supported Array API data types.

You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.