UpSampling1D

class dragon.vm.tensorflow.keras.layers.UpSampling1D(
  size=2,
  data_format='channels_last',
  interpolation='nearest',
  **kwargs
)[source]

1D upsampling layer.

__init__

UpSampling1D.__init__(
  size=2,
  data_format='channels_last',
  interpolation='nearest',
  **kwargs
)[source]

Create an Upsampling1D Layer.

Parameters:
  • size (Union[number, Sequence[number]], optional) – The scale factor along each input dimension.
  • data_format (str, optional, default='channels_last') – 'channels_first' or 'channels_last'.
  • interpolation (str, optional, default='nearest') – 'nearest' or 'linear'.