Array Subset
Description
Returns a portion of array starting at index and containing length elements.
Warning : A new tensor is created for the output.
Documentation illustration (illustration unavailable in the archive).
Input parameters
Documentation illustration (illustration unavailable in the archive). array : class, n-dimensional tensor.
Documentation illustration (illustration unavailable in the archive). 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.
Documentation illustration (illustration unavailable in the archive). 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
Documentation illustration (illustration unavailable in the archive). 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).
Documentation illustration (illustration unavailable in the archive).
