|
|
@@ -99,7 +99,7 @@ Status SliceKernel::Compute(const OpDescPtr attr, const std::vector<ConstGeTenso |
|
|
|
stride_vec.push_back(1); |
|
|
|
} |
|
|
|
// construct tensorDesc |
|
|
|
atuo attr_output_tensor_desc = attr->GetOutputDesc(0); |
|
|
|
auto attr_output_tensor_desc = attr->GetOutputDesc(0); |
|
|
|
GeTensorDesc output_tensor_desc(attr_output_tensor_desc); |
|
|
|
output_tensor_desc.SetShape(output_dims); |
|
|
|
GeTensorPtr output_ptr = MakeShared<GeTensor>(output_tensor_desc); |
|
|
|