vitis_ai_dnndk/facedetect.py
def stop(self):
    """Destroy DPU Tasks & free resources"""
    n2cube.dpuDestroyTask(self.dpuTask)

    """Destroy DPU Tasks & free resources"""
    rtn = n2cube.dpuDestroyKernel(self.dpuKernel)

    """Dettach from DPU driver & release resources"""
    #n2cube.dpuClose()

    self.dpuTask = []
    self.dpuKernel = []
Destroy DPU Tasks & free resources
Destroy DPU Tasks & free resources
Destroy DPU Tasks & free resources
def stop(self):
    n2cube.dpuDestroyTask(self.dpuTask)
    rtn = n2cube.dpuDestroyKernel(self.dpuKernel)
    self.dpuTask = []
    self.dpuKernel = []
def stop ( self ) : n2cube . dpuDestroyTask ( self . dpuTask ) """Destroy DPU Tasks & free resources""" rtn = n2cube . dpuDestroyKernel ( self . dpuKernel ) """Dettach from DPU driver & release resources""" self . dpuTask = [ ] self . dpuKernel = [ ]
Destroy DPU Tasks & free resources
Destroy DPU Tasks & free resources
"""Destroy DPU Tasks & free resources""" """Destroy DPU Tasks & free resources""" """Dettach from DPU driver & release resources""" #n2cube.dpuClose()
self