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
|
Applies a 1D average pooling over an input signal composed of several input planes, returning the max indices along with the outputs.
Extended Type:
|
Full Usage:
dsharp.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
|
Applies a 1D average pooling over an input signal composed of several input planes, returning the max indices along with the outputs.
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 : seq<int>
-
The sizes of the window to take a max over.
?strides : seq<int>
-
The strides of the window. Default value is kernelSize.
?paddings : seq<int>
-
The implicit zero paddings to be added on both sides.
Returns: Tensor
|
Applies a 1D average pooling over an input signal composed of several input planes, returning the max indices along with the outputs.
Extended Type:
|
Full Usage:
dsharp.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 : seq<int>
-
The sizes of the window to take a max over.
?strides : seq<int>
-
The strides of the window. Default value is kernelSize.
?paddings : seq<int>
-
The implicit zero paddings to be added on both sides.
Returns: Tensor
|
Applies a 2D average pooling over an input signal composed of several input planes, returning the max indices along with the outputs.
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 : seq<int>
-
The sizes of the window to take a max over.
?strides : seq<int>
-
The strides of the window. Default value is kernelSize.
?paddings : seq<int>
-
The implicit zero paddings to be added on both sides.
Returns: Tensor
|
Applies a 3D average pooling over an input signal composed of several input planes, returning the max indices along with the outputs.
Extended Type:
|
Full Usage:
dsharp.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 : seq<int>
-
The sizes of the window to take a max over.
?strides : seq<int>
-
The strides of the window. Default value is kernelSize.
?paddings : seq<int>
-
The implicit zero paddings to be added on both sides.
Returns: Tensor
|
Applies a 2D average pooling over an input signal composed of several input planes, returning the max indices along with the outputs.
Extended Type:
|
© Copyright 2021, DiffSharp Contributors.