NvDsInferDims

class pyds.NvDsInferDims

Specifies dimensions of a layer.

Variables:
  • numDimsint, Number of dimesions of the layer.

  • numElementsint, Number of elements in the layer including all dimensions.

  • dnp.array of int, Size of the layer in each dimension.

cast(*args, **kwargs)

Overloaded function.

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

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

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

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