Learn R Programming

deepspat (version 0.3.1)

AFF_2D: Affine transformation on a 2D domain

Description

Sets up an affine transformation on a 2D domain

Usage

AFF_2D(a = c(0, 1, 0, 0, 0, 1), dtype = "float32")

Value

AFF_2D returns a list containing a list with the following components:

"f"

An encapsulated function that takes an input and evaluates the affine transformation using TensorFlow

"fR"

Same as f but uses R

"r"

The number of basis functions (fixed to 1 in this case)

"trans"

The transformation applied to the weights before estimation (in this case the identity)

"fix_weights"

Flag indicating whether the weights are fixed or not (TRUE in this case)

"name"

Name of layer

"pars"

List of parameters describing the affine transformation as TensorFlow objects

Arguments

a

vector of six real numbers describing an affine transformation on a 2D domain

dtype

data type