Skip to content

← signal_processing package

ApplyLinearTransformation

Calculates a dot product or matrix multiply of the data tensor with a filters tensor.

(If the data and filter tensors have two axes (2D tensors), then a matrix multiply is applied. If they have a single axis (1D tensor), then a dot product is applied.) The data and filters tensor must both have an axis of the same type and size. This node may be used to apply to these data e.g., a spatial filter or linear classifier that was calculated elsewhere. Version 0.2.0

Ports/Properties

data

Data to process.

verbose name
Data
default value
None
port type
DataPort
value type
Packet (can be None)
data direction
INOUT

filters

The model through which the data will be transformed.

verbose name
Filters
default value
None
port type
DataPort
value type
Packet (can be None)
data direction
IN

axis

Axis along which to align data and filter tensors.

verbose name
Transform Along Axis
default value
space
port type
ComboPort
value type
str (can be None)

intercept

Support for linear transforms that expect an intercept feature. This can be set to either prepend or append a special feature that is all-1.

verbose name
Handle Intercept
default value
no
port type
EnumPort
value type
str (can be None)

segsize

Set the total number of array items (e.g ., samples) to process segment-by-segment.

verbose name
Segsize
default value
0
port type
IntPort
value type
int (can be None)

use_caching

Enable caching.

verbose name
Use Caching
default value
False
port type
BoolPort
value type
bool (can be None)

set_breakpoint

Set a breakpoint on this node. If this is enabled, your debugger (if one is attached) will trigger a breakpoint.

verbose name
Set Breakpoint (Debug Only)
default value
False
port type
BoolPort
value type
bool (can be None)

metadata

User-definable meta-data associated with the node. Usually reserved for technical purposes.

verbose name
Metadata
default value
{}
port type
DictPort
value type
dict (can be None)