获取aclTensor的OriginShape属性。
gert::Shape GetOriginalShape()
无
返回值为gert::Shape,记录了一组shape信息,例如一个三维shape:[10, 20, 30]。
1 2 3
void Func(const aclTensor *input) { auto shape = input->GetOriginalShape(); }