Browse Source

Feature: reset shape of dynamic single op

pull/618/head
l00444296 4 years ago
parent
commit
d71712b695
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      ge/graph/passes/dynamic_single_op_reset_shape_pass.cc

+ 1
- 1
ge/graph/passes/dynamic_single_op_reset_shape_pass.cc View File

@@ -105,7 +105,7 @@ Status DynamicSingleOpResetShapePass::CheckAllAicpuNodes(const ComputeGraphPtr &


bool DynamicSingleOpResetShapePass::CheckIfConstInput(const GeTensorDescPtr &input_tensor_desc) { bool DynamicSingleOpResetShapePass::CheckIfConstInput(const GeTensorDescPtr &input_tensor_desc) {
bool is_const = false; bool is_const = false;
(void)AttrUtils::GetBool(input_desc, CONST_ATTR_NAME_INPUT, is_const);
(void)AttrUtils::GetBool(input_tensor_desc, CONST_ATTR_NAME_INPUT, is_const);
return is_const; return is_const;
} }




Loading…
Cancel
Save