Disables complex floor, ceil, trunc (to be compatible with NumPy) (#35592)
Summary:
NumPy doesn't allow complex inputs to floor, ceil, or trunc, and without careful deliberation I don't think PyTorch should, either: is it intuitive that these functions apply to both the real and imaginary parts of complex tensors, or only to the real parts?
This PR disables these functions for complex inputs so we don't prematurely commit a particular behavior.
Pull Request resolved: https://github.com/pytorch/pytorch/pull/35592
Differential Revision: D20757796
Pulled By: mruberry
fbshipit-source-id: fdc53ac161fca7ad94c9280c3f5cf9c7c40c7f2c