Paddle icon indicating copy to clipboard operation
Paddle copied to clipboard

fix custom-npu op error in optional parameter

Open TBD1 opened this issue 7 months ago • 1 comments

PR Category

Custom Device

PR Types

Bug fixes

Description

fix custom-npu op error in optional parameter.

  1. The compilation of custom-npu become stuck when too many optional parameters are added to the custom-npu op. After commenting out some code in the op_meta_info.h, compilation resumes.
  2. Fix the problem of unequal values passed to optional parameters in python and C++ when py_None is passed.

TBD1 avatar Jul 16 '24 02:07 TBD1