pyspark.resource.
ResourceInformation
Class to hold information about a type of Resource. A resource could be a GPU, FPGA, etc. The array of addresses are resource specific and its up to the user to interpret the address.
One example is GPUs, where the addresses would be the indices of the GPUs
New in version 3.0.0.
the name of the resource
an array of strings describing the addresses of the resource
Notes
This API is evolving.
Attributes
addresses
name