inst/inst__nn_modules__general/nn_module__nn_exp.R

nn_exp <- torch::nn_module(
  classname = "nn_exp",
  # --- init
  initialize = function(...) {


  },
  # --- forward:
  forward = function(x,...) {

    # --- perform exponential
    return( torch_exp(x) )

  }
)
adsb85/lqp documentation built on April 9, 2022, 12:35 a.m.