Chain: Chain various layers together to form a network

View source: R/BayesFluxR.R

ChainR Documentation

Chain various layers together to form a network

Description

Chain various layers together to form a network

Usage

Chain(...)

Arguments

...

Comma separated layers

Value

List with the following content

  • juliavar - the julia variable containing the network

  • specification - the string representation of the network

  • nc - the julia variable for the network constructor

Examples

## Not run: 
  ## Needs previous call to `BayesFluxR_setup` which is time
  ## consuming and requires Julia and BayesFlux.jl
  BayesFluxR_setup(installJulia=TRUE, seed=123)
  Chain(LSTM(5, 5))
  Chain(RNN(5, 5, "tanh"))
  Chain(Dense(1, 5))

## End(Not run)



enweg/BFluxR documentation built on Jan. 27, 2024, 6:43 p.m.