Skip to content

Commit 7f18518

Browse files
committed
fix type
1 parent 1e2f591 commit 7f18518

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tensorlayer/layers.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1523,7 +1523,7 @@ class UpSampling2dLayer(Layer):
15231523
Parameters
15241524
-----------
15251525
layer : a layer class with 4-D Tensor of shape [batch, height, width, channels] or 3-D Tensor of shape [height, width, channels].
1526-
size : a tupe of int or float.
1526+
size : a tuple of int or float.
15271527
(height, width) scale factor or new size of height and width.
15281528
is_scale : boolean, if True (default), size is scale factor, otherwise, size is number of pixels of height and width.
15291529
method : 0, 1, 2, 3. ResizeMethod. Defaults to ResizeMethod.BILINEAR.

0 commit comments

Comments
 (0)