Learn R Programming

nnR (version 0.1.0)

Cpy: Cpy

Description

The function that returns \(\mathsf{Cpy}\) neural networks. These are neural networks defined as such $$ \mathsf{Aff}_{\left[ \mathbb{I}_k \: \mathbb{I}_k \: \cdots \: \mathbb{I}_k\right]^T,0_{k}} $$

Usage

Cpy(n, k)

Value

Returns an affine network that makes a concatenated vector that is \(n\)

copies of the input vector of size \(k\). See Aff and Sum.

Arguments

n

number of copies to make.

k

the size of the input vector.

References

Definition 2.9. Rafi S., Padgett, J.L., Nakarmi, U. (2024) Towards an Algebraic Framework For Approximating Functions Using Neural Network Polynomials https://arxiv.org/abs/2402.01058