Shape check input

Only Cuda and Tensor had C code with check on the input c_extract.
Remove the helper class:
getattr(getattr(c, 'op', helper), 'check_input', True)

->

c != "output" and getattr(c.op, 'check_input', config.check_input)