We only support bitwise operations on Integer Tensor types at the moment.
The supported operations are listed here:

  
      github.com
  
  
    pytorch/pytorch/blob/master/torch/csrc/generic/methods/Tensor.cwrap#L912-L1120 107

return: void*
cpu_half: True
cname: data
arguments:
  - THTensor* self
]]


[[
name: equal
variants:
  - method
  - function
return: bool
arguments:
  - THTensor* self
  - THTensor* other
]]


[[
python_name: copy_


  This file has been truncated. show original

  
  
    
    
  
  


You can write your own C/C++ function that takes in the CUDA float* pointer and you can manipulate it yourself. Here’s an example of writing a CUDA extension: https://github.com/longcw/yolo2-pytorch/tree/master/layers/reorg 72
Alternatively, you can use the cupy package, and write your whole CUDA kernel / manipulation in python scripts, for example: https://github.com/szagoruyko/pyinn/blob/master/pyinn/conv2d_depthwise.py 57
What exactly is your use-case?