Skip to content

Latest commit

 

History

History
45 lines (34 loc) · 2.21 KB

README.md

File metadata and controls

45 lines (34 loc) · 2.21 KB

Array Subset

Description

Returns a portion of array starting at index and containing length elements.

Warning : A new tensor is created for the output.

Array_Subset.Png

Input parameters

Input_Tensor.Png array : class, n-dimensional tensor.
Input_Array_Integer_32.Png index : array, specifies the first element, row, column, or page to include in the portion of array you want to return. The shape of this entry must be equal to the shape of the array tensor.
Input_Array_Integer_32.Png length : array, specifies how many elements, rows, columns, or pages to include in the portion of array you want to return. The shape of this entry must be equal to the shape of the array tensor. The default (-1) is the length from index to the end of array.

Output parameters

Output_Tensor.Png subarray : class, n-dimensional tensor that returns a portion of the input tensor.

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_array_subset