Skip to content

Dimension Collapse

Version v1

Takes multiple step outputs at data depth level n, concatenate them into list and reduce dimensionality to level n-1.

Useful in scenarios like: * aggregation of classification results for dynamically cropped images * aggregation of OCR results for dynamically cropped images

Type identifier

Use the following identifier in step "type" field: roboflow_core/dimension_collapse@v1to add the block as as step in your workflow.

Properties

Name Type Description Refs
name str The unique name of this step..

The Refs column marks possibility to parametrise the property with dynamic values available in workflow runtime. See Bindings for more info.

Available Connections

Check what blocks you can connect to Dimension Collapse in version v1.

The available connections depend on its binding kinds. Check what binding kinds Dimension Collapse in version v1 has.

Bindings
  • input

    • data (*): Reference to step outputs at depth level n to be concatenated and moved into level n-1..
  • output

Example JSON definition of step Dimension Collapse in version v1
{
    "name": "<your_step_name_here>",
    "type": "roboflow_core/dimension_collapse@v1",
    "data": "$steps.ocr_step.results"
}