Compose Module

Type extensions

Type extension Description

dsharp.add b

Full Usage: dsharp.add b

Parameters:
Returns: Tensor -> Tensor

TBD

Extended Type: dsharp

b : Tensor
Returns: Tensor -> Tensor

dsharp.arangeLike (endVal, ?startVal, ?step, ?device, ?dtype, ?backend)

Full Usage: dsharp.arangeLike (endVal, ?startVal, ?step, ?device, ?dtype, ?backend)

Parameters:
    endVal : float
    ?startVal : float
    ?step : float
    ?device : Device
    ?dtype : Dtype
    ?backend : Backend

Returns: Tensor -> Tensor

TBD

Extended Type: dsharp

endVal : float
?startVal : float
?step : float
?device : Device
?dtype : Dtype
?backend : Backend
Returns: Tensor -> Tensor

dsharp.arangeLike (endVal, ?startVal, ?step, ?device, ?dtype, ?backend)

Full Usage: dsharp.arangeLike (endVal, ?startVal, ?step, ?device, ?dtype, ?backend)

Parameters:
    endVal : int
    ?startVal : int
    ?step : int
    ?device : Device
    ?dtype : Dtype
    ?backend : Backend

Returns: Tensor -> Tensor

TBD

Extended Type: dsharp

endVal : int
?startVal : int
?step : int
?device : Device
?dtype : Dtype
?backend : Backend
Returns: Tensor -> Tensor

dsharp.bceLoss target

Full Usage: dsharp.bceLoss target

Parameters:
Returns: Tensor -> Tensor

TBD

Extended Type: dsharp

target : Tensor
Returns: Tensor -> Tensor

dsharp.bernoulli (?device, ?dtype, ?backend)

Full Usage: dsharp.bernoulli (?device, ?dtype, ?backend)

Parameters:
Returns: Tensor -> Tensor

TBD

Extended Type: dsharp

?device : Device
?dtype : Dtype
?backend : Backend
Returns: Tensor -> Tensor

dsharp.cast dtype

Full Usage: dsharp.cast dtype

Parameters:
Returns: Tensor -> Tensor

TBD

Extended Type: dsharp

dtype : Dtype
Returns: Tensor -> Tensor

dsharp.cat dim

Full Usage: dsharp.cat dim

Parameters:
    dim : int

Returns: seq<Tensor> -> Tensor

TBD

Extended Type: dsharp

dim : int
Returns: seq<Tensor> -> Tensor

dsharp.clamp (?low, ?high)

Full Usage: dsharp.clamp (?low, ?high)

Parameters:
Returns: Tensor -> Tensor

TBD

Extended Type: dsharp

?low : scalar
?high : scalar
Returns: Tensor -> Tensor

dsharp.conv1d (b, ?stride, ?padding, ?dilation)

Full Usage: dsharp.conv1d (b, ?stride, ?padding, ?dilation)

Parameters:
    b : Tensor
    ?stride : int
    ?padding : int
    ?dilation : int

Returns: Tensor -> Tensor

TBD

Extended Type: dsharp

b : Tensor
?stride : int
?padding : int
?dilation : int
Returns: Tensor -> Tensor

dsharp.conv2d (b, ?stride, ?strides, ?padding, ?paddings, ?dilation, ?dilations)

Full Usage: dsharp.conv2d (b, ?stride, ?strides, ?padding, ?paddings, ?dilation, ?dilations)

Parameters:
    b : Tensor
    ?stride : int
    ?strides : seq<int>
    ?padding : int
    ?paddings : seq<int>
    ?dilation : int
    ?dilations : seq<int>

Returns: Tensor -> Tensor

TBD

Extended Type: dsharp

b : Tensor
?stride : int
?strides : seq<int>
?padding : int
?paddings : seq<int>
?dilation : int
?dilations : seq<int>
Returns: Tensor -> Tensor

dsharp.conv3d (b, ?stride, ?strides, ?padding, ?paddings, ?dilation, ?dilations)

Full Usage: dsharp.conv3d (b, ?stride, ?strides, ?padding, ?paddings, ?dilation, ?dilations)

