turicreate.Sketch.cancel

Sketch.cancel()

Cancels a background sketch computation immediately if one is ongoing. Does nothing otherwise.

Examples

>>> s = sa.summary(array, background=True)
>>> s.cancel()