Browse Source

For const input in dynamic aicpu single_op.

tags/v1.2.0
unknown 3 years ago
parent
commit
56b65a7a41
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      ge/single_op/task/op_task.cc

+ 1
- 1
ge/single_op/task/op_task.cc View File

@@ -369,7 +369,7 @@ Status AiCpuBaseTask::SetExtInfoAndType(const std::string &kernel_ext_info, uint
return SUCCESS; return SUCCESS;
} }


Status AiCpuTask::SetInputConst() {
Status AiCpuBaseTask::SetInputConst() {
input_is_const_.clear(); input_is_const_.clear();
const vector<bool> v_is_input_const = op_desc_->GetIsInputConst(); const vector<bool> v_is_input_const = op_desc_->GetIsInputConst();
for (size_t i = 0; i < op_desc_->GetAllInputsSize(); ++i) { for (size_t i = 0; i < op_desc_->GetAllInputsSize(); ++i) {


Loading…
Cancel
Save