ai.onnx.ml - Scaler#

Scaler - 1#

Version

  • name: Scaler (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

  • offset - FLOATS : First, offset by this.<br>Can be length of features in an [N,F] tensor or length 1, in which case it applies to all features, regardless of dimension count.

  • scale - FLOATS : Second, multiply by this.<br>Can be length of features in an [N,F] tensor or length 1, in which case it applies to all features, regardless of dimension count.<br>Must be same length as ‘offset’

Inputs

  • X (heterogeneous) - T:

Outputs

  • Y (heterogeneous) - tensor(float):

Type Constraints

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

Examples