昇腾社区首页
中文
注册

注意事项

  • 需要注意自定义Op是否是继承了OperationInfra类,并且实现了相应的方法。
  • 对于没有被设置的Op,其streamId默认为0,使用context中存的streams的第一个stream。
  • 设置GraphOp的streamId时,它只会设置streamId=0的图内Op
  • GraphOp的streamId表示的是这个Graph中所有Op的默认streamId