parameters: (self, dtype)
return_statement: return DeviceNDArray(
              shape=self.shape,
              strides=self.strides,
              dtype=dtype,
              stream=self.stream,
              gpu_data=self.gpu_data,
              )
docstring: Returns a new object by reinterpretting the dtype without making a
          copy of the data.
docstring_summary: Returns a new object by reinterpretting the dtype without making a
          copy of the data.
docstring_tokens: Returns a new object by reinterpretting the dtype without making a copy of the data .
function: def view(self, dtype):
          """Returns a new object by reinterpretting the dtype without making a
          copy of the data.
          """
          dtype = np.dtype(dtype)
          if dtype.itemsize != self.dtype.itemsize:
              raise TypeError("new dtype itemsize doesn't match")
          return DeviceNDArray(
              shape=self.shape,
              strides=self.strides,
              dtype=dtype,
              stream=self.stream,
              gpu_data=self.gpu_data,
              )
function_tokens: def view ( self , dtype ) : dtype = np . dtype ( dtype ) if dtype . itemsize != self . dtype . itemsize : raise TypeError ( "new dtype itemsize doesn't match" ) return DeviceNDArray ( shape = self . shape , strides = self . strides , dtype = dtype , stream = self . stream , gpu_data = self . gpu_data , )