Parameters:
    b : Tensor
    ?stride : int
    ?strides : seq<int>
    ?padding : int
    ?paddings : seq<int>
    ?dilation : int
    ?dilations : seq<int>

Returns: Tensor -> Tensor

TBD

Extended Type: dsharp

b : Tensor
?stride : int
?strides : seq<int>
?padding : int
?paddings : seq<int>
?dilation : int
?dilations : seq<int>
Returns: Tensor -> Tensor

dsharp.convTranspose1d (b, ?stride, ?padding, ?dilation, ?outputPadding)

Full Usage: dsharp.convTranspose1d (b, ?stride, ?padding, ?dilation, ?outputPadding)

Parameters:
    b : Tensor
    ?stride : int
    ?padding : int
    ?dilation : int
    ?outputPadding : int

Returns: Tensor -> Tensor

TBD

Extended Type: dsharp

b : Tensor
?stride : int
?padding : int
?dilation : int
?outputPadding : int
Returns: Tensor -> Tensor

dsharp.convTranspose2d (b, ?stride, ?padding, ?dilation, ?outputPadding, ?strides, ?paddings, ?dilations, ?outputPaddings)

Full Usage: dsharp.convTranspose2d (b, ?stride, ?padding, ?dilation, ?outputPadding, ?strides, ?paddings, ?dilations, ?outputPaddings)

Parameters:
    b : Tensor
    ?stride : int
    ?padding : int
    ?dilation : int
    ?outputPadding : int
    ?strides : seq<int>
    ?paddings : seq<int>
    ?dilations : seq<int>
    ?outputPaddings : seq<int>

Returns: Tensor -> Tensor

TBD

Extended Type: dsharp

b : Tensor
?stride : int
?padding : int
?dilation : int
?outputPadding : int
?strides : seq<int>
?paddings : seq<int>
?dilations : seq<int>
?outputPaddings : seq<int>
Returns: Tensor -> Tensor

dsharp.convTranspose3d (b, ?stride, ?padding, ?dilation, ?outputPadding, ?strides, ?paddings, ?dilations, ?outputPaddings)

Full Usage: dsharp.convTranspose3d (b, ?stride, ?padding, ?dilation, ?outputPadding, ?strides, ?paddings, ?dilations, ?outputPaddings)

Parameters:
    b : Tensor
    ?stride : int
    ?padding : int
    ?dilation : int
    ?outputPadding : int
    ?strides : seq<int>
    ?paddings : seq<int>
    ?dilations : seq<int>
    ?outputPaddings : seq<int>

Returns: Tensor -> Tensor

TBD

Extended Type: dsharp

b : Tensor
?stride : int
?padding : int
?dilation : int
?outputPadding : int
?strides : seq<int>
?paddings : seq<int>
?dilations : seq<int>
?outputPaddings : seq<int>
Returns: Tensor -> Tensor

dsharp.corrcoef ()

Full Usage: dsharp.corrcoef ()

Parameters:
    () : unit

Returns: Tensor -> Tensor

TBD

Extended Type: dsharp

() : unit
Returns: Tensor -> Tensor

dsharp.cov (?correction, ?fweights, ?aweights)

Full Usage: dsharp.cov (?correction, ?fweights, ?aweights)

Parameters:
Returns: Tensor -> Tensor

TBD

Extended Type: dsharp

?correction : int64
?fweights : Tensor
?aweights : Tensor
Returns: Tensor -> Tensor

dsharp.crossEntropyLoss target

Full Usage: dsharp.crossEntropyLoss target

Parameters:
Returns: Tensor -> Tensor

TBD

Extended Type: dsharp

target : Tensor
Returns: Tensor -> Tensor

dsharp.diagonal (offset, ?dim1, ?dim2)

Full Usage: dsharp.diagonal (offset, ?dim1, ?dim2)

Parameters:
    offset : int
    ?dim1 : int
    ?dim2 : int

Returns: Tensor -> Tensor

TBD

Extended Type: dsharp

offset : int
?dim1 : int
?dim2 : int
Returns: Tensor -> Tensor

dsharp.dilate dilations

