Engee documentation

Bias

Adds an offset to the input signal.

blockType: Bias

Path in the library:

/Basic/Math Operations/Bias

Description

Block Bias adds an offset (deviation) to the input signal according to the formula:

where

  • — block entrance;

  • — parameter value Bias;

  • — block output.

Ports

Input

# IN_1 — Input signal
scalar | vector | the matrix | N-dimensional array

Details

The input signal to which the offset is added.

Data types

Float16, Float32, Float64, Int8, Int16, Int32, Int64, Int128, UInt8, UInt16, UInt32, UInt64, UInt128, Bool, Fixed-point

Complex numbers support

I don’t

Output

# OUT_1 — Output signal
scalar | vector | the matrix | N-dimensional array

Details

The output signal obtained by adding an offset to the input signal.

Data types

Float16, Float32, Float64, Int8, Int16, Int32, Int64, Int128, UInt8, UInt16, UInt32, UInt64, UInt128, Bool, Fixed-point

Complex numbers support

I don’t

Parameters

Parameters

# Bias — offset to add to the input signal
Scalar / array of real and/or complex numbers

Details

The offset value.

Default value

0.0

Program usage name

Bias

Tunable

Yes

Evaluatable

Yes

# Saturate on integer overflow — method of action in case of overflow
Logical

Details

When this check box is selected, the value that goes beyond the type limits is reset to the maximum or minimum value that the selected data type can represent. Otherwise, overflow transfer occurs.

When this option is selected, saturation is applied to all internal operations in the block, not just to the output or result.

Default value

false (switched off)

Program usage name

SaturateOnIntegerOverflow

Tunable

No

Evaluatable

No

Additional options

C code generation: Yes