-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathAFF_1D.Rd
29 lines (29 loc) · 1.03 KB
/
AFF_1D.Rd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/AFF.R
\name{AFF_1D}
\alias{AFF_1D}
\title{Affine transformation on a 1D domain}
\usage{
AFF_1D(a = c(0, 1))
}
\arguments{
\item{a}{vector of two real numbers describing an affine transformation on a 1D domain}
}
\value{
\code{AFF_1D} returns a list containing a list with the following components:
\describe{
\item{"f"}{An encapsulated function that takes an input and evaluates the affine transformation using \code{TensorFlow}}
\item{"fR"}{Same as \code{f} but uses \code{R}}
\item{"r"}{The number of basis functions (fixed to 1 in this case)}
\item{"trans"}{The transformation applied to the weights before estimation (in this case the identity)}
\item{"fix_weights"}{Flag indicating whether the weights are fixed or not (TRUE in this case)}
\item{"name"}{Name of layer}
\item{"pars"}{List of parameters describing the affine transformation as \code{TensorFlow} objects}
}
}
\description{
Sets up an affine transformation on a 1D domain
}
\examples{
layer <- AFF_1D()
}