Full Usage: dsharp.dilate dilations

Parameters:
    dilations : seq<int>

Returns: Tensor -> Tensor

TBD

Extended Type: dsharp

dilations : seq<int>
Returns: Tensor -> Tensor

dsharp.div b

Full Usage: dsharp.div b

Parameters:
Returns: Tensor -> Tensor

TBD

Extended Type: dsharp

b : Tensor
Returns: Tensor -> Tensor

dsharp.dot b

Full Usage: dsharp.dot b

Parameters:
Returns: Tensor -> Tensor

TBD

Extended Type: dsharp

b : Tensor
Returns: Tensor -> Tensor

dsharp.dropout ?p

Full Usage: dsharp.dropout ?p

Parameters:
    ?p : double

Returns: Tensor -> Tensor

TBD

Extended Type: dsharp

?p : double
Returns: Tensor -> Tensor

dsharp.dropout2d ?p

Full Usage: dsharp.dropout2d ?p

Parameters:
    ?p : double

Returns: Tensor -> Tensor

TBD

Extended Type: dsharp

?p : double
Returns: Tensor -> Tensor

dsharp.dropout3d ?p

Full Usage: dsharp.dropout3d ?p

Parameters:
    ?p : double

Returns: Tensor -> Tensor

TBD

Extended Type: dsharp

?p : double
Returns: Tensor -> Tensor

dsharp.eq b

Full Usage: dsharp.eq b

Parameters:
Returns: Tensor -> Tensor

TBD

Extended Type: dsharp

b : Tensor
Returns: Tensor -> Tensor

dsharp.expand shape

Full Usage: dsharp.expand shape

Parameters:
    shape : seq<int>

Returns: Tensor -> Tensor

TBD

Extended Type: dsharp

shape : seq<int>
Returns: Tensor -> Tensor

dsharp.expandAs b

Full Usage: dsharp.expandAs b

Parameters:
Returns: Tensor -> Tensor

TBD

Extended Type: dsharp

b : Tensor
Returns: Tensor -> Tensor

dsharp.flatten (startDim, ?endDim)

Full Usage: dsharp.flatten (startDim, ?endDim)

Parameters:
    startDim : int
    ?endDim : int

Returns: Tensor -> Tensor

TBD

Extended Type: dsharp

startDim : int
?endDim : int
Returns: Tensor -> Tensor

dsharp.flip dims

Full Usage: dsharp.flip dims

Parameters:
    dims : seq<int>

Returns: Tensor -> Tensor

TBD

Extended Type: dsharp

dims : seq<int>
Returns: Tensor -> Tensor

dsharp.fullLike (value, ?shape, ?device, ?dtype, ?backend)

Full Usage: dsharp.fullLike (value, ?shape, ?device, ?dtype, ?backend)

Parameters:
Returns: Tensor -> Tensor

TBD

Extended Type: dsharp

value : scalar
?shape : seq<int>
?device : Device
?dtype : Dtype
?backend : Backend
Returns: Tensor -> Tensor

dsharp.gather (dim, indices)

Full Usage: dsharp.gather (dim, indices)

Parameters:
Returns: Tensor -> Tensor

TBD

Extended Type: dsharp

dim : int
indices : Tensor
Returns: Tensor -> Tensor

dsharp.ge b

Full Usage: dsharp.ge b

Parameters:
Returns: Tensor -> Tensor

TBD

Extended Type: dsharp

b : Tensor
Returns: Tensor -> Tensor

dsharp.gt b

Full Usage: dsharp.gt b

Parameters:
Returns: Tensor -> Tensor

TBD

Extended Type: dsharp

b : Tensor
Returns: Tensor -> Tensor

dsharp.le b

Full Usage: dsharp.le b

Parameters:
Returns: Tensor -> Tensor

TBD

Extended Type: dsharp

b : Tensor
Returns: Tensor -> Tensor

dsharp.leakyRelu ?negativeSlope

Full Usage: dsharp.leakyRelu ?negativeSlope

Parameters:
    ?negativeSlope : float

Returns: Tensor -> Tensor

TBD

Extended Type: dsharp

