Skip to content

Latest commit

 

History

History
39 lines (29 loc) · 1.61 KB

File metadata and controls

39 lines (29 loc) · 1.61 KB

Initialize Array

Description

Creates a n-dimensional tensor in which every element is initialized to the value of element. Type : polymorphic.

Initialize_Array.Png

Input parameters

Input_Single.Png element : float, value used to initialize all elements of initialized tensor.
Input_Array_Integer_32.Png shape : array, the size of dimensions 0..n-1.

Output parameters

Output_Tensor.Png initialized array : class, tensor of the same type as the type you wire to element.

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).

ex_init_array