sync
Stream.sync()
Waits for all tasks in the stream to complete.
For Houmo M50 products, this function is equivalent to tcim_lite.runtime.Stream.sync_yield().
Note
For Houmo M30 products, if the auto_yield parameter was set to True when initializing the Stream object via the constructor, the IPU resources used by this stream will be automatically released after this method completes.
Examples
See example in Stream.