Affine#

Affine - 1#

Version

  • name: Affine (GitHub)

  • domain: main

  • since_version: 1

  • function:

  • support_level:

  • shape inference:

This version of the operator has been available since version 1.

Summary

Affine takes one input data (Tensor<T>) and produces one output data (Tensor<T>) where the affine function, y = alpha * x + beta, is applied to the tensor elementwise.

Attributes

  • alpha: Value of alpha Default value is ?.

  • beta: Value of beta Default value is ?.

Inputs

  • X (heterogeneous) - T: 1D input tensor

Outputs

  • Y (heterogeneous) - T: 1D output tensor

Examples