Contains functions and values related to tensor shapes.
Function or value | Description |
|
|
|
|
|
|
|
|
|
Checks if the given shapes are appropriate for an avgpool operation and returns information related to the resulting shape.
|
|
Checks if the given shapes are appropriate for an avgpool operation and returns information related to the resulting shape.
|
|
Checks if the given shapes are appropriate for an avgpool operation and returns information related to the resulting shape.
|
|
|
Full Usage:
checkCanCat shapes dim
Parameters:
Shape[]
dim : int
Returns: int * int[] * int * int[] * int[]
|
Checks if the given shapes are appropriate for a concatenation operation and returns information related to the resulting shape.
|
Full Usage:
checkCanConv1d deviceType1 deviceType2 dtype1 dtype2 shape1 shape2 stride padding dilation
Parameters:
DeviceType
deviceType2 : DeviceType
dtype1 : Dtype
dtype2 : Dtype
shape1 : Shape
shape2 : Shape
stride : int
padding : int
dilation : int
Returns: int * int * int * int * int * int[]
|
Checks if the given shapes are appropriate for a convolution operation and returns information related to the resulting shape.
|
Full Usage:
checkCanConv2d deviceType1 deviceType2 dtype1 dtype2 shape1 shape2 strides paddings dilations
Parameters:
DeviceType
deviceType2 : DeviceType
dtype1 : Dtype
dtype2 : Dtype
shape1 : Shape
shape2 : Shape
strides : int[]
paddings : int[]
dilations : int[]
Returns: int * int * (int * int) * (int * int * int) * int[]
|
Checks if the given shapes are appropriate for a convolution operation and returns information related to the resulting shape.
|
Full Usage:
checkCanConv3d deviceType1 deviceType2 dtype1 dtype2 shape1 shape2 strides paddings dilations
Parameters:
DeviceType
deviceType2 : DeviceType
dtype1 : Dtype
dtype2 : Dtype
shape1 : Shape
shape2 : Shape
strides : int[]
paddings : int[]
dilations : int[]
Returns: int * int * (int * int * int) * (int * int * int * int) * int[]
|
Checks if the given shapes are appropriate for a convolution operation and returns information related to the resulting shape.
|
Full Usage:
checkCanConvTranspose1d deviceType1 deviceType2 dtype1 dtype2 shape1 shape2 stride padding dilation outputPadding
Parameters:
DeviceType
deviceType2 : DeviceType
dtype1 : Dtype
dtype2 : Dtype
shape1 : Shape
shape2 : Shape
stride : int
padding : int
dilation : int
outputPadding : int
Returns: int * int * int * int * int * int[]
|
Checks if the given shapes are appropriate for a transposed convolution operation and returns information related to the resulting shape.
|
Full Usage:
checkCanConvTranspose2d deviceType1 deviceType2 dtype1 dtype2 shape1 shape2 strides paddings dilations outputPaddings
Parameters:
DeviceType
deviceType2 : DeviceType
dtype1 : Dtype
dtype2 : Dtype
shape1 : Shape
shape2 : Shape
strides : int[]
paddings : int[]
dilations : int[]
outputPaddings : int[]
Returns: int * int * (int * int) * (int * int * int) * int[]
|
Checks if the given shapes are appropriate for a transposed convolution operation and returns information related to the resulting shape.
|
Full Usage:
checkCanConvTranspose3d deviceType1 deviceType2 dtype1 dtype2 shape1 shape2 strides paddings dilations outputPaddings
Parameters:
DeviceType
deviceType2 : DeviceType
dtype1 : Dtype
dtype2 : Dtype
shape1 : Shape
shape2 : Shape
strides : int[]
paddings : int[]
dilations : int[]
outputPaddings : int[]
Returns: int * int * (int * int * int) * (int * int * int * int) * int[]
|
Checks if the given shapes are appropriate for a transposed convolution operation and returns information related to the resulting shape.
|
|
|
Full Usage:
checkCanDilate dim dilations
Parameters:
int
dilations : int[]
|
|
|
|
Full Usage:
checkCanDropout p
Parameters:
double
|
|
|
|
|
|
|
|
Full Usage:
checkCanFlatten shape startDim endDim
Parameters:
Shape
startDim : int
endDim : int
|
|
Full Usage:
checkCanFlip dim dims
Parameters:
int
dims : int[]
|
|
|
|
Full Usage:
checkCanGetSlice shape fullBounds
Parameters:
Shape
fullBounds : int[,]
Returns: int[]
|
Checks if the given shapes are appropriate for a GetSlice operation and returns information related to the resulting shape.
|
Full Usage:
checkCanIndex shape index
Parameters:
int[]
index : int[]
|
|
|
|
|
|
Checks if the given shapes are appropriate for a maxpool operation and returns information related to the resulting shape.
|
|
Checks if the given shapes are appropriate for a maxpool operation and returns information related to the resulting shape.
|
|
Checks if the given shapes are appropriate for a maxpool operation and returns information related to the resulting shape.
|
|
|
Checks if the given shapes are appropriate for a maxpool operation and returns information related to the resulting shape.
|
|
Checks if the given shapes are appropriate for a maxpool operation and returns information related to the resulting shape.
|
|
Checks if the given shapes are appropriate for a maxpool operation and returns information related to the resulting shape.
|
Checks if the given shapes are appropriate for a maxunpool operation and returns information related to the resulting shape.
|
|
Checks if the given shapes are appropriate for a maxunpool operation and returns information related to the resulting shape.
|
|
Checks if the given shapes are appropriate for a maxunpool operation and returns information related to the resulting shape.
|
|
Full Usage:
checkCanMinMaxReduce dim keepDim shape
Parameters:
int
keepDim : bool
shape : Shape
Returns: int[]
|
|
|
|
Full Usage:
checkCanPermute shape permutation
Parameters:
Shape
permutation : int[]
Returns: int[] * int[]
|
Checks if the given shape is appropriate for a permute operation and returns information related to the resulting shape.
|
|
|
|
Checks if the given shapes are appropriate for a linear solve operation, and returns the resulting shape of the solution
|
Full Usage:
checkCanSplit shape sizes dim
Parameters:
Shape
sizes : int[]
dim : int
Returns: int[][]
|
Checks if the given shapes are appropriate for a split operation and returns information related to the resulting shape.
|
Full Usage:
checkCanStack shapes dim
Parameters:
Shape[]
dim : int
Returns: int * int[] * int[] * int[]
|
Checks if the given shapes are appropriate for a stack operation and returns information related to the resulting shape.
|
|
Checks if the given shape is appropriate for a transpose operation and returns information related to the resulting shape.
|
Full Usage:
checkCanTranspose2d dim
Parameters:
int
|
|
|
Checks if the given shape is appropriate for an unsqueeze operation and returns the resulting shape.
|
Full Usage:
checkCanUnstack shape dim
Parameters:
Shape
dim : int
Returns: int[] * int[] * int[]
|
Checks if the given shapes are appropriate for an unstack operation and returns information related to the resulting shape.
|
|
|
Full Usage:
checkDeviceTypes deviceType1 deviceType2
Parameters:
DeviceType
deviceType2 : DeviceType
|
|
|
|
|
|
Full Usage:
completeDim dims dim
Parameters:
int
dim : int
Returns: int
|
|
Full Usage:
completeDimUnsqueeze dims dim
Parameters:
int
dim : int
Returns: int
|
Completes the given shape dimension with respect to a concrete dimension, for the unsqueeze operation.
|
|
|
Full Usage:
completeSliceBounds shape bounds
Parameters:
Shape
bounds : int[,]
Returns: int[,]
|
|
|
Checks if the given shapes are appropriate for a transpose operation and returns information related to the resulting shape.
|
|
|
Full Usage:
create xs
Parameters:
seq<int>
Returns: int[]
Modifiers: inline |
|
|
|
Full Usage:
flatten startDim endDim shape
Parameters:
int
endDim : int
shape : Shape
Returns: int[]
|
|
Full Usage:
locationToBounds shape location
Parameters:
Shape
location : int[]
Returns: int[,]
|
|
|
|
Full Usage:
resolve2dConvOutputPadding outputPadding outputPaddings
Parameters:
int option
outputPaddings : 'b option
Returns: int[]
|
|
Full Usage:
resolve2dConvSizes stride strides padding paddings dilation dilations
Parameters:
int option
strides : 'b option
padding : int option
paddings : 'c option
dilation : int option
dilations : 'd option
Returns: int[] * int[] * int[]
|
|
Full Usage:
resolve2dKernelSizes kernelSize kernelSizes
Parameters:
int option
kernelSizes : 'a option
Returns: int[]
|
|
Full Usage:
resolve2dMaxPoolSizes kernelSize kernelSizes stride strides padding paddings
Parameters:
'b option
kernelSizes : 'c option
stride : 'b option
strides : 'd option
padding : int option
paddings : 'e option
Returns: 'b[] * 'b[] * int[]
|
|
Full Usage:
resolve3dConvOutputPadding outputPadding outputPaddings
Parameters:
int option
outputPaddings : 'b option
Returns: int[]
|
|
Full Usage:
resolve3dConvSizes stride strides padding paddings dilation dilations
Parameters:
int option
strides : 'b option
padding : int option
paddings : 'c option
dilation : int option
dilations : 'd option
Returns: int[] * int[] * int[]
|
|
Full Usage:
resolve3dKernelSizes kernelSize kernelSizes
Parameters:
int option
kernelSizes : 'a option
Returns: int[]
|
|
Full Usage:
resolve3dMaxPoolSizes kernelSize kernelSizes stride strides padding paddings
Parameters:
'b option
kernelSizes : 'c option
stride : 'b option
strides : 'd option
padding : int option
paddings : 'e option
Returns: 'b[] * 'b[] * int[]
|
|
|
|
|
|
Full Usage:
undilatedShape shape dilations
Parameters:
Shape
dilations : int[]
Returns: int[]
|
|
|
|
© Copyright 2021, DiffSharp Contributors.