Method ScaleBias
ScaleBias(TensorFloat, TensorFloat, TensorFloat)
Computes the output tensor with an element-wise ScaleBias function: f(X, s, b) = x * s + b.
Declaration
public TensorFloat ScaleBias(TensorFloat X, TensorFloat S, TensorFloat B)
Parameters
| Type | Name | Description |
|---|---|---|
| TensorFloat | X | The input tensor. |
| TensorFloat | S | The scale tensor. |
| TensorFloat | B | The bias tensor. |
Returns
| Type | Description |
|---|---|
| TensorFloat | The computed output tensor. |