函数:execute_with_handle
C函数原型  | 
       aclError aclopExecWithHandle(aclopHandle *handle, int numInputs, const aclDataBuffer *const inputs[], int numOutputs, aclDataBuffer *const outputs[], aclrtStream stream);  | 
      
|---|---|
Python函数  | 
       ret = acl.op.execute_with_handle(handle, inputs,outputs, stream)  | 
      
函数功能  | 
       以Handle方式调用一个算子,性能更优,异步接口。  | 
      
输入说明  | 
       handle:int,指定执行算子的handle,地址对象。调用acl.op.create_handle接口创建的acl算子handle数据。 inputs:list,算子输入tensor, 整形列表,包含多个aclDataBuffer数据地址对象。 outputs:list,算子输出tensor,整形列表,包含多个aclDataBuffer数据地址对象。 stream:int,执行算子所在的Stream, stream地址对象。  | 
      
返回值说明  | 
       ret:int,错误码。 
  | 
      
约束说明  | 
       无  | 
      
注意事项  | 
       无  | 
      
     父主题: 算子加载与执行(op)