!28706 Fix Splitv Compile Bug
Merge pull request !28706 from hwjiaorui/compile-bug
This commit is contained in:
commit
b87e6c542e
|
@ -869,7 +869,7 @@ std::vector<int64_t> AnfRuntimeAlgorithm::GetInputDeviceShapeForTbeBuild(const A
|
|||
infer_shape = trans::PaddingShape(infer_shape, format, GetInputReshapeType(node, input_idx));
|
||||
}
|
||||
auto dtype = GetInputDeviceDataType(node, input_idx);
|
||||
return trans::TransShapeToDevice(infer_shape, format, node, input_idx, dtype);
|
||||
return trans::TransShapeToDevice(infer_shape, format, node, input_idx, dtype, false);
|
||||
}
|
||||
|
||||
std::vector<size_t> AnfRuntimeAlgorithm::GetInputDeviceShape(const AnfNodePtr &node, size_t input_idx) {
|
||||
|
|
Loading…
Reference in New Issue