NvDsInferLayerInfo

class pyds.NvDsInferLayerInfo

Holds information about one layer in the model.

Variables:
  • dataType – NvDsInferDataType, Data type of the layer.

  • dims – NvDsInferDims, Dimensions of the layer. WARNING: to be deprecated, please change all usage to “inferDims”.

  • inferDims – NvDsInferDims, Dimensions of the layer.

  • bindingIndex – int, TensorRT binding index of the layer.

  • layerName – str, Name of the layer.

  • buffer – Buffer for the layer data.

  • isInput – int, Holds a Boolean; true if the layer is an input layer, or false (0) if an output layer.

cast(*args, **kwargs)

Overloaded function.

  1. cast(self: capsule) -> pyds.NvDsInferLayerInfo

cast given object/data to NvDsInferLayerInfo, call pyds.NvDsInferLayerInfo.cast(data)

  1. cast(self: int) -> pyds.NvDsInferLayerInfo

cast given object/data to NvDsInferLayerInfo, call pyds.NvDsInferLayerInfo.cast(data)