Skip to content

Arithmetic Layer

Some text to describe the arithmetic layer within usual ICNs.

List of arithmetic operations

CompositionalNetworks.ar_sum Function
julia
ar_sum(x)

Reduce k = length(x) vectors through sum to a single vector.

source

CompositionalNetworks.ar_prod Function
julia
ar_prod(x)

Reduce k = length(x) vectors through product to a single vector.

source

Layer generation

CompositionalNetworks.arithmetic_layer Function
julia
arithmetic_layer()

Generate the layer of arithmetic operations of the ICN. The operations are mutually exclusive, that is only one will be selected.

source