pyspark.resource module¶
Module Contents¶
- 
class pyspark.resource.ResourceInformation(name, addresses)[source]¶
- Note - Evolving - 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 - Parameters
- name – the name of the resource 
- addresses – an array of strings describing the addresses of the resource 
 
 - New in version 3.0.0. - 
property addresses¶
 - 
property name¶
 
