__init__

Stream.__init__(auto_yield: bool = True)

Constructor for the Stream class.

Parameters:

auto_yield (bool) -- Specifies if to automatically release IPU core resources after all tasks in the stream are completed. Defaults to True. This parameter is only applicable to Houmo M30 products. For Houmo M50 products, the value is always True.