Learn R Programming

deepspat (version 0.3.1)

LFT: LFT (Möbius transformation)

Description

Sets up a Möbius transformation unit

Usage

LFT(a = NULL, dtype = "float32")

Value

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

"f"

An encapsulated function that takes an input and evaluates the Möbius transformation using TensorFlow

"fR"

Same as f but uses R

"fMC"

Same as f but does it in parallel for several inputs index by the first dimension of the tensor

"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 for LFTs)

"name"

Name of layer

"pars"

List of parameters describing the Möbius transformation as TensorFlow objects

Arguments

a

vector of four complex numbers describing the Möbius transformation

dtype

data type

Examples

Run this code
# \donttest{
if (reticulate::py_module_available("tensorflow")) {
layer <- LFT()
 }
# }

Run the code above in your browser using DataLab