Unpack and Merge Data

You are currently viewing the documentation for a pre-release version (2.2.0). To access documentation for other versions, click the "Switch Version" button located in the upper-right corner of the page.

■ If you're unsure about the version of the product you are using, please contact Mech-Mind Technical Support for assistance.

Function

This Step is used to decompose a high-dimensional data list and merge the sub-lists in it.

function description

Usage Scenario

This is a general-purpose Step for reducing data dimensionality. It can decompose a data list and then merge the extracted elements, and is commonly used for flattening high-dimensional data.

For example, if the input is \[[5], [6], [7]], the output can be [5, 6, 7].

Input and Output

Input

Input ports Data type Description

Unnamed

Abstract

The data input to this port will be unpacked and merged into new lower-dimensional data.

Output

Output ports Data type Description

Unnamed

Abstract

New lower-dimensional data formed after unpacking and merging.

Parameter Description

Parameter Description

Operation Layer

Parameter description: This parameter specifies at which layer the “unpack and merge” operation is performed. Default value: 0 How to adjust: The behavior at each operation layer is described below.

Default value: 0

Instruction: The operation layers are described as follows.

  • If the Operation Layer parameter is set to 0, expand the sub-list of the outermost layers. For example, input [[1, 2]], [3, 4]] and output [1, 2, 3, 4].

  • If the Operation Layer parameter is set to 1: Operate the second layer, expand the sub-list in the second layer. For example, input [[[1, 2]], [3, 4]], [[5, 6]]], and output [[1, 2, 3, 4]], [5, 6]].

Is this page helpful?

You can give a feedback in any of the following ways:

We Value Your Privacy

We use cookies to provide you with the best possible experience on our website. By continuing to use the site, you acknowledge that you agree to the use of cookies. If you decline, a single cookie will be used to ensure you're not tracked or remembered when you visit this website.