cuda.bindings.nvml.EncoderSessionInfo#
- class cuda.bindings.nvml.EncoderSessionInfo(size=1)#
Empty-initialize an array of nvmlEncoderSessionInfo_t.
The resulting object is of length size and of dtype encoder_session_info_dtype. If default-constructed, the instance represents a single struct.
- Parameters:
size (int) – number of structs, default=1.
See also
nvmlEncoderSessionInfo_t
- __init__(*args, **kwargs)#
Methods
__init__(*args, **kwargs)from_buffer(buffer)Create an EncoderSessionInfo instance with the memory from the given buffer.
from_data(data)Create an EncoderSessionInfo instance wrapping the given NumPy array.
from_ptr(intptr_t ptr, size_t size=1, ...)Create an EncoderSessionInfo instance wrapping the given pointer.
Attributes
average_fpsUnion[~_numpy.uint32, int]:
average_latencyUnion[~_numpy.uint32, int]:
codec_typeUnion[~_numpy.int32, int]:
h_resolutionUnion[~_numpy.uint32, int]:
pidUnion[~_numpy.uint32, int]:
ptrGet the pointer address to the data as Python
int.session_idUnion[~_numpy.uint32, int]:
v_resolutionUnion[~_numpy.uint32, int]:
vgpu_instanceUnion[~_numpy.uint32, int]: