TensorFlow

API

 tf.keras / layers / layers.UpSampling2D


Abstract wrapper base class.

Inherits From: Layer, Module

Wrappers take another layer and augment it in various ways. Do not use this class as a layer, it is only an abstract base class. Two usable wrappers are the TimeDistributed and Bidirectional wrappers.

layer The layer to be wrapped.

此页内容是否对您有帮助