def id(self) -> int 函数功能返回stream_id。 函数原型def id(self) -> int 返回值说明Int类型。返回Stream的id编号。 父主题: class mindietorch.npu.Stream