Host To Device

Description

Copies data between host and device. Type : polymorphic.

 

Input parameters

 

Tensor in : class, tensor previously allocated with the “Create Tensor” function.
 data : array or float, data of tensor (can be a scalar, 1D, 2D, 3D, 4D, 5D, 6D array).

Output parameters

 

Tensor out : class

Examples

All these examples are snippets PNG, you can drop these Snippet onto the block diagram and get the depicted code added to your VI (Do not forget to install Accelerator library to run it).

Table of Contents