Hardmax API in Symbol (new contribution)

I am writing a PR on Hardmax API #13083
(currently only for front-end Python API support not in backend C/C++)

NDarray API for hardmax is done
Wanted to do the same for Symbol
But it is giving me error saying
shape is not available method/function for data symbol

Please help me resolve this. Thanks