Implemented infer_shape on cudnn ops.

This is clearly wrong.  `desc` is not a python object and its properties cannot be accessed.