Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

tensor Kind

A raw multi-dimensional numeric tensor (torch.Tensor).

A raw multi-dimensional numeric tensor (torch.Tensor)

Data representation

External

External data representation is relevant for Workflows clients - it dictates what is the input and output format of data.

Type: list

Internal

Internal data representation is relevant for Workflows blocks creators - this is the type that will be provided by Execution Engine in runtime to the block that consumes input of this kind.

Type: torch.Tensor

Details

This kind represents a raw, multi-dimensional numeric tensor kept on-device as a torch.Tensor. It is the tensor-native counterpart of numpy_array, but it is a standalone kind with its own name (tensor) - it does NOT replace or alias numpy_array; the two coexist.

It is used by blocks that emit dense numeric maps (for example, the depth map produced by Depth Estimation) and want to keep the data on the accelerator, avoiding an eager GPU -> CPU / numpy round-trip.

Last updated

Was this helpful?