Skip to content

Other

Any Cast

Removes type information for the fronted, so you can artificially combine nodes that have conflicting type information. This is only useful to allow certain edge cases where the types are not correctly inferred.

Example use case: A node generally returns a union and does not dynamically update its output type, but you know for sure that a specific variant will be returned. As long as the node specifies the union as its output type, you cannot pass it into another node requiring that specific variant. In this case, the Any Cast node comes in handy.

Input: The previous node output you want to remove the type information from.

Output: The input with removed type information.

Batch

Enables batch processing of values, meaning multiple samples can be processed in one run. Provides a list of input values and gets every element from that list one-by-one to process them separately in subsequent nodes.

Input: A list of any type. These are the values the batch node will be iterating over.

Output: For each element of the input: the element and its index in the list. The index can be important when the analysis pipeline contains branches. It makes sure that the elements are not mixed up.

Range

Creates a range of integer numbers as an array.

Input:

  • Start: Lower bound of the range (included).
  • Stop: Upper bound of the range (excluded).

Output: An array containing the numbers [Start, Stop].