layer_subpixel_conv2d: Keras layer to do a subpixel CNN, upsampling layer

Description Usage Arguments Value

View source: R/keras_layers.R

Description

This layer does upsampling using a subpixel CNN, sometimes called a pixel shuffle. Essentially it shuffles together channels such that each new pixel created uses one of the channels in for that pixel in the previous layer.

Usage

1
2
layer_subpixel_conv2d(object, scale = 2, name = NULL,
  trainable = TRUE)

Arguments

object

A tensor input to the layer

scale

Upsample by this much (2 = 2x)

name

Optional name for the layer

trainable

Is the layer trainable?

Value

A tensor output


rdinnager/DDLL documentation built on Nov. 5, 2019, 3:04 a.m.