NvDsInferDims¶
- class pyds.NvDsInferDims¶
指定层的维度。
- 变量:
numDims – int, 层的维度数量。
numElements – int, 层中元素的数量,包括所有维度。
d – np.array of int, 每维度层的大小。
- cast(*args, **kwargs)¶
重载函数。
cast(self: capsule) -> pyds.NvDsInferDims
将给定的对象/数据转换为
NvDsInferDims
,调用 pyds.NvDsInferDims.cast(data)cast(self: int) -> pyds.NvDsInferDims
将给定的对象/数据转换为
NvDsInferDims
,调用 pyds.NvDsInferDims.cast(data)