?negativeSlope : float
Returns: Tensor -> Tensor

dsharp.like (value, ?device, ?dtype, ?backend)

Full Usage: dsharp.like (value, ?device, ?dtype, ?backend)

Parameters:
Returns: Tensor -> Tensor

TBD

Extended Type: dsharp

value : obj
?device : Device
?dtype : Dtype
?backend : Backend
Returns: Tensor -> Tensor

dsharp.linspaceLike (startVal, endVal, steps, ?device, ?dtype, ?backend)

Full Usage: dsharp.linspaceLike (startVal, endVal, steps, ?device, ?dtype, ?backend)

Parameters:
    startVal : float
    endVal : float
    steps : int
    ?device : Device
    ?dtype : Dtype
    ?backend : Backend

Returns: Tensor -> Tensor

TBD

Extended Type: dsharp

startVal : float
endVal : float
steps : int
?device : Device
?dtype : Dtype
?backend : Backend
Returns: Tensor -> Tensor

dsharp.linspaceLike (startVal, endVal, steps, ?device, ?dtype, ?backend)

Full Usage: dsharp.linspaceLike (startVal, endVal, steps, ?device, ?dtype, ?backend)

Parameters:
    startVal : int
    endVal : int
    steps : int
    ?device : Device
    ?dtype : Dtype
    ?backend : Backend

Returns: Tensor -> Tensor

TBD

Extended Type: dsharp

startVal : int
endVal : int
steps : int
?device : Device
?dtype : Dtype
?backend : Backend
Returns: Tensor -> Tensor

dsharp.logsoftmax dim

Full Usage: dsharp.logsoftmax dim

Parameters:
    dim : int

Returns: Tensor -> Tensor

TBD

Extended Type: dsharp

dim : int
Returns: Tensor -> Tensor

dsharp.logspaceLike (startVal, endVal, steps, ?baseVal, ?device, ?dtype, ?backend)

Full Usage: dsharp.logspaceLike (startVal, endVal, steps, ?baseVal, ?device, ?dtype, ?backend)

Parameters:
    startVal : float
    endVal : float
    steps : int
    ?baseVal : float
    ?device : Device
    ?dtype : Dtype
    ?backend : Backend

Returns: Tensor -> Tensor

TBD

Extended Type: dsharp

startVal : float
endVal : float
steps : int
?baseVal : float
?device : Device
?dtype : Dtype
?backend : Backend
Returns: Tensor -> Tensor

dsharp.logspaceLike (startVal, endVal, steps, ?baseVal, ?device, ?dtype, ?backend)

Full Usage: dsharp.logspaceLike (startVal, endVal, steps, ?baseVal, ?device, ?dtype, ?backend)

Parameters:
    startVal : int
    endVal : int
    steps : int
    ?baseVal : int
    ?device : Device
    ?dtype : Dtype
    ?backend : Backend

Returns: Tensor -> Tensor

TBD

Extended Type: dsharp

startVal : int
endVal : int
steps : int
?baseVal : int
?device : Device
?dtype : Dtype
?backend : Backend
Returns: Tensor -> Tensor

dsharp.logsumexp (dim, ?keepDim)

Full Usage: dsharp.logsumexp (dim, ?keepDim)

Parameters:
    dim : int
    ?keepDim : bool

Returns: Tensor -> Tensor

TBD

Extended Type: dsharp

dim : int
?keepDim : bool
Returns: Tensor -> Tensor

dsharp.lt b

Full Usage: dsharp.lt b

Parameters:
Returns: Tensor -> Tensor

TBD

Extended Type: dsharp

b : Tensor
Returns: Tensor -> Tensor

dsharp.matmul b

Full Usage: dsharp.matmul b

Parameters:
Returns: Tensor -> Tensor

TBD

Extended Type: dsharp

b : Tensor
Returns: Tensor -> Tensor

dsharp.maxpool1d (kernelSize, ?stride, ?padding)

Full Usage: dsharp.maxpool1d (kernelSize, ?stride, ?padding)

Parameters:
    kernelSize : int
    ?stride : int
    ?padding : int

Returns: Tensor -> Tensor

TBD

