ZipMap#

  • Domain: ai.onnx.ml

  • Since version: 1

Creates a map from the input and the attributes. The values are provided by the input tensor, while the keys are specified by the attributes. Must provide keys in either classlabels_strings or classlabels_int64s (but not both). The columns of the tensor correspond one-by-one to the keys specified by the attributes. There must be as many columns as keys.

Inputs

  • X (tensor(float)): The input values

Outputs

  • Z (T): The output map

Attributes

  • classlabels_int64s (int[]): The keys when using int keys. One and only one of the ‘classlabels*’ attributes must be defined.

  • classlabels_strings (string[]): The keys when using string keys. One and only one of the ‘classlabels*’ attributes must be defined.

Type Constraints

  • T: The output will be a sequence of string or integer maps to float. Allowed types: seq(map(int64, float)), seq(map(string, float)).