to_cuda
Engine.to_cuda(data)- Move the
datato the GPU if it is stored on the CPU. Note that this operation will throw an exception if the engine was not created in GPU mode.
- Input:
- Any data structures created through the engine.
- Output:
- None
Engine.to_cuda(data)data to the GPU if it is stored on the CPU.
Note that this operation will throw an exception if the engine was not created in GPU mode.