Extended Type: dsharp

kernelSize : int
?stride : int
?padding : int
Returns: Tensor -> Tensor

dsharp.maxpool2d (?kernelSize, ?stride, ?padding, ?kernelSizes, ?strides, ?paddings)

Full Usage: dsharp.maxpool2d (?kernelSize, ?stride, ?padding, ?kernelSizes, ?strides, ?paddings)

Parameters:
    ?kernelSize : int
    ?stride : int
    ?padding : int
    ?kernelSizes : seq<int>
    ?strides : seq<int>
    ?paddings : seq<int>

Returns: Tensor -> Tensor

TBD

Extended Type: dsharp

?kernelSize : int
?stride : int
?padding : int
?kernelSizes : seq<int>
?strides : seq<int>
?paddings : seq<int>
Returns: Tensor -> Tensor

dsharp.maxpool3d (?kernelSize, ?stride, ?padding, ?kernelSizes, ?strides, ?paddings)

Full Usage: dsharp.maxpool3d (?kernelSize, ?stride, ?padding, ?kernelSizes, ?strides, ?paddings)

Parameters:
    ?kernelSize : int
    ?stride : int
    ?padding : int
    ?kernelSizes : seq<int>
    ?strides : seq<int>
    ?paddings : seq<int>

Returns: Tensor -> Tensor

TBD

Extended Type: dsharp

?kernelSize : int
?stride : int
?padding : int
?kernelSizes : seq<int>
?strides : seq<int>
?paddings : seq<int>
Returns: Tensor -> Tensor

dsharp.maxunpool1d (indices, kernelSize, ?stride, ?padding, ?outputSize)

Full Usage: dsharp.maxunpool1d (indices, kernelSize, ?stride, ?padding, ?outputSize)

Parameters:
    indices : Tensor
    kernelSize : int
    ?stride : int
    ?padding : int
    ?outputSize : seq<int>

Returns: Tensor -> Tensor

TBD

Extended Type: dsharp

indices : Tensor
kernelSize : int
?stride : int
?padding : int
?outputSize : seq<int>
Returns: Tensor -> Tensor

dsharp.maxunpool2d (indices, ?kernelSize, ?stride, ?padding, ?kernelSizes, ?strides, ?paddings, ?outputSize)

Full Usage: dsharp.maxunpool2d (indices, ?kernelSize, ?stride, ?padding, ?kernelSizes, ?strides, ?paddings, ?outputSize)

Parameters:
    indices : Tensor
    ?kernelSize : int
    ?stride : int
    ?padding : int
    ?kernelSizes : seq<int>
    ?strides : seq<int>
    ?paddings : seq<int>
    ?outputSize : seq<int>

Returns: Tensor -> Tensor

TBD

Extended Type: dsharp

indices : Tensor
?kernelSize : int
?stride : int
?padding : int
?kernelSizes : seq<int>
?strides : seq<int>
?paddings : seq<int>
?outputSize : seq<int>
Returns: Tensor -> Tensor

dsharp.maxunpool3d (indices, ?kernelSize, ?stride, ?padding, ?kernelSizes, ?strides, ?paddings, ?outputSize)

Full Usage: dsharp.maxunpool3d (indices, ?kernelSize, ?stride, ?padding, ?kernelSizes, ?strides, ?paddings, ?outputSize)

Parameters:
    indices : Tensor
    ?kernelSize : int
    ?stride : int
    ?padding : int
    ?kernelSizes : seq<int>
    ?strides : seq<int>
    ?paddings : seq<int>
    ?outputSize : seq<int>

Returns: Tensor -> Tensor

TBD

Extended Type: dsharp

indices : Tensor
?kernelSize : int
?stride : int
?padding : int
?kernelSizes : seq<int>
?strides : seq<int>
?paddings : seq<int>
?outputSize : seq<int>
Returns: Tensor -> Tensor

dsharp.mean (dim, ?keepDim)

Full Usage: dsharp.mean (dim, ?keepDim)

Parameters:
    dim : int
    ?keepDim : bool

Returns: Tensor -> Tensor

TBD

Extended Type: dsharp

