Welcome to our Support Center

Device To Host & Free

Description

Copies data between device and host and free the tensor on the device. Type : polymorphic.

Note : if “type” is empty, then all pointer values are copied, otherwise, only values of the size of the initialized “type” are copied.

 

 

Input parameters

 

Tensor in : class
type : array or float,
type of tensor data (can be a scalar, 1D, 2D, 3D, 4D, 5D, 6D).

Output parameters

 

data : array or float, data of tensor (can be a scalar, 1D, 2D, 3D, 4D, 5D, 6D).

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