Creates an InceptionTime arch from `ni` channels to `nout` outputs.

create_inception(
  ni,
  nout,
  kss = c(39, 19, 9),
  depth = 6,
  bottleneck_size = 32,
  nb_filters = 32,
  head = TRUE
)

Arguments

ni

number of input channels

nout

number of outputs, should be equal to the number of classes for classification tasks.

kss

kernel sizes for the inception Block.

depth

depth

bottleneck_size

The number of channels on the convolution bottleneck.

nb_filters

Channels on the convolution of each kernel.

head

TRUE if we want a head attached.

Value

model