dim : int
?keepDim : bool
Returns: Tensor -> Tensor

dsharp.move (?device, ?dtype, ?backend)

Full Usage: dsharp.move (?device, ?dtype, ?backend)

Parameters:
Returns: Tensor -> Tensor

TBD

Extended Type: dsharp

?device : Device
?dtype : Dtype
?backend : Backend
Returns: Tensor -> Tensor

dsharp.mseLoss target

Full Usage: dsharp.mseLoss target

Parameters:
Returns: Tensor -> Tensor

TBD

Extended Type: dsharp

target : Tensor
Returns: Tensor -> Tensor

dsharp.mul b

Full Usage: dsharp.mul b

Parameters:
Returns: Tensor -> Tensor

TBD

Extended Type: dsharp

b : Tensor
Returns: Tensor -> Tensor

dsharp.multinomial (numSamples, ?device, ?dtype, ?backend)

Full Usage: dsharp.multinomial (numSamples, ?device, ?dtype, ?backend)

Parameters:
    numSamples : int - Number of samples to draw
    ?device : Device - The desired device of returned tensor. Default: if None, uses Device.Default.
    ?dtype : Dtype - The desired element type of returned tensor. Default: if None, uses Dtype.Default.
    ?backend : Backend - The desired backend of returned tensor. Default: if None, uses Backend.Default.

Returns: Tensor -> Tensor

TBDReturns a tensor where each row contains numSamples indices sampled from the multinomial probability distribution located in the corresponding row of tensor input.

Indices are ordered from left to right according to when each was sampled (first samples are placed in first column). If input is a vector, out is a vector of size num_samples. If input is a matrix with m rows, the result is an matrix of shape (m × numSamples)

Extended Type: dsharp

numSamples : int

Number of samples to draw

?device : Device

The desired device of returned tensor. Default: if None, uses Device.Default.

?dtype : Dtype

The desired element type of returned tensor. Default: if None, uses Dtype.Default.

?backend : Backend

The desired backend of returned tensor. Default: if None, uses Backend.Default.

Returns: Tensor -> Tensor

dsharp.nllLoss target

Full Usage: dsharp.nllLoss target

Parameters:
Returns: Tensor -> Tensor

TBD

Extended Type: dsharp

target : Tensor
Returns: Tensor -> Tensor

dsharp.onehotLike (length, hot, ?device, ?dtype, ?backend)

Full Usage: dsharp.onehotLike (length, hot, ?device, ?dtype, ?backend)

Parameters:
Returns: Tensor -> Tensor

TBD

Extended Type: dsharp

length : int
hot : int
?device : Device
?dtype : Dtype
?backend : Backend
Returns: Tensor -> Tensor

dsharp.onesLike (shape, ?device, ?dtype, ?backend)

Full Usage: dsharp.onesLike (shape, ?device, ?dtype, ?backend)

Parameters:
Returns: Tensor -> Tensor

TBD

Extended Type: dsharp

shape : seq<int>
?device : Device
?dtype : Dtype
?backend : Backend
Returns: Tensor -> Tensor

dsharp.pad paddings

Full Usage: dsharp.pad paddings

Parameters:
    paddings : seq<int>

Returns: Tensor -> Tensor

TBD

Extended Type: dsharp

paddings : seq<int>
Returns: Tensor -> Tensor

dsharp.pow b

Full Usage: dsharp.pow b

Parameters:
Returns: Tensor -> Tensor

TBD

Extended Type: dsharp

b : Tensor
Returns: Tensor -> Tensor

dsharp.randLike (shape, ?device, ?dtype, ?backend)

Full Usage: dsharp.randLike (shape, ?device, ?dtype, ?backend)

Parameters:
Returns: Tensor -> Tensor

TBD

Extended Type: dsharp

shape : seq<int>
?device : Device
?dtype : Dtype
?backend : Backend
Returns: Tensor -> Tensor

dsharp.randintLike (low, high, ?shape, ?device, ?dtype, ?backend)

Full Usage: dsharp.randintLike (low, high, ?shape, ?device, ?dtype, ?backend)

