update output size of reshape op when dynamic shape
This commit is contained in:
parent
e611ca2907
commit
738f019940
|
|
@ -81,6 +81,10 @@ void HostKernelMod::InferOp() {
|
|||
MS_LOG(EXCEPTION) << "The node is not dynamic shape.";
|
||||
}
|
||||
KernelMod::InferShape();
|
||||
|
||||
input_size_list_.clear();
|
||||
output_size_list_.clear();
|
||||
HostKernelMod::Init(node);
|
||||
}
|
||||
|
||||
std::vector<TaskInfoPtr> HostKernelMod::GenTask(const std::vector<AddressPtr> &, const std::vector<AddressPtr> &,
|
||||
|
|
|
|||
Loading…
Reference in New Issue