Welcome to our Support Center

Create Tensor & Host To Device

Description

Allocates size bytes of linear memory on the device and copies data between host and device. Returns a tensor to the allocated memory. Type : polymorphic.

 

Input parameters

 

Β data : array, data copied on the device (can be a scalar, 1D, 2D, 3D, 4D, 5D, 6D array).

Output parameters

 

Tensor out : class

Example

All these exemples 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 PERRINE library to run it).

Table of Contents
Index