Parameters:
    low : int
    high : int
    ?shape : seq<int>
    ?device : Device
    ?dtype : Dtype
    ?backend : Backend

Returns: Tensor -> Tensor

TBD

Extended Type: dsharp

low : int
high : int
?shape : seq<int>
?device : Device
?dtype : Dtype
?backend : Backend
Returns: Tensor -> Tensor

dsharp.randnLike (shape, ?device, ?dtype, ?backend)

Full Usage: dsharp.randnLike (shape, ?device, ?dtype, ?backend)

Parameters:
Returns: Tensor -> Tensor

TBD

Extended Type: dsharp

shape : seq<int>
?device : Device
?dtype : Dtype
?backend : Backend
Returns: Tensor -> Tensor

dsharp.repeat (dim, times)

Full Usage: dsharp.repeat (dim, times)

Parameters:
    dim : int
    times : int

Returns: Tensor -> Tensor

TBD

Extended Type: dsharp

dim : int
times : int
Returns: Tensor -> Tensor

dsharp.scatter (dim, indices, destinationShape)

Full Usage: dsharp.scatter (dim, indices, destinationShape)

Parameters:
    dim : int
    indices : Tensor
    destinationShape : seq<int>

Returns: Tensor -> Tensor

TBD

Extended Type: dsharp

dim : int
indices : Tensor
destinationShape : seq<int>
Returns: Tensor -> Tensor

dsharp.slice index

Full Usage: dsharp.slice index

Parameters:
    index : seq<int>

Returns: Tensor -> Tensor

TBD

Extended Type: dsharp

index : seq<int>
Returns: Tensor -> Tensor

dsharp.softmax dim

Full Usage: dsharp.softmax dim

Parameters:
    dim : int

Returns: Tensor -> Tensor

TBD

Extended Type: dsharp

dim : int
Returns: Tensor -> Tensor

dsharp.split (sizes, ?dim)

Full Usage: dsharp.split (sizes, ?dim)

Parameters:
    sizes : seq<int>
    ?dim : int

Returns: Tensor -> Tensor[]

TBD

Extended Type: dsharp

sizes : seq<int>
?dim : int
Returns: Tensor -> Tensor[]

dsharp.squeeze ?dim

Full Usage: dsharp.squeeze ?dim

Parameters:
    ?dim : int

Returns: Tensor -> Tensor

TBD

Extended Type: dsharp

?dim : int
Returns: Tensor -> Tensor

dsharp.stack dim

Full Usage: dsharp.stack dim

Parameters:
    dim : int

Returns: seq<Tensor> -> Tensor

TBD

Extended Type: dsharp

dim : int
Returns: seq<Tensor> -> Tensor

dsharp.std (dim, ?keepDim, ?unbiased)

Full Usage: dsharp.std (dim, ?keepDim, ?unbiased)

Parameters:
    dim : int
    ?keepDim : bool
    ?unbiased : bool

Returns: Tensor -> Tensor

TBD

Extended Type: dsharp

dim : int
?keepDim : bool
?unbiased : bool
Returns: Tensor -> Tensor

dsharp.sub b

Full Usage: dsharp.sub b

Parameters:
Returns: Tensor -> Tensor

TBD

Extended Type: dsharp

b : Tensor
Returns: Tensor -> Tensor

dsharp.sum (dim, ?keepDim)

Full Usage: dsharp.sum (dim, ?keepDim)

Parameters:
    dim : int
    ?keepDim : bool

Returns: Tensor -> Tensor

TBD

Extended Type: dsharp

dim : int
?keepDim : bool
Returns: Tensor -> Tensor

dsharp.tensor (?device, ?dtype, ?backend)

Full Usage: dsharp.tensor (?device, ?dtype, ?backend)

Parameters:
Returns: 'a -> Tensor
Modifiers: inline
Type parameters: 'a

TBD

Extended Type: dsharp

?device : Device
?dtype : Dtype
?backend : Backend
Returns: 'a -> Tensor

dsharp.toImage (?pixelMin, ?pixelMax, ?normalize, ?gridCols)

Full Usage: dsharp.toImage (?pixelMin, ?pixelMax, ?normalize, ?gridCols)

