NvDsInferLayerInfo

class pyds.NvDsInferLayerInfo

Holds information about one layer in the model.

Variables:
  • dataTypeNvDsInferDataType, Data type of the layer.

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

  • inferDimsNvDsInferDims, Dimensions of the layer.

  • bindingIndexint, TensorRT binding index of the layer.

  • layerNamestr, Name of the layer.

  • buffer – Buffer for the layer data.

  • isInputint, 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)