ai.onnx.ml - Binarizer#

Binarizer - 1#

Version

  • name: Binarizer (GitHub)

  • domain: ai.onnx.ml

  • since_version: 1

  • function:

  • support_level: SupportType.COMMON

  • shape inference: False

This version of the operator has been available since version 1 of domain ai.onnx.ml.

Summary

Attributes

  • threshold - FLOAT : Values greater than this are mapped to 1, others to 0.

Inputs

  • X (heterogeneous) - T:

Outputs

  • Y (heterogeneous) - T:

Type Constraints

  • T in ( tensor(double), tensor(float), tensor(int32), tensor(int64) ): The input must be a tensor of a numeric type. The output will be of the same tensor type.

Examples