Parameters:
    ?pixelMin : double
    ?pixelMax : double
    ?normalize : bool
    ?gridCols : int

Returns: Tensor -> Tensor

TBD

Extended Type: dsharp

?pixelMin : double
?pixelMax : double
?normalize : bool
?gridCols : int
Returns: Tensor -> Tensor

dsharp.toImageString (?pixelMin, ?pixelMax, ?normalize, ?gridCols, ?asciiPalette)

Full Usage: dsharp.toImageString (?pixelMin, ?pixelMax, ?normalize, ?gridCols, ?asciiPalette)

Parameters:
    ?pixelMin : double
    ?pixelMax : double
    ?normalize : bool
    ?gridCols : int
    ?asciiPalette : string

Returns: Tensor -> string

TBD

Extended Type: dsharp

?pixelMin : double
?pixelMax : double
?normalize : bool
?gridCols : int
?asciiPalette : string
Returns: Tensor -> string

dsharp.transpose (dim0, dim1)

Full Usage: dsharp.transpose (dim0, dim1)

Parameters:
    dim0 : int
    dim1 : int

Returns: Tensor -> Tensor

TBD

Extended Type: dsharp

dim0 : int
dim1 : int
Returns: Tensor -> Tensor

dsharp.undilate dilations

Full Usage: dsharp.undilate dilations

Parameters:
    dilations : seq<int>

Returns: Tensor -> Tensor

TBD

Extended Type: dsharp

dilations : seq<int>
Returns: Tensor -> Tensor

dsharp.unflatten (dim, unflattenedShape)

Full Usage: dsharp.unflatten (dim, unflattenedShape)

Parameters:
    dim : int
    unflattenedShape : seq<int>

Returns: Tensor -> Tensor

TBD

Extended Type: dsharp

dim : int
unflattenedShape : seq<int>
Returns: Tensor -> Tensor

dsharp.unsqueeze dim

Full Usage: dsharp.unsqueeze dim

Parameters:
    dim : int

Returns: Tensor -> Tensor

TBD

Extended Type: dsharp

dim : int
Returns: Tensor -> Tensor

dsharp.unsqueezeAs other

Full Usage: dsharp.unsqueezeAs other

Parameters:
Returns: Tensor -> Tensor

TBD

Extended Type: dsharp

other : Tensor
Returns: Tensor -> Tensor

dsharp.unstack dim

Full Usage: dsharp.unstack dim

Parameters:
    dim : int

Returns: Tensor -> Tensor[]

TBD

Extended Type: dsharp

dim : int
Returns: Tensor -> Tensor[]

dsharp.var (dim, ?keepDim, ?unbiased)

Full Usage: dsharp.var (dim, ?keepDim, ?unbiased)

Parameters:
    dim : int
    ?keepDim : bool
    ?unbiased : bool

Returns: Tensor -> Tensor

TBD

Extended Type: dsharp

dim : int
?keepDim : bool
?unbiased : bool
Returns: Tensor -> Tensor

dsharp.view shape

Full Usage: dsharp.view shape

Parameters:
    shape : seq<int>

Returns: Tensor -> Tensor

TBD

Extended Type: dsharp

shape : seq<int>
Returns: Tensor -> Tensor

dsharp.view shape

Full Usage: dsharp.view shape

Parameters:
    shape : int

Returns: Tensor -> Tensor

TBD

Extended Type: dsharp

shape : int
Returns: Tensor -> Tensor

dsharp.viewAs b

Full Usage: dsharp.viewAs b

Parameters:
Returns: Tensor -> Tensor

TBD

Extended Type: dsharp

b : Tensor
Returns: Tensor -> Tensor

dsharp.zerosLike (shape, ?device, ?dtype, ?backend)

Full Usage: dsharp.zerosLike (shape, ?device, ?dtype, ?backend)

Parameters:
Returns: Tensor -> Tensor

TBD

Extended Type: dsharp

shape : seq<int>
?device : Device
?dtype : Dtype
?backend : Backend
Returns: Tensor -> Tensor

© Copyright 2021, DiffSharp Contributors.