Type extension | Description |
Full Usage:
this.avgpool1d (kernelSize, ?stride, ?padding)
Parameters:
int
-
The size of the window to take a max over.
?stride : int
-
The stride of the window. Default value is kernelSize.
?padding : int
-
The implicit zero padding to be added on both sides.
Returns: Tensor
|
|
Full Usage:
FurnaceImage.avgpool1d (input, kernelSize, ?stride, ?padding)
Parameters:
Tensor
-
The input tensor.
kernelSize : int
-
The size of the window to take a max over.
?stride : int
-
The stride of the window. Default value is kernelSize.
?padding : int
-
The implicit zero padding to be added on both sides.
Returns: Tensor
|
Extended Type:
|
Full Usage:
this.avgpool2d (?kernelSize, ?stride, ?padding, ?kernelSizes, ?strides, ?paddings)
Parameters:
int
-
The size of the window to take a max over.
?stride : int
-
The stride of the window. Default value is kernelSize.
?padding : int
-
The implicit zero padding to be added on both sides.
?kernelSizes : int seq
-
The sizes of the window to take a max over.
?strides : int seq
-
The strides of the window. Default value is kernelSize.
?paddings : int seq
-
The implicit zero paddings to be added on both sides.
Returns: Tensor
|
Extended Type:
|
Full Usage:
FurnaceImage.avgpool2d (input, ?kernelSize, ?stride, ?padding, ?kernelSizes, ?strides, ?paddings)
Parameters:
Tensor
-
The input tensor.
?kernelSize : int
-
The size of the window to take a max over.
?stride : int
-
The stride of the window. Default value is kernelSize.
?padding : int
-
The implicit zero padding to be added on both sides.
?kernelSizes : int seq
-
The sizes of the window to take a max over.
?strides : int seq
-
The strides of the window. Default value is kernelSize.
?paddings : int seq
-
The implicit zero paddings to be added on both sides.
Returns: Tensor
|
Extended Type:
|
Full Usage:
this.avgpool3d (?kernelSize, ?stride, ?padding, ?kernelSizes, ?strides, ?paddings)
Parameters:
int
-
The size of the window to take a max over.
?stride : int
-
The stride of the window. Default value is kernelSize.
?padding : int
-
The implicit zero padding to be added on both sides.
?kernelSizes : int seq
-
The sizes of the window to take a max over.
?strides : int seq
-
The strides of the window. Default value is kernelSize.
?paddings : int seq
-
The implicit zero paddings to be added on both sides.
Returns: Tensor
|
Extended Type:
|
Full Usage:
FurnaceImage.avgpool3d (input, ?kernelSize, ?stride, ?padding, ?kernelSizes, ?strides, ?paddings)
Parameters:
Tensor
-
The input tensor.
?kernelSize : int
-
The size of the window to take a max over.
?stride : int
-
The stride of the window. Default value is kernelSize.
?padding : int
-
The implicit zero padding to be added on both sides.
?kernelSizes : int seq
-
The sizes of the window to take a max over.
?strides : int seq
-
The strides of the window. Default value is kernelSize.
?paddings : int seq
-
The implicit zero paddings to be added on both sides.
Returns: Tensor
|
Extended Type:
|
© Copyright 2025, Furnace Contributors.