Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

DenseResBlock

Dense Res Block


Description

Resnet block of 'nf' features. 'conv_kwargs' are passed to 'conv_layer'.

Usage

DenseResBlock(
  nf,
  norm_type = 1,
  ks = 3,
  stride = 1,
  padding = NULL,
  bias = NULL,
  ndim = 2,
  bn_1st = TRUE,
  act_cls = nn()$ReLU,
  transpose = FALSE,
  init = "auto",
  xtra = NULL,
  bias_std = 0.01,
  dilation = 1,
  groups = 1,
  padding_mode = "zeros"
)

Arguments

nf

number of features

norm_type

normalization type

ks

kernel size

stride

stride

padding

padding

bias

bias

ndim

number of dimensions

bn_1st

batch normalization 1st

act_cls

activation

transpose

transpose

init

initizalier

xtra

xtra

bias_std

bias standard deviation

dilation

dilation number

groups

groups number

padding_mode

padding mode

Value

block


fastai

Interface to 'fastai'

v2.0.7
Apache License 2.0
Authors
Turgut Abdullayev [ctb, cre, cph, aut]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.