DiffSharp


DiffSharp Type

Namespace: DiffSharp

Assembly: DiffSharp.Core.dll


Base Type: obj

Static members

Static member Description
DiffSharp.abs a
Full Usage:
DiffSharp.abs a Parameter Types:
  • a : Tensor

Return Type: Tensor
Signature: (a: Tensor) -> Tensor
Parameter Types:
  • a : Tensor
Return Type: Tensor
DiffSharp.acos a
Full Usage:
DiffSharp.acos a Parameter Types:
  • a : Tensor

Return Type: Tensor
Signature: (a: Tensor) -> Tensor
Parameter Types:
  • a : Tensor
Return Type: Tensor
DiffSharp.add b
Full Usage:
DiffSharp.add b Parameter Types:
  • b : Tensor

Return Type: Tensor -> Tensor
Signature: (b: Tensor) -> Tensor -> Tensor
Parameter Types:
  • b : Tensor
Return Type: Tensor -> Tensor
DiffSharp.add(a, b)
Full Usage:
DiffSharp.add(a, b) Parameter Types:
  • a : Tensor
  • b : Tensor

Return Type: Tensor
Signature: (a: Tensor * b: Tensor) -> Tensor
Parameter Types:
  • a : Tensor
  • b : Tensor
Return Type: Tensor
DiffSharp.arange(endVal, ?startVal, ?step, ?dtype, ?device, ?backend)
Full Usage:
DiffSharp.arange(endVal, ?startVal, ?step, ?dtype, ?device, ?backend) Parameter Types:
  • endVal : int
  • ?startVal : int
  • ?step : int
  • ?dtype : Dtype
  • ?device : Device
  • ?backend : Backend

Return Type: Tensor
Signature: (endVal: int * startVal: int * step: int * dtype: Dtype * device: Device * backend: Backend) -> Tensor
Parameter Types:
  • endVal : int
  • ?startVal : int
  • ?step : int
  • ?dtype : Dtype
  • ?device : Device
  • ?backend : Backend
Return Type: Tensor
DiffSharp.arange(endVal, ?startVal, ?step, ?dtype, ?device, ?backend)
Full Usage:
DiffSharp.arange(endVal, ?startVal, ?step, ?dtype, ?device, ?backend) Parameter Types:
  • endVal : float
  • ?startVal : float
  • ?step : float
  • ?dtype : Dtype
  • ?device : Device
  • ?backend : Backend

Return Type: Tensor
Signature: (endVal: float * startVal: float * step: float * dtype: Dtype * device: Device * backend: Backend) -> Tensor
Parameter Types:
  • endVal : float
  • ?startVal : float
  • ?step : float
  • ?dtype : Dtype
  • ?device : Device
  • ?backend : Backend
Return Type: Tensor
DiffSharp.arangeLike(endVal, ?startVal, ?step, ?dtype, ?device, ?backend)
Full Usage:
DiffSharp.arangeLike(endVal, ?startVal, ?step, ?dtype, ?device, ?backend) Parameter Types:
  • endVal : int
  • ?startVal : int
  • ?step : int
  • ?dtype : Dtype
  • ?device : Device
  • ?backend : Backend

Return Type: Tensor -> Tensor
Signature: (endVal: int * startVal: int * step: int * dtype: Dtype * device: Device * backend: Backend) -> Tensor -> Tensor
Parameter Types:
  • endVal : int
  • ?startVal : int
  • ?step : int
  • ?dtype : Dtype
  • ?device : Device
  • ?backend : Backend
Return Type: Tensor -> Tensor
DiffSharp.arangeLike(a, endVal, ?startVal, ?step, ?dtype, ?device, ?backend)
Full Usage:
DiffSharp.arangeLike(a, endVal, ?startVal, ?step, ?dtype, ?device, ?backend) Parameter Types:
  • a : Tensor
  • endVal : int
  • ?startVal : int
  • ?step : int
  • ?dtype : Dtype
  • ?device : Device
  • ?backend : Backend

Return Type: Tensor
Signature: (a: Tensor * endVal: int * startVal: int * step: int * dtype: Dtype * device: Device * backend: Backend) -> Tensor
Parameter Types:
  • a : Tensor
  • endVal : int
  • ?startVal : int
  • ?step : int
  • ?dtype : Dtype
  • ?device : Device
  • ?backend : Backend
Return Type: Tensor
DiffSharp.arangeLike(endVal, ?startVal, ?step, ?dtype, ?device, ?backend)
Full Usage:
DiffSharp.arangeLike(endVal, ?startVal, ?step, ?dtype, ?device, ?backend) Parameter Types:
  • endVal : float
  • ?startVal : float
  • ?step : float
  • ?dtype : Dtype
  • ?device : Device
  • ?backend : Backend

Return Type: Tensor -> Tensor
Signature: (endVal: float * startVal: float * step: float * dtype: Dtype * device: Device * backend: Backend) -> Tensor -> Tensor
Parameter Types:
  • endVal : float
  • ?startVal : float
  • ?step : float
  • ?dtype : Dtype
  • ?device : Device
  • ?backend : Backend
Return Type: Tensor -> Tensor
DiffSharp.arangeLike(a, endVal, ?startVal, ?step, ?dtype, ?device, ?backend)
Full Usage:
DiffSharp.arangeLike(a, endVal, ?startVal, ?step, ?dtype, ?device, ?backend) Parameter Types:
  • a : Tensor
  • endVal : float
  • ?startVal : float
  • ?step : float
  • ?dtype : Dtype
  • ?device : Device
  • ?backend : Backend

Return Type: Tensor
Signature: (a: Tensor * endVal: float * startVal: float * step: float * dtype: Dtype * device: Device * backend: Backend) -> Tensor
Parameter Types:
  • a : Tensor
  • endVal : float
  • ?startVal : float
  • ?step : float
  • ?dtype : Dtype
  • ?device : Device
  • ?backend : Backend
Return Type: Tensor
DiffSharp.argmax a
Full Usage:
DiffSharp.argmax a Parameter Types:
  • a : Tensor

Return Type: int []
Signature: (a: Tensor) -> int []
Parameter Types:
  • a : Tensor
Return Type: int []
DiffSharp.argmin a
Full Usage:
DiffSharp.argmin a Parameter Types:
  • a : Tensor

Return Type: int []
Signature: (a: Tensor) -> int []
Parameter Types:
  • a : Tensor
Return Type: int []
DiffSharp.asin a
Full Usage:
DiffSharp.asin a Parameter Types:
  • a : Tensor

Return Type: Tensor
Signature: (a: Tensor) -> Tensor
Parameter Types:
  • a : Tensor
Return Type: Tensor
DiffSharp.atan a
Full Usage:
DiffSharp.atan a Parameter Types:
  • a : Tensor

Return Type: Tensor
Signature: (a: Tensor) -> Tensor
Parameter Types:
  • a : Tensor
Return Type: Tensor
DiffSharp.bernoulli(?dtype, ?device, ?backend)
Full Usage:
DiffSharp.bernoulli(?dtype, ?device, ?backend) Parameter Types:
  • ?dtype : Dtype
  • ?device : Device
  • ?backend : Backend

Return Type: Tensor -> Tensor
Signature: (dtype: Dtype * device: Device * backend: Backend) -> Tensor -> Tensor
Parameter Types:
  • ?dtype : Dtype
  • ?device : Device
  • ?backend : Backend
Return Type: Tensor -> Tensor
DiffSharp.bernoulli(probs, ?dtype, ?device, ?backend)
Full Usage:
DiffSharp.bernoulli(probs, ?dtype, ?device, ?backend) Parameter Types:
  • probs : Tensor
  • ?dtype : Dtype
  • ?device : Device
  • ?backend : Backend

Return Type: Tensor
Signature: (probs: Tensor * dtype: Dtype * device: Device * backend: Backend) -> Tensor
Parameter Types:
  • probs : Tensor
  • ?dtype : Dtype
  • ?device : Device
  • ?backend : Backend
Return Type: Tensor
DiffSharp.cast dtype
Full Usage:
DiffSharp.cast dtype Parameter Types:
  • dtype : Dtype

Return Type: Tensor -> Tensor
Signature: (dtype: Dtype) -> Tensor -> Tensor
Parameter Types:
  • dtype : Dtype
Return Type: Tensor -> Tensor
DiffSharp.cast(a, dtype)
Full Usage:
DiffSharp.cast(a, dtype) Parameter Types:
  • a : Tensor
  • dtype : Dtype

Return Type: Tensor
Signature: (a: Tensor * dtype: Dtype) -> Tensor
Parameter Types:
  • a : Tensor
  • dtype : Dtype
Return Type: Tensor
DiffSharp.cat dim
Full Usage:
DiffSharp.cat dim Parameter Types:
  • dim : int

Return Type: seq<Tensor> -> Tensor
Signature: (dim: int) -> seq<Tensor> -> Tensor
Parameter Types:
  • dim : int
Return Type: seq<Tensor> -> Tensor
DiffSharp.cat(tensors, ?dim)
Full Usage:
DiffSharp.cat(tensors, ?dim) Parameter Types:
  • tensors : seq<Tensor>
  • ?dim : int

Return Type: Tensor
Signature: (tensors: seq<Tensor> * dim: int) -> Tensor
Parameter Types:
  • tensors : seq<Tensor>
  • ?dim : int
Return Type: Tensor
DiffSharp.ceil a
Full Usage:
DiffSharp.ceil a Parameter Types:
  • a : Tensor

Return Type: Tensor
Signature: (a: Tensor) -> Tensor
Parameter Types:
  • a : Tensor
Return Type: Tensor
DiffSharp.clamp(?low, ?high)
Full Usage:
DiffSharp.clamp(?low, ?high) Parameter Types:
  • ?low : scalar
  • ?high : scalar

Return Type: Tensor -> Tensor
Signature: (low: scalar * high: scalar) -> Tensor -> Tensor
Parameter Types:
  • ?low : scalar
  • ?high : scalar
Return Type: Tensor -> Tensor
DiffSharp.clamp(a, ?low, ?high)
Full Usage:
DiffSharp.clamp(a, ?low, ?high) Parameter Types:
  • a : Tensor
  • ?low : scalar
  • ?high : scalar

Return Type: Tensor
Signature: (a: Tensor * low: scalar * high: scalar) -> Tensor
Parameter Types:
  • a : Tensor
  • ?low : scalar
  • ?high : scalar
Return Type: Tensor
DiffSharp.clone a
Full Usage:
DiffSharp.clone a Parameter Types:
  • a : Tensor

Return Type: Tensor
Signature: (a: Tensor) -> Tensor
Parameter Types:
  • a : Tensor
Return Type: Tensor
DiffSharp.config arg1
Full Usage:
DiffSharp.config arg1 Parameter Types:
  • arg0 : Dtype * Device * Backend

Signature: ((Dtype * Device * Backend)) -> unit
Parameter Types:
  • arg0 : Dtype * Device * Backend
DiffSharp.config()
Full Usage:
DiffSharp.config()
Return Type: Dtype * Device * Backend
Signature: unit -> Dtype * Device * Backend
Return Type: Dtype * Device * Backend
DiffSharp.config(?dtype, ?device, ?backend)
Full Usage:
DiffSharp.config(?dtype, ?device, ?backend) Parameter Types:
  • ?dtype : Dtype
  • ?device : Device
  • ?backend : Backend

Signature: (dtype: Dtype * device: Device * backend: Backend) -> unit
Parameter Types:
  • ?dtype : Dtype
  • ?device : Device
  • ?backend : Backend
DiffSharp.conv1d(b, ?stride, ?padding, ?dilation)
Full Usage:
DiffSharp.conv1d(b, ?stride, ?padding, ?dilation) Parameter Types:
  • b : Tensor
  • ?stride : int
  • ?padding : int
  • ?dilation : int

Return Type: Tensor -> Tensor
Signature: (b: Tensor * stride: int * padding: int * dilation: int) -> Tensor -> Tensor
Parameter Types:
  • b : Tensor
  • ?stride : int
  • ?padding : int
  • ?dilation : int
Return Type: Tensor -> Tensor
DiffSharp.conv1d(a, b, ?stride, ?padding, ?dilation)
Full Usage:
DiffSharp.conv1d(a, b, ?stride, ?padding, ?dilation) Parameter Types:
  • a : Tensor
  • b : Tensor
  • ?stride : int
  • ?padding : int
  • ?dilation : int

Return Type: Tensor
Signature: (a: Tensor * b: Tensor * stride: int * padding: int * dilation: int) -> Tensor
Parameter Types:
  • a : Tensor
  • b : Tensor
  • ?stride : int
  • ?padding : int
  • ?dilation : int
Return Type: Tensor
DiffSharp.conv2d(b, ?stride, ?strides, ?padding, ?paddings, ?dilation, ?dilations)
Full Usage:
DiffSharp.conv2d(b, ?stride, ?strides, ?padding, ?paddings, ?dilation, ?dilations) Parameter Types:
  • b : Tensor
  • ?stride : int
  • ?strides : seq<int>
  • ?padding : int
  • ?paddings : seq<int>
  • ?dilation : int
  • ?dilations : seq<int>

Return Type: Tensor -> Tensor
Signature: (b: Tensor * stride: int * strides: seq<int> * padding: int * paddings: seq<int> * dilation: int * dilations: seq<int>) -> Tensor -> Tensor
Parameter Types:
  • b : Tensor
  • ?stride : int
  • ?strides : seq<int>
  • ?padding : int
  • ?paddings : seq<int>
  • ?dilation : int
  • ?dilations : seq<int>
Return Type: Tensor -> Tensor
DiffSharp.conv2d(a, b, ?stride, ?strides, ?padding, ?paddings, ?dilation, ?dilations)
Full Usage:
DiffSharp.conv2d(a, b, ?stride, ?strides, ?padding, ?paddings, ?dilation, ?dilations) Parameter Types:
  • a : Tensor
  • b : Tensor
  • ?stride : int
  • ?strides : seq<int>
  • ?padding : int
  • ?paddings : seq<int>
  • ?dilation : int
  • ?dilations : seq<int>

Return Type: Tensor
Signature: (a: Tensor * b: Tensor * stride: int * strides: seq<int> * padding: int * paddings: seq<int> * dilation: int * dilations: seq<int>) -> Tensor
Parameter Types:
  • a : Tensor
  • b : Tensor
  • ?stride : int
  • ?strides : seq<int>
  • ?padding : int
  • ?paddings : seq<int>
  • ?dilation : int
  • ?dilations : seq<int>
Return Type: Tensor
DiffSharp.conv3d(b, ?stride, ?strides, ?padding, ?paddings, ?dilation, ?dilations)
Full Usage:
DiffSharp.conv3d(b, ?stride, ?strides, ?padding, ?paddings, ?dilation, ?dilations) Parameter Types:
  • b : Tensor
  • ?stride : int
  • ?strides : seq<int>
  • ?padding : int
  • ?paddings : seq<int>
  • ?dilation : int
  • ?dilations : seq<int>

Return Type: Tensor -> Tensor
Signature: (b: Tensor * stride: int * strides: seq<int> * padding: int * paddings: seq<int> * dilation: int * dilations: seq<int>) -> Tensor -> Tensor
Parameter Types:
  • b : Tensor
  • ?stride : int
  • ?strides : seq<int>
  • ?padding : int
  • ?paddings : seq<int>
  • ?dilation : int
  • ?dilations : seq<int>
Return Type: Tensor -> Tensor
DiffSharp.conv3d(a, b, ?stride, ?strides, ?padding, ?paddings, ?dilation, ?dilations)
Full Usage:
DiffSharp.conv3d(a, b, ?stride, ?strides, ?padding, ?paddings, ?dilation, ?dilations) Parameter Types:
  • a : Tensor
  • b : Tensor
  • ?stride : int
  • ?strides : seq<int>
  • ?padding : int
  • ?paddings : seq<int>
  • ?dilation : int
  • ?dilations : seq<int>

Return Type: Tensor
Signature: (a: Tensor * b: Tensor * stride: int * strides: seq<int> * padding: int * paddings: seq<int> * dilation: int * dilations: seq<int>) -> Tensor
Parameter Types:
  • a : Tensor
  • b : Tensor
  • ?stride : int
  • ?strides : seq<int>
  • ?padding : int
  • ?paddings : seq<int>
  • ?dilation : int
  • ?dilations : seq<int>
Return Type: Tensor
DiffSharp.cos a
Full Usage:
DiffSharp.cos a Parameter Types:
  • a : Tensor

Return Type: Tensor
Signature: (a: Tensor) -> Tensor
Parameter Types:
  • a : Tensor
Return Type: Tensor
DiffSharp.cosh a
Full Usage:
DiffSharp.cosh a Parameter Types:
  • a : Tensor

Return Type: Tensor
Signature: (a: Tensor) -> Tensor
Parameter Types:
  • a : Tensor
Return Type: Tensor
DiffSharp.create count value
Full Usage:
DiffSharp.create count value Parameter Types:
  • count : int
  • value : 'a

Return Type: Tensor
Signature: (count: int) -> (value: 'a) -> Tensor
Parameter Types:
  • count : int
  • value : 'a
Return Type: Tensor
DiffSharp.crossEntropyLoss target
Full Usage:
DiffSharp.crossEntropyLoss target Parameter Types:
  • target : Tensor

Return Type: Tensor -> Tensor
Signature: (target: Tensor) -> Tensor -> Tensor
Parameter Types:
  • target : Tensor
Return Type: Tensor -> Tensor
DiffSharp.crossEntropyLoss(input, target, ?weight, ?reduction)
Full Usage:
DiffSharp.crossEntropyLoss(input, target, ?weight, ?reduction) Parameter Types:
  • input : Tensor
  • target : Tensor
  • ?weight : Tensor
  • ?reduction : string

Return Type: Tensor
Signature: (input: Tensor * target: Tensor * weight: Tensor * reduction: string) -> Tensor
Parameter Types:
  • input : Tensor
  • target : Tensor
  • ?weight : Tensor
  • ?reduction : string
Return Type: Tensor
DiffSharp.curl f x
Full Usage:
DiffSharp.curl f x Parameter Types:
  • f : Tensor -> Tensor
  • x : Tensor

Return Type: Tensor
Signature: (f: (Tensor -> Tensor)) -> (x: Tensor) -> Tensor
Parameter Types:
  • f : Tensor -> Tensor
  • x : Tensor
Return Type: Tensor
DiffSharp.curldivergence f x
Full Usage:
DiffSharp.curldivergence f x Parameter Types:
  • f : Tensor -> Tensor
  • x : Tensor

Return Type: Tensor * Tensor
Signature: (f: (Tensor -> Tensor)) -> (x: Tensor) -> Tensor * Tensor
Parameter Types:
  • f : Tensor -> Tensor
  • x : Tensor
Return Type: Tensor * Tensor
DiffSharp.derivative tensor
Full Usage:
DiffSharp.derivative tensor Parameter Types:
  • tensor : Tensor

Return Type: Tensor
Signature: (tensor: Tensor) -> Tensor
Parameter Types:
  • tensor : Tensor
Return Type: Tensor
DiffSharp.diagonal(offset, ?dim1, ?dim2)
Full Usage:
DiffSharp.diagonal(offset, ?dim1, ?dim2) Parameter Types:
  • offset : int
  • ?dim1 : int
  • ?dim2 : int

Return Type: Tensor -> Tensor
Signature: (offset: int * dim1: int * dim2: int) -> Tensor -> Tensor
Parameter Types:
  • offset : int
  • ?dim1 : int
  • ?dim2 : int
Return Type: Tensor -> Tensor
DiffSharp.diagonal(a, ?offset, ?dim1, ?dim2)
Full Usage:
DiffSharp.diagonal(a, ?offset, ?dim1, ?dim2) Parameter Types:
  • a : Tensor
  • ?offset : int
  • ?dim1 : int
  • ?dim2 : int

Return Type: Tensor
Signature: (a: Tensor * offset: int * dim1: int * dim2: int) -> Tensor
Parameter Types:
  • a : Tensor
  • ?offset : int
  • ?dim1 : int
  • ?dim2 : int
Return Type: Tensor
DiffSharp.diff f x
Full Usage:
DiffSharp.diff f x Parameter Types:
  • f : Tensor -> Tensor
  • x : Tensor

Return Type: Tensor
Signature: (f: (Tensor -> Tensor)) -> (x: Tensor) -> Tensor
Parameter Types:
  • f : Tensor -> Tensor
  • x : Tensor
Return Type: Tensor
DiffSharp.diff2 f x
Full Usage:
DiffSharp.diff2 f x Parameter Types:
  • f : Tensor -> Tensor
  • x : Tensor

Return Type: Tensor
Signature: (f: (Tensor -> Tensor)) -> (x: Tensor) -> Tensor
Parameter Types:
  • f : Tensor -> Tensor
  • x : Tensor
Return Type: Tensor
DiffSharp.diffn n f x
Full Usage:
DiffSharp.diffn n f x Parameter Types:
  • n : int
  • f : Tensor -> Tensor
  • x : Tensor

Return Type: Tensor
Signature: (n: int) -> (f: (Tensor -> Tensor)) -> (x: Tensor) -> Tensor
Parameter Types:
  • n : int
  • f : Tensor -> Tensor
  • x : Tensor
Return Type: Tensor
DiffSharp.dilate dilations
Full Usage:
DiffSharp.dilate dilations Parameter Types:
  • dilations : seq<int>

Return Type: Tensor -> Tensor
Signature: (dilations: seq<int>) -> Tensor -> Tensor
Parameter Types:
  • dilations : seq<int>
Return Type: Tensor -> Tensor
DiffSharp.dilate(a, dilations)
Full Usage:
DiffSharp.dilate(a, dilations) Parameter Types:
  • a : Tensor
  • dilations : seq<int>

Return Type: Tensor
Signature: (a: Tensor * dilations: seq<int>) -> Tensor
Parameter Types:
  • a : Tensor
  • dilations : seq<int>
Return Type: Tensor
DiffSharp.div b
Full Usage:
DiffSharp.div b Parameter Types:
  • b : Tensor

Return Type: Tensor -> Tensor
Signature: (b: Tensor) -> Tensor -> Tensor
Parameter Types:
  • b : Tensor
Return Type: Tensor -> Tensor
DiffSharp.div(a, b)
Full Usage:
DiffSharp.div(a, b) Parameter Types:
  • a : Tensor
  • b : Tensor

Return Type: Tensor
Signature: (a: Tensor * b: Tensor) -> Tensor
Parameter Types:
  • a : Tensor
  • b : Tensor
Return Type: Tensor
DiffSharp.divergence f x
Full Usage:
DiffSharp.divergence f x Parameter Types:
  • f : Tensor -> Tensor
  • x : Tensor

Return Type: Tensor
Signature: (f: (Tensor -> Tensor)) -> (x: Tensor) -> Tensor
Parameter Types:
  • f : Tensor -> Tensor
  • x : Tensor
Return Type: Tensor
DiffSharp.dot b
Full Usage:
DiffSharp.dot b Parameter Types:
  • b : Tensor

Return Type: Tensor -> Tensor
Signature: (b: Tensor) -> Tensor -> Tensor
Parameter Types:
  • b : Tensor
Return Type: Tensor -> Tensor
DiffSharp.dot(a, b)
Full Usage:
DiffSharp.dot(a, b) Parameter Types:
  • a : Tensor
  • b : Tensor

Return Type: Tensor
Signature: (a: Tensor * b: Tensor) -> Tensor
Parameter Types:
  • a : Tensor
  • b : Tensor
Return Type: Tensor
DiffSharp.dropout ?p
Full Usage:
DiffSharp.dropout ?p Parameter Types:
  • ?p : double

Return Type: Tensor -> Tensor
Signature: (p: double) -> Tensor -> Tensor
Parameter Types:
  • ?p : double
Return Type: Tensor -> Tensor
DiffSharp.dropout(a, ?p)
Full Usage:
DiffSharp.dropout(a, ?p) Parameter Types:
  • a : Tensor
  • ?p : double

Return Type: Tensor
Signature: (a: Tensor * p: double) -> Tensor
Parameter Types:
  • a : Tensor
  • ?p : double
Return Type: Tensor
DiffSharp.dropout2d ?p
Full Usage:
DiffSharp.dropout2d ?p Parameter Types:
  • ?p : double

Return Type: Tensor -> Tensor
Signature: (p: double) -> Tensor -> Tensor
Parameter Types:
  • ?p : double
Return Type: Tensor -> Tensor
DiffSharp.dropout2d(a, ?p)
Full Usage:
DiffSharp.dropout2d(a, ?p) Parameter Types:
  • a : Tensor
  • ?p : double

Return Type: Tensor
Signature: (a: Tensor * p: double) -> Tensor
Parameter Types:
  • a : Tensor
  • ?p : double
Return Type: Tensor
DiffSharp.dropout3d ?p
Full Usage:
DiffSharp.dropout3d ?p Parameter Types:
  • ?p : double

Return Type: Tensor -> Tensor
Signature: (p: double) -> Tensor -> Tensor
Parameter Types:
  • ?p : double
Return Type: Tensor -> Tensor
DiffSharp.dropout3d(a, ?p)
Full Usage:
DiffSharp.dropout3d(a, ?p) Parameter Types:
  • a : Tensor
  • ?p : double

Return Type: Tensor
Signature: (a: Tensor * p: double) -> Tensor
Parameter Types:
  • a : Tensor
  • ?p : double
Return Type: Tensor
DiffSharp.evalForwardDiff f x v
Full Usage:
DiffSharp.evalForwardDiff f x v Parameter Types:
  • f : Tensor -> Tensor
  • x : Tensor
  • v : Tensor

Return Type: Tensor * Tensor
Signature: (f: (Tensor -> Tensor)) -> (x: Tensor) -> (v: Tensor) -> Tensor * Tensor
Parameter Types:
  • f : Tensor -> Tensor
  • x : Tensor
  • v : Tensor
Return Type: Tensor * Tensor
DiffSharp.evalForwardDiffs f x v
Full Usage:
DiffSharp.evalForwardDiffs f x v Parameter Types:
  • f : Tensor -> Tensor
  • x : Tensor
  • v : Tensor []

Return Type: Tensor []
Signature: (f: (Tensor -> Tensor)) -> (x: Tensor) -> (v: Tensor []) -> Tensor []
Parameter Types:
  • f : Tensor -> Tensor
  • x : Tensor
  • v : Tensor []
Return Type: Tensor []
DiffSharp.evalReverseDiff f x
Full Usage:
DiffSharp.evalReverseDiff f x Parameter Types:
  • f : Tensor -> Tensor
  • x : Tensor

Return Type: Tensor * (Tensor -> Tensor)
Signature: (f: (Tensor -> Tensor)) -> (x: Tensor) -> Tensor * (Tensor -> Tensor)
Parameter Types:
  • f : Tensor -> Tensor
  • x : Tensor
Return Type: Tensor * (Tensor -> Tensor)
DiffSharp.exp a
Full Usage:
DiffSharp.exp a Parameter Types:
  • a : Tensor

Return Type: Tensor
Signature: (a: Tensor) -> Tensor
Parameter Types:
  • a : Tensor
Return Type: Tensor
DiffSharp.expand shape
Full Usage:
DiffSharp.expand shape Parameter Types:
  • shape : seq<int>

Return Type: Tensor -> Tensor
Signature: (shape: seq<int>) -> Tensor -> Tensor
Parameter Types:
  • shape : seq<int>
Return Type: Tensor -> Tensor
DiffSharp.expand(a, shape)
Full Usage:
DiffSharp.expand(a, shape) Parameter Types:
  • a : Tensor
  • shape : seq<int>

Return Type: Tensor
Signature: (a: Tensor * shape: seq<int>) -> Tensor
Parameter Types:
  • a : Tensor
  • shape : seq<int>
Return Type: Tensor
DiffSharp.fcurl f x
Full Usage:
DiffSharp.fcurl f x Parameter Types:
  • f : Tensor -> Tensor
  • x : Tensor

Return Type: Tensor * Tensor
Signature: (f: (Tensor -> Tensor)) -> (x: Tensor) -> Tensor * Tensor
Parameter Types:
  • f : Tensor -> Tensor
  • x : Tensor
Return Type: Tensor * Tensor
DiffSharp.fcurldivergence f x
Full Usage:
DiffSharp.fcurldivergence f x Parameter Types:
  • f : Tensor -> Tensor
  • x : Tensor

Return Type: Tensor * Tensor * Tensor
Signature: (f: (Tensor -> Tensor)) -> (x: Tensor) -> Tensor * Tensor * Tensor
Parameter Types:
  • f : Tensor -> Tensor
  • x : Tensor
Return Type: Tensor * Tensor * Tensor
DiffSharp.fdiff f x
Full Usage:
DiffSharp.fdiff f x Parameter Types:
  • f : Tensor -> Tensor
  • x : Tensor

Return Type: Tensor * Tensor
Signature: (f: (Tensor -> Tensor)) -> (x: Tensor) -> Tensor * Tensor
Parameter Types:
  • f : Tensor -> Tensor
  • x : Tensor
Return Type: Tensor * Tensor
DiffSharp.fdiff2 f x
Full Usage:
DiffSharp.fdiff2 f x Parameter Types:
  • f : Tensor -> Tensor
  • x : Tensor

Return Type: Tensor * Tensor
Signature: (f: (Tensor -> Tensor)) -> (x: Tensor) -> Tensor * Tensor
Parameter Types:
  • f : Tensor -> Tensor
  • x : Tensor
Return Type: Tensor * Tensor
DiffSharp.fdiffn n f x
Full Usage:
DiffSharp.fdiffn n f x Parameter Types:
  • n : int
  • f : Tensor -> Tensor
  • x : Tensor

Return Type: Tensor * Tensor
Signature: (n: int) -> (f: (Tensor -> Tensor)) -> (x: Tensor) -> Tensor * Tensor
Parameter Types:
  • n : int
  • f : Tensor -> Tensor
  • x : Tensor
Return Type: Tensor * Tensor
DiffSharp.fdivergence f x
Full Usage:
DiffSharp.fdivergence f x Parameter Types:
  • f : Tensor -> Tensor
  • x : Tensor

Return Type: Tensor * Tensor
Signature: (f: (Tensor -> Tensor)) -> (x: Tensor) -> Tensor * Tensor
Parameter Types:
  • f : Tensor -> Tensor
  • x : Tensor
Return Type: Tensor * Tensor
DiffSharp.ffdiffn n f x
Full Usage:
DiffSharp.ffdiffn n f x Parameter Types:
  • n : int
  • f : Tensor -> Tensor
  • x : Tensor

Return Type: Tensor []
Signature: (n: int) -> (f: (Tensor -> Tensor)) -> (x: Tensor) -> Tensor []
Parameter Types:
  • n : int
  • f : Tensor -> Tensor
  • x : Tensor
Return Type: Tensor []
DiffSharp.fg f x
Full Usage:
DiffSharp.fg f x Parameter Types:
  • f : Tensor -> Tensor
  • x : Tensor

Return Type: Tensor * Tensor
Signature: (f: (Tensor -> Tensor)) -> (x: Tensor) -> Tensor * Tensor
Parameter Types:
  • f : Tensor -> Tensor
  • x : Tensor
Return Type: Tensor * Tensor
DiffSharp.fgh f x
Full Usage:
DiffSharp.fgh f x Parameter Types:
  • f : Tensor -> Tensor
  • x : Tensor

Return Type: Tensor * Tensor * Tensor
Signature: (f: (Tensor -> Tensor)) -> (x: Tensor) -> Tensor * Tensor * Tensor
Parameter Types:
  • f : Tensor -> Tensor
  • x : Tensor
Return Type: Tensor * Tensor * Tensor
DiffSharp.fghvp f x v
Full Usage:
DiffSharp.fghvp f x v Parameter Types:
  • f : Tensor -> Tensor
  • x : Tensor
  • v : Tensor

Return Type: Tensor * Tensor * Tensor
Signature: (f: (Tensor -> Tensor)) -> (x: Tensor) -> (v: Tensor) -> Tensor * Tensor * Tensor
Parameter Types:
  • f : Tensor -> Tensor
  • x : Tensor
  • v : Tensor
Return Type: Tensor * Tensor * Tensor
DiffSharp.fgrad f x
Full Usage:
DiffSharp.fgrad f x Parameter Types:
  • f : Tensor -> Tensor
  • x : Tensor

Return Type: Tensor * Tensor
Signature: (f: (Tensor -> Tensor)) -> (x: Tensor) -> Tensor * Tensor
Parameter Types:
  • f : Tensor -> Tensor
  • x : Tensor
Return Type: Tensor * Tensor
DiffSharp.fgradhessian f x
Full Usage:
DiffSharp.fgradhessian f x Parameter Types:
  • f : Tensor -> Tensor
  • x : Tensor

Return Type: Tensor * Tensor * Tensor
Signature: (f: (Tensor -> Tensor)) -> (x: Tensor) -> Tensor * Tensor * Tensor
Parameter Types:
  • f : Tensor -> Tensor
  • x : Tensor
Return Type: Tensor * Tensor * Tensor
DiffSharp.fgradhessianv f x v
Full Usage:
DiffSharp.fgradhessianv f x v Parameter Types:
  • f : Tensor -> Tensor
  • x : Tensor
  • v : Tensor

Return Type: Tensor * Tensor * Tensor
Signature: (f: (Tensor -> Tensor)) -> (x: Tensor) -> (v: Tensor) -> Tensor * Tensor * Tensor
Parameter Types:
  • f : Tensor -> Tensor
  • x : Tensor
  • v : Tensor
Return Type: Tensor * Tensor * Tensor
DiffSharp.fgradv f x v
Full Usage:
DiffSharp.fgradv f x v Parameter Types:
  • f : Tensor -> Tensor
  • x : Tensor
  • v : Tensor

Return Type: Tensor * Tensor
Signature: (f: (Tensor -> Tensor)) -> (x: Tensor) -> (v: Tensor) -> Tensor * Tensor
Parameter Types:
  • f : Tensor -> Tensor
  • x : Tensor
  • v : Tensor
Return Type: Tensor * Tensor
DiffSharp.fgvp f x v
Full Usage:
DiffSharp.fgvp f x v Parameter Types:
  • f : Tensor -> Tensor
  • x : Tensor
  • v : Tensor

Return Type: Tensor * Tensor
Signature: (f: (Tensor -> Tensor)) -> (x: Tensor) -> (v: Tensor) -> Tensor * Tensor
Parameter Types:
  • f : Tensor -> Tensor
  • x : Tensor
  • v : Tensor
Return Type: Tensor * Tensor
DiffSharp.fh f x
Full Usage:
DiffSharp.fh f x Parameter Types:
  • f : Tensor -> Tensor
  • x : Tensor

Return Type: Tensor * Tensor
Signature: (f: (Tensor -> Tensor)) -> (x: Tensor) -> Tensor * Tensor
Parameter Types:
  • f : Tensor -> Tensor
  • x : Tensor
Return Type: Tensor * Tensor
DiffSharp.fhessian f x
Full Usage:
DiffSharp.fhessian f x Parameter Types:
  • f : Tensor -> Tensor
  • x : Tensor

Return Type: Tensor * Tensor
Signature: (f: (Tensor -> Tensor)) -> (x: Tensor) -> Tensor * Tensor
Parameter Types:
  • f : Tensor -> Tensor
  • x : Tensor
Return Type: Tensor * Tensor
DiffSharp.fhessianv f x v
Full Usage:
DiffSharp.fhessianv f x v Parameter Types:
  • f : Tensor -> Tensor
  • x : Tensor
  • v : Tensor

Return Type: Tensor * Tensor
Signature: (f: (Tensor -> Tensor)) -> (x: Tensor) -> (v: Tensor) -> Tensor * Tensor
Parameter Types:
  • f : Tensor -> Tensor
  • x : Tensor
  • v : Tensor
Return Type: Tensor * Tensor
DiffSharp.fhvp f x v
Full Usage:
DiffSharp.fhvp f x v Parameter Types:
  • f : Tensor -> Tensor
  • x : Tensor
  • v : Tensor

Return Type: Tensor * Tensor
Signature: (f: (Tensor -> Tensor)) -> (x: Tensor) -> (v: Tensor) -> Tensor * Tensor
Parameter Types:
  • f : Tensor -> Tensor
  • x : Tensor
  • v : Tensor
Return Type: Tensor * Tensor
DiffSharp.fj f x
Full Usage:
DiffSharp.fj f x Parameter Types:
  • f : Tensor -> Tensor
  • x : Tensor

Return Type: Tensor * Tensor
Signature: (f: (Tensor -> Tensor)) -> (x: Tensor) -> Tensor * Tensor
Parameter Types:
  • f : Tensor -> Tensor
  • x : Tensor
Return Type: Tensor * Tensor
DiffSharp.fjacobian f x
Full Usage:
DiffSharp.fjacobian f x Parameter Types:
  • f : Tensor -> Tensor
  • x : Tensor

Return Type: Tensor * Tensor
Signature: (f: (Tensor -> Tensor)) -> (x: Tensor) -> Tensor * Tensor
Parameter Types:
  • f : Tensor -> Tensor
  • x : Tensor
Return Type: Tensor * Tensor
DiffSharp.fjacobianTv f x v
Full Usage:
DiffSharp.fjacobianTv f x v Parameter Types:
  • f : Tensor -> Tensor
  • x : Tensor
  • v : Tensor

Return Type: Tensor * Tensor
Signature: (f: (Tensor -> Tensor)) -> (x: Tensor) -> (v: Tensor) -> Tensor * Tensor
Parameter Types:
  • f : Tensor -> Tensor
  • x : Tensor
  • v : Tensor
Return Type: Tensor * Tensor
DiffSharp.fjacobianv f x v
Full Usage:
DiffSharp.fjacobianv f x v Parameter Types:
  • f : Tensor -> Tensor
  • x : Tensor
  • v : Tensor

Return Type: Tensor * Tensor
Signature: (f: (Tensor -> Tensor)) -> (x: Tensor) -> (v: Tensor) -> Tensor * Tensor
Parameter Types:
  • f : Tensor -> Tensor
  • x : Tensor
  • v : Tensor
Return Type: Tensor * Tensor
DiffSharp.fjvp f x v
Full Usage:
DiffSharp.fjvp f x v Parameter Types:
  • f : Tensor -> Tensor
  • x : Tensor
  • v : Tensor

Return Type: Tensor * Tensor
Signature: (f: (Tensor -> Tensor)) -> (x: Tensor) -> (v: Tensor) -> Tensor * Tensor
Parameter Types:
  • f : Tensor -> Tensor
  • x : Tensor
  • v : Tensor
Return Type: Tensor * Tensor
DiffSharp.flaplacian f x
Full Usage:
DiffSharp.flaplacian f x Parameter Types:
  • f : Tensor -> Tensor
  • x : Tensor

Return Type: Tensor * Tensor
Signature: (f: (Tensor -> Tensor)) -> (x: Tensor) -> Tensor * Tensor
Parameter Types:
  • f : Tensor -> Tensor
  • x : Tensor
Return Type: Tensor * Tensor
DiffSharp.flatten(startDim, ?endDim)
Full Usage:
DiffSharp.flatten(startDim, ?endDim) Parameter Types:
  • startDim : int
  • ?endDim : int

Return Type: Tensor -> Tensor
Signature: (startDim: int * endDim: int) -> Tensor -> Tensor
Parameter Types:
  • startDim : int
  • ?endDim : int
Return Type: Tensor -> Tensor
DiffSharp.flatten(a, ?startDim, ?endDim)
Full Usage:
DiffSharp.flatten(a, ?startDim, ?endDim) Parameter Types:
  • a : Tensor
  • ?startDim : int
  • ?endDim : int

Return Type: Tensor
Signature: (a: Tensor * startDim: int * endDim: int) -> Tensor
Parameter Types:
  • a : Tensor
  • ?startDim : int
  • ?endDim : int
Return Type: Tensor
DiffSharp.flip dims
Full Usage:
DiffSharp.flip dims Parameter Types:
  • dims : seq<int>

Return Type: Tensor -> Tensor
Signature: (dims: seq<int>) -> Tensor -> Tensor
Parameter Types:
  • dims : seq<int>
Return Type: Tensor -> Tensor
DiffSharp.flip(a, dims)
Full Usage:
DiffSharp.flip(a, dims) Parameter Types:
  • a : Tensor
  • dims : seq<int>

Return Type: Tensor
Signature: (a: Tensor * dims: seq<int>) -> Tensor
Parameter Types:
  • a : Tensor
  • dims : seq<int>
Return Type: Tensor
DiffSharp.floor a
Full Usage:
DiffSharp.floor a Parameter Types:
  • a : Tensor

Return Type: Tensor
Signature: (a: Tensor) -> Tensor
Parameter Types:
  • a : Tensor
Return Type: Tensor
DiffSharp.forwardDiff tag derivative tensor
Full Usage:
DiffSharp.forwardDiff tag derivative tensor Parameter Types:
  • tag : uint32
  • derivative : Tensor
  • tensor : Tensor

Return Type: Tensor
Signature: (tag: uint32) -> (derivative: Tensor) -> (tensor: Tensor) -> Tensor
Parameter Types:
  • tag : uint32
  • derivative : Tensor
  • tensor : Tensor
Return Type: Tensor
DiffSharp.full(length, value, ?dtype, ?device, ?backend)
Full Usage:
DiffSharp.full(length, value, ?dtype, ?device, ?backend) Parameter Types:
  • length : int
  • value : scalar
  • ?dtype : Dtype
  • ?device : Device
  • ?backend : Backend

Return Type: Tensor
Signature: (length: int * value: scalar * dtype: Dtype * device: Device * backend: Backend) -> Tensor
Parameter Types:
  • length : int
  • value : scalar
  • ?dtype : Dtype
  • ?device : Device
  • ?backend : Backend
Return Type: Tensor
DiffSharp.full(shape, value, ?dtype, ?device, ?backend)
Full Usage:
DiffSharp.full(shape, value, ?dtype, ?device, ?backend) Parameter Types:
  • shape : seq<int>
  • value : obj
  • ?dtype : Dtype
  • ?device : Device
  • ?backend : Backend

Return Type: Tensor
Signature: (shape: seq<int> * value: obj * dtype: Dtype * device: Device * backend: Backend) -> Tensor
Parameter Types:
  • shape : seq<int>
  • value : obj
  • ?dtype : Dtype
  • ?device : Device
  • ?backend : Backend
Return Type: Tensor
DiffSharp.fullLike(value, ?shape, ?dtype, ?device, ?backend)
Full Usage:
DiffSharp.fullLike(value, ?shape, ?dtype, ?device, ?backend) Parameter Types:
  • value : scalar
  • ?shape : seq<int>
  • ?dtype : Dtype
  • ?device : Device
  • ?backend : Backend

Return Type: Tensor -> Tensor
Signature: (value: scalar * shape: seq<int> * dtype: Dtype * device: Device * backend: Backend) -> Tensor -> Tensor
Parameter Types:
  • value : scalar
  • ?shape : seq<int>
  • ?dtype : Dtype
  • ?device : Device
  • ?backend : Backend
Return Type: Tensor -> Tensor
DiffSharp.fullLike(a, value, ?shape, ?dtype, ?device, ?backend)
Full Usage:
DiffSharp.fullLike(a, value, ?shape, ?dtype, ?device, ?backend) Parameter Types:
  • a : Tensor
  • value : scalar
  • ?shape : seq<int>
  • ?dtype : Dtype
  • ?device : Device
  • ?backend : Backend

Return Type: Tensor
Signature: (a: Tensor * value: scalar * shape: seq<int> * dtype: Dtype * device: Device * backend: Backend) -> Tensor
Parameter Types:
  • a : Tensor
  • value : scalar
  • ?shape : seq<int>
  • ?dtype : Dtype
  • ?device : Device
  • ?backend : Backend
Return Type: Tensor
DiffSharp.fvjp f x v
Full Usage:
DiffSharp.fvjp f x v Parameter Types:
  • f : Tensor -> Tensor
  • x : Tensor
  • v : Tensor

Return Type: Tensor * Tensor
Signature: (f: (Tensor -> Tensor)) -> (x: Tensor) -> (v: Tensor) -> Tensor * Tensor
Parameter Types:
  • f : Tensor -> Tensor
  • x : Tensor
  • v : Tensor
Return Type: Tensor * Tensor
DiffSharp.g f x
Full Usage:
DiffSharp.g f x Parameter Types:
  • f : Tensor -> Tensor
  • x : Tensor

Return Type: Tensor
Signature: (f: (Tensor -> Tensor)) -> (x: Tensor) -> Tensor
Parameter Types:
  • f : Tensor -> Tensor
  • x : Tensor
Return Type: Tensor
DiffSharp.gather(dim, indices)
Full Usage:
DiffSharp.gather(dim, indices) Parameter Types:
  • dim : int
  • indices : Tensor

Return Type: Tensor -> Tensor
Signature: (dim: int * indices: Tensor) -> Tensor -> Tensor
Parameter Types:
  • dim : int
  • indices : Tensor
Return Type: Tensor -> Tensor
DiffSharp.gather(a, dim, indices)
Full Usage:
DiffSharp.gather(a, dim, indices) Parameter Types:
  • a : Tensor
  • dim : int
  • indices : Tensor

Return Type: Tensor
Signature: (a: Tensor * dim: int * indices: Tensor) -> Tensor
Parameter Types:
  • a : Tensor
  • dim : int
  • indices : Tensor
Return Type: Tensor
DiffSharp.ge b
Full Usage:
DiffSharp.ge b Parameter Types:
  • b : Tensor

Return Type: Tensor -> Tensor
Signature: (b: Tensor) -> Tensor -> Tensor
Parameter Types:
  • b : Tensor
Return Type: Tensor -> Tensor
DiffSharp.ge(a, b)
Full Usage:
DiffSharp.ge(a, b) Parameter Types:
  • a : Tensor
  • b : Tensor

Return Type: Tensor
Signature: (a: Tensor * b: Tensor) -> Tensor
Parameter Types:
  • a : Tensor
  • b : Tensor
Return Type: Tensor
DiffSharp.gh f x
Full Usage:
DiffSharp.gh f x Parameter Types:
  • f : Tensor -> Tensor
  • x : Tensor

Return Type: Tensor * Tensor
Signature: (f: (Tensor -> Tensor)) -> (x: Tensor) -> Tensor * Tensor
Parameter Types:
  • f : Tensor -> Tensor
  • x : Tensor
Return Type: Tensor * Tensor
DiffSharp.ghvp f x v
Full Usage:
DiffSharp.ghvp f x v Parameter Types:
  • f : Tensor -> Tensor
  • x : Tensor
  • v : Tensor

Return Type: Tensor * Tensor
Signature: (f: (Tensor -> Tensor)) -> (x: Tensor) -> (v: Tensor) -> Tensor * Tensor
Parameter Types:
  • f : Tensor -> Tensor
  • x : Tensor
  • v : Tensor
Return Type: Tensor * Tensor
DiffSharp.grad f x
Full Usage:
DiffSharp.grad f x Parameter Types:
  • f : Tensor -> Tensor
  • x : Tensor

Return Type: Tensor
Signature: (f: (Tensor -> Tensor)) -> (x: Tensor) -> Tensor
Parameter Types:
  • f : Tensor -> Tensor
  • x : Tensor
Return Type: Tensor
DiffSharp.gradhessian f x
Full Usage:
DiffSharp.gradhessian f x Parameter Types:
  • f : Tensor -> Tensor
  • x : Tensor

Return Type: Tensor * Tensor
Signature: (f: (Tensor -> Tensor)) -> (x: Tensor) -> Tensor * Tensor
Parameter Types:
  • f : Tensor -> Tensor
  • x : Tensor
Return Type: Tensor * Tensor
DiffSharp.gradhessianv f x v
Full Usage:
DiffSharp.gradhessianv f x v Parameter Types:
  • f : Tensor -> Tensor
  • x : Tensor
  • v : Tensor

Return Type: Tensor * Tensor
Signature: (f: (Tensor -> Tensor)) -> (x: Tensor) -> (v: Tensor) -> Tensor * Tensor
Parameter Types:
  • f : Tensor -> Tensor
  • x : Tensor
  • v : Tensor
Return Type: Tensor * Tensor
DiffSharp.gradv f x v
Full Usage:
DiffSharp.gradv f x v Parameter Types:
  • f : Tensor -> Tensor
  • x : Tensor
  • v : Tensor

Return Type: Tensor
Signature: (f: (Tensor -> Tensor)) -> (x: Tensor) -> (v: Tensor) -> Tensor
Parameter Types:
  • f : Tensor -> Tensor
  • x : Tensor
  • v : Tensor
Return Type: Tensor
DiffSharp.gt b
Full Usage:
DiffSharp.gt b Parameter Types:
  • b : Tensor

Return Type: Tensor -> Tensor
Signature: (b: Tensor) -> Tensor -> Tensor
Parameter Types:
  • b : Tensor
Return Type: Tensor -> Tensor
DiffSharp.gt(a, b)
Full Usage:
DiffSharp.gt(a, b) Parameter Types:
  • a : Tensor
  • b : Tensor

Return Type: Tensor
Signature: (a: Tensor * b: Tensor) -> Tensor
Parameter Types:
  • a : Tensor
  • b : Tensor
Return Type: Tensor
DiffSharp.gvp f x v
Full Usage:
DiffSharp.gvp f x v Parameter Types:
  • f : Tensor -> Tensor
  • x : Tensor
  • v : Tensor

Return Type: Tensor
Signature: (f: (Tensor -> Tensor)) -> (x: Tensor) -> (v: Tensor) -> Tensor
Parameter Types:
  • f : Tensor -> Tensor
  • x : Tensor
  • v : Tensor
Return Type: Tensor
DiffSharp.h f x
Full Usage:
DiffSharp.h f x Parameter Types:
  • f : Tensor -> Tensor
  • x : Tensor

Return Type: Tensor
Signature: (f: (Tensor -> Tensor)) -> (x: Tensor) -> Tensor
Parameter Types:
  • f : Tensor -> Tensor
  • x : Tensor
Return Type: Tensor
DiffSharp.hasinf a
Full Usage:
DiffSharp.hasinf a Parameter Types:
  • a : Tensor

Return Type: bool
Signature: (a: Tensor) -> bool
Parameter Types:
  • a : Tensor
Return Type: bool
DiffSharp.hasnan a
Full Usage:
DiffSharp.hasnan a Parameter Types:
  • a : Tensor

Return Type: bool
Signature: (a: Tensor) -> bool
Parameter Types:
  • a : Tensor
Return Type: bool
DiffSharp.hessian f x
Full Usage:
DiffSharp.hessian f x Parameter Types:
  • f : Tensor -> Tensor
  • x : Tensor

Return Type: Tensor
Signature: (f: (Tensor -> Tensor)) -> (x: Tensor) -> Tensor
Parameter Types:
  • f : Tensor -> Tensor
  • x : Tensor
Return Type: Tensor
DiffSharp.hessianv f x v
Full Usage:
DiffSharp.hessianv f x v Parameter Types:
  • f : Tensor -> Tensor
  • x : Tensor
  • v : Tensor

Return Type: Tensor
Signature: (f: (Tensor -> Tensor)) -> (x: Tensor) -> (v: Tensor) -> Tensor
Parameter Types:
  • f : Tensor -> Tensor
  • x : Tensor
  • v : Tensor
Return Type: Tensor
DiffSharp.hvp f x v
Full Usage:
DiffSharp.hvp f x v Parameter Types:
  • f : Tensor -> Tensor
  • x : Tensor
  • v : Tensor

Return Type: Tensor
Signature: (f: (Tensor -> Tensor)) -> (x: Tensor) -> (v: Tensor) -> Tensor
Parameter Types:
  • f : Tensor -> Tensor
  • x : Tensor
  • v : Tensor
Return Type: Tensor
DiffSharp.init count initializer
Full Usage:
DiffSharp.init count initializer Parameter Types:
  • count : int
  • initializer : int -> 'a

Return Type: Tensor
Signature: (count: int) -> (initializer: (int -> 'a)) -> Tensor
Parameter Types:
  • count : int
  • initializer : int -> 'a
Return Type: Tensor
DiffSharp.init2d length1 length2 initializer
Full Usage:
DiffSharp.init2d length1 length2 initializer Parameter Types:
  • length1 : int
  • length2 : int
  • initializer : int -> int -> 'a

Return Type: Tensor
Signature: (length1: int) -> (length2: int) -> (initializer: (int -> int -> 'a)) -> Tensor
Parameter Types:
  • length1 : int
  • length2 : int
  • initializer : int -> int -> 'a
Return Type: Tensor
DiffSharp.init3d length1 length2 length3 initializer
Full Usage:
DiffSharp.init3d length1 length2 length3 initializer Parameter Types:
  • length1 : int
  • length2 : int
  • length3 : int
  • initializer : int -> int -> int -> 'a

Return Type: Tensor
Signature: (length1: int) -> (length2: int) -> (length3: int) -> (initializer: (int -> int -> int -> 'a)) -> Tensor
Parameter Types:
  • length1 : int
  • length2 : int
  • length3 : int
  • initializer : int -> int -> int -> 'a
Return Type: Tensor
DiffSharp.init4d length1 length2 length3 length4 initializer
Full Usage:
DiffSharp.init4d length1 length2 length3 length4 initializer Parameter Types:
  • length1 : int
  • length2 : int
  • length3 : int
  • length4 : int
  • initializer : int -> int -> int -> int -> 'a

Return Type: Tensor
Signature: (length1: int) -> (length2: int) -> (length3: int) -> (length4: int) -> (initializer: (int -> int -> int -> int -> 'a)) -> Tensor
Parameter Types:
  • length1 : int
  • length2 : int
  • length3 : int
  • length4 : int
  • initializer : int -> int -> int -> int -> 'a
Return Type: Tensor
DiffSharp.isTensor value
Full Usage:
DiffSharp.isTensor value Parameter Types:
  • value : obj

Return Type: bool
Signature: (value: obj) -> bool
Parameter Types:
  • value : obj
Return Type: bool
DiffSharp.isinf a
Full Usage:
DiffSharp.isinf a Parameter Types:
  • a : Tensor

Return Type: Tensor
Signature: (a: Tensor) -> Tensor
Parameter Types:
  • a : Tensor
Return Type: Tensor
DiffSharp.isnan a
Full Usage:
DiffSharp.isnan a Parameter Types:
  • a : Tensor

Return Type: Tensor
Signature: (a: Tensor) -> Tensor
Parameter Types:
  • a : Tensor
Return Type: Tensor
DiffSharp.j f x
Full Usage:
DiffSharp.j f x Parameter Types:
  • f : Tensor -> Tensor
  • x : Tensor

Return Type: Tensor
Signature: (f: (Tensor -> Tensor)) -> (x: Tensor) -> Tensor
Parameter Types:
  • f : Tensor -> Tensor
  • x : Tensor
Return Type: Tensor
DiffSharp.jacobian f x
Full Usage:
DiffSharp.jacobian f x Parameter Types:
  • f : Tensor -> Tensor
  • x : Tensor

Return Type: Tensor
Signature: (f: (Tensor -> Tensor)) -> (x: Tensor) -> Tensor
Parameter Types:
  • f : Tensor -> Tensor
  • x : Tensor
Return Type: Tensor
DiffSharp.jacobianTv f x v
Full Usage:
DiffSharp.jacobianTv f x v Parameter Types:
  • f : Tensor -> Tensor
  • x : Tensor
  • v : Tensor

Return Type: Tensor
Signature: (f: (Tensor -> Tensor)) -> (x: Tensor) -> (v: Tensor) -> Tensor
Parameter Types:
  • f : Tensor -> Tensor
  • x : Tensor
  • v : Tensor
Return Type: Tensor
DiffSharp.jacobianv f x v
Full Usage:
DiffSharp.jacobianv f x v Parameter Types:
  • f : Tensor -> Tensor
  • x : Tensor
  • v : Tensor

Return Type: Tensor
Signature: (f: (Tensor -> Tensor)) -> (x: Tensor) -> (v: Tensor) -> Tensor
Parameter Types:
  • f : Tensor -> Tensor
  • x : Tensor
  • v : Tensor
Return Type: Tensor
DiffSharp.jvp f x v
Full Usage:
DiffSharp.jvp f x v Parameter Types:
  • f : Tensor -> Tensor
  • x : Tensor
  • v : Tensor

Return Type: Tensor
Signature: (f: (Tensor -> Tensor)) -> (x: Tensor) -> (v: Tensor) -> Tensor
Parameter Types:
  • f : Tensor -> Tensor
  • x : Tensor
  • v : Tensor
Return Type: Tensor
DiffSharp.laplacian f x
Full Usage:
DiffSharp.laplacian f x Parameter Types:
  • f : Tensor -> Tensor
  • x : Tensor

Return Type: Tensor
Signature: (f: (Tensor -> Tensor)) -> (x: Tensor) -> Tensor
Parameter Types:
  • f : Tensor -> Tensor
  • x : Tensor
Return Type: Tensor
DiffSharp.le b
Full Usage:
DiffSharp.le b Parameter Types:
  • b : Tensor

Return Type: Tensor -> Tensor
Signature: (b: Tensor) -> Tensor -> Tensor
Parameter Types:
  • b : Tensor
Return Type: Tensor -> Tensor
DiffSharp.le(a, b)
Full Usage:
DiffSharp.le(a, b) Parameter Types:
  • a : Tensor
  • b : Tensor

Return Type: Tensor
Signature: (a: Tensor * b: Tensor) -> Tensor
Parameter Types:
  • a : Tensor
  • b : Tensor
Return Type: Tensor
DiffSharp.leakyRelu negativeSlope
Full Usage:
DiffSharp.leakyRelu negativeSlope Parameter Types:
  • negativeSlope : float

Return Type: Tensor -> Tensor
Signature: (negativeSlope: float) -> Tensor -> Tensor
Parameter Types:
  • negativeSlope : float
Return Type: Tensor -> Tensor
DiffSharp.leakyRelu(a, ?negativeSlope)
Full Usage:
DiffSharp.leakyRelu(a, ?negativeSlope) Parameter Types:
  • a : Tensor
  • ?negativeSlope : float

Return Type: Tensor
Signature: (a: Tensor * negativeSlope: float) -> Tensor
Parameter Types:
  • a : Tensor
  • ?negativeSlope : float
Return Type: Tensor
DiffSharp.like(value, ?dtype, ?device, ?backend)
Full Usage:
DiffSharp.like(value, ?dtype, ?device, ?backend) Parameter Types:
  • value : obj
  • ?dtype : Dtype
  • ?device : Device
  • ?backend : Backend

Return Type: Tensor -> Tensor
Signature: (value: obj * dtype: Dtype * device: Device * backend: Backend) -> Tensor -> Tensor
Parameter Types:
  • value : obj
  • ?dtype : Dtype
  • ?device : Device
  • ?backend : Backend
Return Type: Tensor -> Tensor
DiffSharp.like(a, value, ?dtype, ?device, ?backend)
Full Usage:
DiffSharp.like(a, value, ?dtype, ?device, ?backend) Parameter Types:
  • a : Tensor
  • value : obj
  • ?dtype : Dtype
  • ?device : Device
  • ?backend : Backend

Return Type: Tensor
Signature: (a: Tensor * value: obj * dtype: Dtype * device: Device * backend: Backend) -> Tensor
Parameter Types:
  • a : Tensor
  • value : obj
  • ?dtype : Dtype
  • ?device : Device
  • ?backend : Backend
Return Type: Tensor
DiffSharp.load fileName
Full Usage:
DiffSharp.load fileName Parameter Types:
  • fileName : string

Return Type: Tensor
Signature: (fileName: string) -> Tensor
Parameter Types:
  • fileName : string
Return Type: Tensor
DiffSharp.log a
Full Usage:
DiffSharp.log a Parameter Types:
  • a : Tensor

Return Type: Tensor
Signature: (a: Tensor) -> Tensor
Parameter Types:
  • a : Tensor
Return Type: Tensor
DiffSharp.log10 a
Full Usage:
DiffSharp.log10 a Parameter Types:
  • a : Tensor

Return Type: Tensor
Signature: (a: Tensor) -> Tensor
Parameter Types:
  • a : Tensor
Return Type: Tensor
DiffSharp.logsoftmax dim
Full Usage:
DiffSharp.logsoftmax dim Parameter Types:
  • dim : int

Return Type: Tensor -> Tensor
Signature: (dim: int) -> Tensor -> Tensor
Parameter Types:
  • dim : int
Return Type: Tensor -> Tensor
DiffSharp.logsoftmax(a, dim)
Full Usage:
DiffSharp.logsoftmax(a, dim) Parameter Types:
  • a : Tensor
  • dim : int

Return Type: Tensor
Signature: (a: Tensor * dim: int) -> Tensor
Parameter Types:
  • a : Tensor
  • dim : int
Return Type: Tensor
DiffSharp.logsumexp(dim, ?keepDim)
Full Usage:
DiffSharp.logsumexp(dim, ?keepDim) Parameter Types:
  • dim : int
  • ?keepDim : bool

Return Type: Tensor -> Tensor
Signature: (dim: int * keepDim: bool) -> Tensor -> Tensor
Parameter Types:
  • dim : int
  • ?keepDim : bool
Return Type: Tensor -> Tensor
DiffSharp.logsumexp(a, dim, ?keepDim)
Full Usage:
DiffSharp.logsumexp(a, dim, ?keepDim) Parameter Types:
  • a : Tensor
  • dim : int
  • ?keepDim : bool

Return Type: Tensor
Signature: (a: Tensor * dim: int * keepDim: bool) -> Tensor
Parameter Types:
  • a : Tensor
  • dim : int
  • ?keepDim : bool
Return Type: Tensor
DiffSharp.lt b
Full Usage:
DiffSharp.lt b Parameter Types:
  • b : Tensor

Return Type: Tensor -> Tensor
Signature: (b: Tensor) -> Tensor -> Tensor
Parameter Types:
  • b : Tensor
Return Type: Tensor -> Tensor
DiffSharp.lt(a, b)
Full Usage:
DiffSharp.lt(a, b) Parameter Types:
  • a : Tensor
  • b : Tensor

Return Type: Tensor
Signature: (a: Tensor * b: Tensor) -> Tensor
Parameter Types:
  • a : Tensor
  • b : Tensor
Return Type: Tensor
DiffSharp.map mapping tensor
Full Usage:
DiffSharp.map mapping tensor Parameter Types:
  • mapping : Tensor -> Tensor
  • tensor : Tensor

Return Type: Tensor
Signature: (mapping: (Tensor -> Tensor)) -> (tensor: Tensor) -> Tensor
Parameter Types:
  • mapping : Tensor -> Tensor
  • tensor : Tensor
Return Type: Tensor
DiffSharp.map2 mapping tensor1 tensor2
Full Usage:
DiffSharp.map2 mapping tensor1 tensor2 Parameter Types:
  • mapping : Tensor -> Tensor -> Tensor
  • tensor1 : Tensor
  • tensor2 : Tensor

Return Type: Tensor
Signature: (mapping: (Tensor -> Tensor -> Tensor)) -> (tensor1: Tensor) -> (tensor2: Tensor) -> Tensor
Parameter Types:
  • mapping : Tensor -> Tensor -> Tensor
  • tensor1 : Tensor
  • tensor2 : Tensor
Return Type: Tensor
DiffSharp.map3 mapping tensor1 tensor2 tensor3
Full Usage:
DiffSharp.map3 mapping tensor1 tensor2 tensor3 Parameter Types:
  • mapping : Tensor -> Tensor -> Tensor -> Tensor
  • tensor1 : Tensor
  • tensor2 : Tensor
  • tensor3 : Tensor

Return Type: Tensor
Signature: (mapping: (Tensor -> Tensor -> Tensor -> Tensor)) -> (tensor1: Tensor) -> (tensor2: Tensor) -> (tensor3: Tensor) -> Tensor
Parameter Types:
  • mapping : Tensor -> Tensor -> Tensor -> Tensor
  • tensor1 : Tensor
  • tensor2 : Tensor
  • tensor3 : Tensor
Return Type: Tensor
DiffSharp.mapi mapping tensor
Full Usage:
DiffSharp.mapi mapping tensor Parameter Types:
  • mapping : int [] -> Tensor -> Tensor
  • tensor : Tensor

Return Type: Tensor
Signature: (mapping: (int [] -> Tensor -> Tensor)) -> (tensor: Tensor) -> Tensor
Parameter Types:
  • mapping : int [] -> Tensor -> Tensor
  • tensor : Tensor
Return Type: Tensor
DiffSharp.mapi2 mapping tensor1 tensor2
Full Usage:
DiffSharp.mapi2 mapping tensor1 tensor2 Parameter Types:
  • mapping : int [] -> Tensor -> Tensor -> Tensor
  • tensor1 : Tensor
  • tensor2 : Tensor

Return Type: Tensor
Signature: (mapping: (int [] -> Tensor -> Tensor -> Tensor)) -> (tensor1: Tensor) -> (tensor2: Tensor) -> Tensor
Parameter Types:
  • mapping : int [] -> Tensor -> Tensor -> Tensor
  • tensor1 : Tensor
  • tensor2 : Tensor
Return Type: Tensor
DiffSharp.mapi3 mapping tensor1 tensor2 tensor3
Full Usage:
DiffSharp.mapi3 mapping tensor1 tensor2 tensor3 Parameter Types:
  • mapping : int [] -> Tensor -> Tensor -> Tensor -> Tensor
  • tensor1 : Tensor
  • tensor2 : Tensor
  • tensor3 : Tensor

Return Type: Tensor
Signature: (mapping: (int [] -> Tensor -> Tensor -> Tensor -> Tensor)) -> (tensor1: Tensor) -> (tensor2: Tensor) -> (tensor3: Tensor) -> Tensor
Parameter Types:
  • mapping : int [] -> Tensor -> Tensor -> Tensor -> Tensor
  • tensor1 : Tensor
  • tensor2 : Tensor
  • tensor3 : Tensor
Return Type: Tensor
DiffSharp.matmul b
Full Usage:
DiffSharp.matmul b Parameter Types:
  • b : Tensor

Return Type: Tensor -> Tensor
Signature: (b: Tensor) -> Tensor -> Tensor
Parameter Types:
  • b : Tensor
Return Type: Tensor -> Tensor
DiffSharp.matmul(a, b)
Full Usage:
DiffSharp.matmul(a, b) Parameter Types:
  • a : Tensor
  • b : Tensor

Return Type: Tensor
Signature: (a: Tensor * b: Tensor) -> Tensor
Parameter Types:
  • a : Tensor
  • b : Tensor
Return Type: Tensor
DiffSharp.max(a, b)
Full Usage:
DiffSharp.max(a, b) Parameter Types:
  • a : Tensor
  • b : Tensor

Return Type: Tensor
Signature: (a: Tensor * b: Tensor) -> Tensor
Parameter Types:
  • a : Tensor
  • b : Tensor
Return Type: Tensor
DiffSharp.max a
Full Usage:
DiffSharp.max a Parameter Types:
  • a : Tensor

Return Type: Tensor
Signature: (a: Tensor) -> Tensor
Parameter Types:
  • a : Tensor
Return Type: Tensor
DiffSharp.maxpool1d(kernelSize, ?stride, ?padding)
Full Usage:
DiffSharp.maxpool1d(kernelSize, ?stride, ?padding) Parameter Types:
  • kernelSize : int
  • ?stride : int
  • ?padding : int

Return Type: Tensor -> Tensor
Signature: (kernelSize: int * stride: int * padding: int) -> Tensor -> Tensor
Parameter Types:
  • kernelSize : int
  • ?stride : int
  • ?padding : int
Return Type: Tensor -> Tensor
DiffSharp.maxpool1d(a, kernelSize, ?stride, ?padding)
Full Usage:
DiffSharp.maxpool1d(a, kernelSize, ?stride, ?padding) Parameter Types:
  • a : Tensor
  • kernelSize : int
  • ?stride : int
  • ?padding : int

Return Type: Tensor
Signature: (a: Tensor * kernelSize: int * stride: int * padding: int) -> Tensor
Parameter Types:
  • a : Tensor
  • kernelSize : int
  • ?stride : int
  • ?padding : int
Return Type: Tensor
DiffSharp.maxpool1di(a, kernelSize, ?stride, ?padding)
Full Usage:
DiffSharp.maxpool1di(a, kernelSize, ?stride, ?padding) Parameter Types:
  • a : Tensor
  • kernelSize : int
  • ?stride : int
  • ?padding : int

Return Type: Tensor * Tensor
Signature: (a: Tensor * kernelSize: int * stride: int * padding: int) -> Tensor * Tensor
Parameter Types:
  • a : Tensor
  • kernelSize : int
  • ?stride : int
  • ?padding : int
Return Type: Tensor * Tensor
DiffSharp.maxpool2d(?kernelSize, ?stride, ?padding, ?kernelSizes, ?strides, ?paddings)
Full Usage:
DiffSharp.maxpool2d(?kernelSize, ?stride, ?padding, ?kernelSizes, ?strides, ?paddings) Parameter Types:
  • ?kernelSize : int
  • ?stride : int
  • ?padding : int
  • ?kernelSizes : seq<int>
  • ?strides : seq<int>
  • ?paddings : seq<int>

Return Type: Tensor -> Tensor
Signature: (kernelSize: int * stride: int * padding: int * kernelSizes: seq<int> * strides: seq<int> * paddings: seq<int>) -> Tensor -> Tensor
Parameter Types:
  • ?kernelSize : int
  • ?stride : int
  • ?padding : int
  • ?kernelSizes : seq<int>
  • ?strides : seq<int>
  • ?paddings : seq<int>
Return Type: Tensor -> Tensor
DiffSharp.maxpool2d(a, ?kernelSize, ?stride, ?padding, ?kernelSizes, ?strides, ?paddings)
Full Usage:
DiffSharp.maxpool2d(a, ?kernelSize, ?stride, ?padding, ?kernelSizes, ?strides, ?paddings) Parameter Types:
  • a : Tensor
  • ?kernelSize : int
  • ?stride : int
  • ?padding : int
  • ?kernelSizes : seq<int>
  • ?strides : seq<int>
  • ?paddings : seq<int>

Return Type: Tensor
Signature: (a: Tensor * kernelSize: int * stride: int * padding: int * kernelSizes: seq<int> * strides: seq<int> * paddings: seq<int>) -> Tensor
Parameter Types:
  • a : Tensor
  • ?kernelSize : int
  • ?stride : int
  • ?padding : int
  • ?kernelSizes : seq<int>
  • ?strides : seq<int>
  • ?paddings : seq<int>
Return Type: Tensor
DiffSharp.maxpool2di(a, ?kernelSize, ?stride, ?padding, ?kernelSizes, ?strides, ?paddings)
Full Usage:
DiffSharp.maxpool2di(a, ?kernelSize, ?stride, ?padding, ?kernelSizes, ?strides, ?paddings) Parameter Types:
  • a : Tensor
  • ?kernelSize : int
  • ?stride : int
  • ?padding : int
  • ?kernelSizes : seq<int>
  • ?strides : seq<int>
  • ?paddings : seq<int>

Return Type: Tensor * Tensor
Signature: (a: Tensor * kernelSize: int * stride: int * padding: int * kernelSizes: seq<int> * strides: seq<int> * paddings: seq<int>) -> Tensor * Tensor
Parameter Types:
  • a : Tensor
  • ?kernelSize : int
  • ?stride : int
  • ?padding : int
  • ?kernelSizes : seq<int>
  • ?strides : seq<int>
  • ?paddings : seq<int>
Return Type: Tensor * Tensor
DiffSharp.maxpool3d(?kernelSize, ?stride, ?padding, ?kernelSizes, ?strides, ?paddings)
Full Usage:
DiffSharp.maxpool3d(?kernelSize, ?stride, ?padding, ?kernelSizes, ?strides, ?paddings) Parameter Types:
  • ?kernelSize : int
  • ?stride : int
  • ?padding : int
  • ?kernelSizes : seq<int>
  • ?strides : seq<int>
  • ?paddings : seq<int>

Return Type: Tensor -> Tensor
Signature: (kernelSize: int * stride: int * padding: int * kernelSizes: seq<int> * strides: seq<int> * paddings: seq<int>) -> Tensor -> Tensor
Parameter Types:
  • ?kernelSize : int
  • ?stride : int
  • ?padding : int
  • ?kernelSizes : seq<int>
  • ?strides : seq<int>
  • ?paddings : seq<int>
Return Type: Tensor -> Tensor
DiffSharp.maxpool3d(a, ?kernelSize, ?stride, ?padding, ?kernelSizes, ?strides, ?paddings)
Full Usage:
DiffSharp.maxpool3d(a, ?kernelSize, ?stride, ?padding, ?kernelSizes, ?strides, ?paddings) Parameter Types:
  • a : Tensor
  • ?kernelSize : int
  • ?stride : int
  • ?padding : int
  • ?kernelSizes : seq<int>
  • ?strides : seq<int>
  • ?paddings : seq<int>

Return Type: Tensor
Signature: (a: Tensor * kernelSize: int * stride: int * padding: int * kernelSizes: seq<int> * strides: seq<int> * paddings: seq<int>) -> Tensor
Parameter Types:
  • a : Tensor
  • ?kernelSize : int
  • ?stride : int
  • ?padding : int
  • ?kernelSizes : seq<int>
  • ?strides : seq<int>
  • ?paddings : seq<int>
Return Type: Tensor
DiffSharp.maxpool3di(a, ?kernelSize, ?stride, ?padding, ?kernelSizes, ?strides, ?paddings)
Full Usage:
DiffSharp.maxpool3di(a, ?kernelSize, ?stride, ?padding, ?kernelSizes, ?strides, ?paddings) Parameter Types:
  • a : Tensor
  • ?kernelSize : int
  • ?stride : int
  • ?padding : int
  • ?kernelSizes : seq<int>
  • ?strides : seq<int>
  • ?paddings : seq<int>

Return Type: Tensor * Tensor
Signature: (a: Tensor * kernelSize: int * stride: int * padding: int * kernelSizes: seq<int> * strides: seq<int> * paddings: seq<int>) -> Tensor * Tensor
Parameter Types:
  • a : Tensor
  • ?kernelSize : int
  • ?stride : int
  • ?padding : int
  • ?kernelSizes : seq<int>
  • ?strides : seq<int>
  • ?paddings : seq<int>
Return Type: Tensor * Tensor
DiffSharp.maxunpool1d(indices, kernelSize, ?stride, ?padding, ?outputSize)
Full Usage:
DiffSharp.maxunpool1d(indices, kernelSize, ?stride, ?padding, ?outputSize) Parameter Types:
  • indices : Tensor
  • kernelSize : int
  • ?stride : int
  • ?padding : int
  • ?outputSize : seq<int>

Return Type: Tensor -> Tensor
Signature: (indices: Tensor * kernelSize: int * stride: int * padding: int * outputSize: seq<int>) -> Tensor -> Tensor
Parameter Types:
  • indices : Tensor
  • kernelSize : int
  • ?stride : int
  • ?padding : int
  • ?outputSize : seq<int>
Return Type: Tensor -> Tensor
DiffSharp.maxunpool1d(a, indices, kernelSize, ?stride, ?padding, ?outputSize)
Full Usage:
DiffSharp.maxunpool1d(a, indices, kernelSize, ?stride, ?padding, ?outputSize) Parameter Types:
  • a : Tensor
  • indices : Tensor
  • kernelSize : int
  • ?stride : int
  • ?padding : int
  • ?outputSize : seq<int>

Return Type: Tensor
Signature: (a: Tensor * indices: Tensor * kernelSize: int * stride: int * padding: int * outputSize: seq<int>) -> Tensor
Parameter Types:
  • a : Tensor
  • indices : Tensor
  • kernelSize : int
  • ?stride : int
  • ?padding : int
  • ?outputSize : seq<int>
Return Type: Tensor
DiffSharp.maxunpool2d(indices, ?kernelSize, ?stride, ?padding, ?kernelSizes, ?strides, ?paddings, ?outputSize)
Full Usage:
DiffSharp.maxunpool2d(indices, ?kernelSize, ?stride, ?padding, ?kernelSizes, ?strides, ?paddings, ?outputSize) Parameter Types:
  • indices : Tensor
  • ?kernelSize : int
  • ?stride : int
  • ?padding : int
  • ?kernelSizes : seq<int>
  • ?strides : seq<int>
  • ?paddings : seq<int>
  • ?outputSize : seq<int>

Return Type: Tensor -> Tensor
Signature: (indices: Tensor * kernelSize: int * stride: int * padding: int * kernelSizes: seq<int> * strides: seq<int> * paddings: seq<int> * outputSize: seq<int>) -> Tensor -> Tensor
Parameter Types:
  • indices : Tensor
  • ?kernelSize : int
  • ?stride : int
  • ?padding : int
  • ?kernelSizes : seq<int>
  • ?strides : seq<int>
  • ?paddings : seq<int>
  • ?outputSize : seq<int>
Return Type: Tensor -> Tensor
DiffSharp.maxunpool2d(a, indices, ?kernelSize, ?stride, ?padding, ?kernelSizes, ?strides, ?paddings, ?outputSize)
Full Usage:
DiffSharp.maxunpool2d(a, indices, ?kernelSize, ?stride, ?padding, ?kernelSizes, ?strides, ?paddings, ?outputSize) Parameter Types:
  • a : Tensor
  • indices : Tensor
  • ?kernelSize : int
  • ?stride : int
  • ?padding : int
  • ?kernelSizes : seq<int>
  • ?strides : seq<int>
  • ?paddings : seq<int>
  • ?outputSize : seq<int>

Return Type: Tensor
Signature: (a: Tensor * indices: Tensor * kernelSize: int * stride: int * padding: int * kernelSizes: seq<int> * strides: seq<int> * paddings: seq<int> * outputSize: seq<int>) -> Tensor
Parameter Types:
  • a : Tensor
  • indices : Tensor
  • ?kernelSize : int
  • ?stride : int
  • ?padding : int
  • ?kernelSizes : seq<int>
  • ?strides : seq<int>
  • ?paddings : seq<int>
  • ?outputSize : seq<int>
Return Type: Tensor
DiffSharp.maxunpool3d(indices, ?kernelSize, ?stride, ?padding, ?kernelSizes, ?strides, ?paddings, ?outputSize)
Full Usage:
DiffSharp.maxunpool3d(indices, ?kernelSize, ?stride, ?padding, ?kernelSizes, ?strides, ?paddings, ?outputSize) Parameter Types:
  • indices : Tensor
  • ?kernelSize : int
  • ?stride : int
  • ?padding : int
  • ?kernelSizes : seq<int>
  • ?strides : seq<int>
  • ?paddings : seq<int>
  • ?outputSize : seq<int>

Return Type: Tensor -> Tensor
Signature: (indices: Tensor * kernelSize: int * stride: int * padding: int * kernelSizes: seq<int> * strides: seq<int> * paddings: seq<int> * outputSize: seq<int>) -> Tensor -> Tensor
Parameter Types:
  • indices : Tensor
  • ?kernelSize : int
  • ?stride : int
  • ?padding : int
  • ?kernelSizes : seq<int>
  • ?strides : seq<int>
  • ?paddings : seq<int>
  • ?outputSize : seq<int>
Return Type: Tensor -> Tensor
DiffSharp.maxunpool3d(a, indices, ?kernelSize, ?stride, ?padding, ?kernelSizes, ?strides, ?paddings, ?outputSize)
Full Usage:
DiffSharp.maxunpool3d(a, indices, ?kernelSize, ?stride, ?padding, ?kernelSizes, ?strides, ?paddings, ?outputSize) Parameter Types:
  • a : Tensor
  • indices : Tensor
  • ?kernelSize : int
  • ?stride : int
  • ?padding : int
  • ?kernelSizes : seq<int>
  • ?strides : seq<int>
  • ?paddings : seq<int>
  • ?outputSize : seq<int>

Return Type: Tensor
Signature: (a: Tensor * indices: Tensor * kernelSize: int * stride: int * padding: int * kernelSizes: seq<int> * strides: seq<int> * paddings: seq<int> * outputSize: seq<int>) -> Tensor
Parameter Types:
  • a : Tensor
  • indices : Tensor
  • ?kernelSize : int
  • ?stride : int
  • ?padding : int
  • ?kernelSizes : seq<int>
  • ?strides : seq<int>
  • ?paddings : seq<int>
  • ?outputSize : seq<int>
Return Type: Tensor
DiffSharp.mean(dim, ?keepDim)
Full Usage:
DiffSharp.mean(dim, ?keepDim) Parameter Types:
  • dim : int
  • ?keepDim : bool

Return Type: Tensor -> Tensor
Signature: (dim: int * keepDim: bool) -> Tensor -> Tensor
Parameter Types:
  • dim : int
  • ?keepDim : bool
Return Type: Tensor -> Tensor
DiffSharp.mean(a, dim, ?keepDim)
Full Usage:
DiffSharp.mean(a, dim, ?keepDim) Parameter Types:
  • a : Tensor
  • dim : int
  • ?keepDim : bool

Return Type: Tensor
Signature: (a: Tensor * dim: int * keepDim: bool) -> Tensor
Parameter Types:
  • a : Tensor
  • dim : int
  • ?keepDim : bool
Return Type: Tensor
DiffSharp.mean a
Full Usage:
DiffSharp.mean a Parameter Types:
  • a : Tensor

Return Type: Tensor
Signature: (a: Tensor) -> Tensor
Parameter Types:
  • a : Tensor
Return Type: Tensor
DiffSharp.min(a, b)
Full Usage:
DiffSharp.min(a, b) Parameter Types:
  • a : Tensor
  • b : Tensor

Return Type: Tensor
Signature: (a: Tensor * b: Tensor) -> Tensor
Parameter Types:
  • a : Tensor
  • b : Tensor
Return Type: Tensor
DiffSharp.min a
Full Usage:
DiffSharp.min a Parameter Types:
  • a : Tensor

Return Type: Tensor
Signature: (a: Tensor) -> Tensor
Parameter Types:
  • a : Tensor
Return Type: Tensor
DiffSharp.move(?dtype, ?device, ?backend)
Full Usage:
DiffSharp.move(?dtype, ?device, ?backend) Parameter Types:
  • ?dtype : Dtype
  • ?device : Device
  • ?backend : Backend

Return Type: Tensor -> Tensor
Signature: (dtype: Dtype * device: Device * backend: Backend) -> Tensor -> Tensor
Parameter Types:
  • ?dtype : Dtype
  • ?device : Device
  • ?backend : Backend
Return Type: Tensor -> Tensor
DiffSharp.move(a, ?dtype, ?device, ?backend)
Full Usage:
DiffSharp.move(a, ?dtype, ?device, ?backend) Parameter Types:
  • a : Tensor
  • ?dtype : Dtype
  • ?device : Device
  • ?backend : Backend

Return Type: Tensor
Signature: (a: Tensor * dtype: Dtype * device: Device * backend: Backend) -> Tensor
Parameter Types:
  • a : Tensor
  • ?dtype : Dtype
  • ?device : Device
  • ?backend : Backend
Return Type: Tensor
DiffSharp.mseLoss target
Full Usage:
DiffSharp.mseLoss target Parameter Types:
  • target : Tensor

Return Type: Tensor -> Tensor
Signature: (target: Tensor) -> Tensor -> Tensor
Parameter Types:
  • target : Tensor
Return Type: Tensor -> Tensor
DiffSharp.mseLoss(input, target, ?reduction)
Full Usage:
DiffSharp.mseLoss(input, target, ?reduction) Parameter Types:
  • input : Tensor
  • target : Tensor
  • ?reduction : string

Return Type: Tensor
Signature: (input: Tensor * target: Tensor * reduction: string) -> Tensor
Parameter Types:
  • input : Tensor
  • target : Tensor
  • ?reduction : string
Return Type: Tensor
DiffSharp.mul b
Full Usage:
DiffSharp.mul b Parameter Types:
  • b : Tensor

Return Type: Tensor -> Tensor
Signature: (b: Tensor) -> Tensor -> Tensor
Parameter Types:
  • b : Tensor
Return Type: Tensor -> Tensor
DiffSharp.mul(a, b)
Full Usage:
DiffSharp.mul(a, b) Parameter Types:
  • a : Tensor
  • b : Tensor

Return Type: Tensor
Signature: (a: Tensor * b: Tensor) -> Tensor
Parameter Types:
  • a : Tensor
  • b : Tensor
Return Type: Tensor
DiffSharp.multinomial(numSamples, ?dtype, ?device, ?backend)
Full Usage:
DiffSharp.multinomial(numSamples, ?dtype, ?device, ?backend) Parameter Types:
  • numSamples : int
  • ?dtype : Dtype
  • ?device : Device
  • ?backend : Backend

Return Type: Tensor -> Tensor
Signature: (numSamples: int * dtype: Dtype * device: Device * backend: Backend) -> Tensor -> Tensor
Parameter Types:
  • numSamples : int
  • ?dtype : Dtype
  • ?device : Device
  • ?backend : Backend
Return Type: Tensor -> Tensor
DiffSharp.multinomial(probs, numSamples, ?dtype, ?device, ?backend)
Full Usage:
DiffSharp.multinomial(probs, numSamples, ?dtype, ?device, ?backend) Parameter Types:
  • probs : Tensor
  • numSamples : int
  • ?dtype : Dtype
  • ?device : Device
  • ?backend : Backend

Return Type: Tensor
Signature: (probs: Tensor * numSamples: int * dtype: Dtype * device: Device * backend: Backend) -> Tensor
Parameter Types:
  • probs : Tensor
  • numSamples : int
  • ?dtype : Dtype
  • ?device : Device
  • ?backend : Backend
Return Type: Tensor
DiffSharp.neg a
Full Usage:
DiffSharp.neg a Parameter Types:
  • a : Tensor

Return Type: Tensor
Signature: (a: Tensor) -> Tensor
Parameter Types:
  • a : Tensor
Return Type: Tensor
DiffSharp.nelement a
Full Usage:
DiffSharp.nelement a Parameter Types:
  • a : Tensor

Return Type: int
Signature: (a: Tensor) -> int
Parameter Types:
  • a : Tensor
Return Type: int
DiffSharp.nest level
Full Usage:
DiffSharp.nest level Parameter Types:
  • level : uint32

Signature: (level: uint32) -> unit
Parameter Types:
  • level : uint32
DiffSharp.nest()
Full Usage:
DiffSharp.nest()
Signature: unit -> unit
DiffSharp.nestLevel()
Full Usage:
DiffSharp.nestLevel()
Return Type: uint32
Signature: unit -> uint32
Return Type: uint32
DiffSharp.nestReset()
Full Usage:
DiffSharp.nestReset()
Signature: unit -> unit
DiffSharp.nllLoss target
Full Usage:
DiffSharp.nllLoss target Parameter Types:
  • target : Tensor

Return Type: Tensor -> Tensor
Signature: (target: Tensor) -> Tensor -> Tensor
Parameter Types:
  • target : Tensor
Return Type: Tensor -> Tensor
DiffSharp.nllLoss(input, target, ?weight, ?reduction)
Full Usage:
DiffSharp.nllLoss(input, target, ?weight, ?reduction) Parameter Types:
  • input : Tensor
  • target : Tensor
  • ?weight : Tensor
  • ?reduction : string

Return Type: Tensor
Signature: (input: Tensor * target: Tensor * weight: Tensor * reduction: string) -> Tensor
Parameter Types:
  • input : Tensor
  • target : Tensor
  • ?weight : Tensor
  • ?reduction : string
Return Type: Tensor
DiffSharp.numcurl epsilon f x
Full Usage:
DiffSharp.numcurl epsilon f x Parameter Types:
  • epsilon : float
  • f : Tensor -> Tensor
  • x : Tensor

Return Type: Tensor
Signature: (epsilon: float) -> (f: (Tensor -> Tensor)) -> (x: Tensor) -> Tensor
Parameter Types:
  • epsilon : float
  • f : Tensor -> Tensor
  • x : Tensor
Return Type: Tensor
DiffSharp.numcurldivergence epsilon f x
Full Usage:
DiffSharp.numcurldivergence epsilon f x Parameter Types:
  • epsilon : float
  • f : Tensor -> Tensor
  • x : Tensor

Return Type: Tensor * Tensor
Signature: (epsilon: float) -> (f: (Tensor -> Tensor)) -> (x: Tensor) -> Tensor * Tensor
Parameter Types:
  • epsilon : float
  • f : Tensor -> Tensor
  • x : Tensor
Return Type: Tensor * Tensor
DiffSharp.numdiff epsilon f x
Full Usage:
DiffSharp.numdiff epsilon f x Parameter Types:
  • epsilon : float
  • f : Tensor -> Tensor
  • x : Tensor

Return Type: Tensor
Signature: (epsilon: float) -> (f: (Tensor -> Tensor)) -> (x: Tensor) -> Tensor
Parameter Types:
  • epsilon : float
  • f : Tensor -> Tensor
  • x : Tensor
Return Type: Tensor
DiffSharp.numdiff2 epsilon f x
Full Usage:
DiffSharp.numdiff2 epsilon f x Parameter Types:
  • epsilon : float
  • f : Tensor -> Tensor
  • x : Tensor

Return Type: Tensor
Signature: (epsilon: float) -> (f: (Tensor -> Tensor)) -> (x: Tensor) -> Tensor
Parameter Types:
  • epsilon : float
  • f : Tensor -> Tensor
  • x : Tensor
Return Type: Tensor
DiffSharp.numdivergence epsilon f x
Full Usage:
DiffSharp.numdivergence epsilon f x Parameter Types:
  • epsilon : float
  • f : Tensor -> Tensor
  • x : Tensor

Return Type: Tensor
Signature: (epsilon: float) -> (f: (Tensor -> Tensor)) -> (x: Tensor) -> Tensor
Parameter Types:
  • epsilon : float
  • f : Tensor -> Tensor
  • x : Tensor
Return Type: Tensor
DiffSharp.numfcurl epsilon f x
Full Usage:
DiffSharp.numfcurl epsilon f x Parameter Types:
  • epsilon : float
  • f : Tensor -> Tensor
  • x : Tensor

Return Type: Tensor * Tensor
Signature: (epsilon: float) -> (f: (Tensor -> Tensor)) -> (x: Tensor) -> Tensor * Tensor
Parameter Types:
  • epsilon : float
  • f : Tensor -> Tensor
  • x : Tensor
Return Type: Tensor * Tensor
DiffSharp.numfcurldivergence epsilon f x
Full Usage:
DiffSharp.numfcurldivergence epsilon f x Parameter Types:
  • epsilon : float
  • f : Tensor -> Tensor
  • x : Tensor

Return Type: Tensor * Tensor * Tensor
Signature: (epsilon: float) -> (f: (Tensor -> Tensor)) -> (x: Tensor) -> Tensor * Tensor * Tensor
Parameter Types:
  • epsilon : float
  • f : Tensor -> Tensor
  • x : Tensor
Return Type: Tensor * Tensor * Tensor
DiffSharp.numfdiff epsilon f x
Full Usage:
DiffSharp.numfdiff epsilon f x Parameter Types:
  • epsilon : float
  • f : Tensor -> Tensor
  • x : Tensor

Return Type: Tensor * Tensor
Signature: (epsilon: float) -> (f: (Tensor -> Tensor)) -> (x: Tensor) -> Tensor * Tensor
Parameter Types:
  • epsilon : float
  • f : Tensor -> Tensor
  • x : Tensor
Return Type: Tensor * Tensor
DiffSharp.numfdiff2 epsilon f x
Full Usage:
DiffSharp.numfdiff2 epsilon f x Parameter Types:
  • epsilon : float
  • f : Tensor -> Tensor
  • x : Tensor

Return Type: Tensor * Tensor
Signature: (epsilon: float) -> (f: (Tensor -> Tensor)) -> (x: Tensor) -> Tensor * Tensor
Parameter Types:
  • epsilon : float
  • f : Tensor -> Tensor
  • x : Tensor
Return Type: Tensor * Tensor
DiffSharp.numfdivergence epsilon f x
Full Usage:
DiffSharp.numfdivergence epsilon f x Parameter Types:
  • epsilon : float
  • f : Tensor -> Tensor
  • x : Tensor

Return Type: Tensor * Tensor
Signature: (epsilon: float) -> (f: (Tensor -> Tensor)) -> (x: Tensor) -> Tensor * Tensor
Parameter Types:
  • epsilon : float
  • f : Tensor -> Tensor
  • x : Tensor
Return Type: Tensor * Tensor
DiffSharp.numfg f x
Full Usage:
DiffSharp.numfg f x Parameter Types:
  • f : float
  • x : Tensor -> Tensor

Return Type: Tensor -> Tensor * Tensor
Signature: (f: float) -> (x: (Tensor -> Tensor)) -> Tensor -> Tensor * Tensor
Parameter Types:
  • f : float
  • x : Tensor -> Tensor
Return Type: Tensor -> Tensor * Tensor
DiffSharp.numfgh f x
Full Usage:
DiffSharp.numfgh f x Parameter Types:
  • f : float
  • x : Tensor -> Tensor

Return Type: Tensor -> Tensor * Tensor * Tensor
Signature: (f: float) -> (x: (Tensor -> Tensor)) -> Tensor -> Tensor * Tensor * Tensor
Parameter Types:
  • f : float
  • x : Tensor -> Tensor
Return Type: Tensor -> Tensor * Tensor * Tensor
DiffSharp.numfgrad epsilon f x
Full Usage:
DiffSharp.numfgrad epsilon f x Parameter Types:
  • epsilon : float
  • f : Tensor -> Tensor
  • x : Tensor

Return Type: Tensor * Tensor
Signature: (epsilon: float) -> (f: (Tensor -> Tensor)) -> (x: Tensor) -> Tensor * Tensor
Parameter Types:
  • epsilon : float
  • f : Tensor -> Tensor
  • x : Tensor
Return Type: Tensor * Tensor
DiffSharp.numfgradhessian epsilon f x
Full Usage:
DiffSharp.numfgradhessian epsilon f x Parameter Types:
  • epsilon : float
  • f : Tensor -> Tensor
  • x : Tensor

Return Type: Tensor * Tensor * Tensor
Signature: (epsilon: float) -> (f: (Tensor -> Tensor)) -> (x: Tensor) -> Tensor * Tensor * Tensor
Parameter Types:
  • epsilon : float
  • f : Tensor -> Tensor
  • x : Tensor
Return Type: Tensor * Tensor * Tensor
DiffSharp.numfgradv epsilon f x v
Full Usage:
DiffSharp.numfgradv epsilon f x v Parameter Types:
  • epsilon : float
  • f : Tensor -> Tensor
  • x : Tensor
  • v : Tensor

Return Type: Tensor * Tensor
Signature: (epsilon: float) -> (f: (Tensor -> Tensor)) -> (x: Tensor) -> (v: Tensor) -> Tensor * Tensor
Parameter Types:
  • epsilon : float
  • f : Tensor -> Tensor
  • x : Tensor
  • v : Tensor
Return Type: Tensor * Tensor
DiffSharp.numfgvp f x v
Full Usage:
DiffSharp.numfgvp f x v Parameter Types:
  • f : float
  • x : Tensor -> Tensor
  • v : Tensor

Return Type: Tensor -> Tensor * Tensor
Signature: (f: float) -> (x: (Tensor -> Tensor)) -> (v: Tensor) -> Tensor -> Tensor * Tensor
Parameter Types:
  • f : float
  • x : Tensor -> Tensor
  • v : Tensor
Return Type: Tensor -> Tensor * Tensor
DiffSharp.numfh f x
Full Usage:
DiffSharp.numfh f x Parameter Types:
  • f : float
  • x : Tensor -> Tensor

Return Type: Tensor -> Tensor * Tensor
Signature: (f: float) -> (x: (Tensor -> Tensor)) -> Tensor -> Tensor * Tensor
Parameter Types:
  • f : float
  • x : Tensor -> Tensor
Return Type: Tensor -> Tensor * Tensor
DiffSharp.numfhessian epsilon f x
Full Usage:
DiffSharp.numfhessian epsilon f x Parameter Types:
  • epsilon : float
  • f : Tensor -> Tensor
  • x : Tensor

Return Type: Tensor * Tensor
Signature: (epsilon: float) -> (f: (Tensor -> Tensor)) -> (x: Tensor) -> Tensor * Tensor
Parameter Types:
  • epsilon : float
  • f : Tensor -> Tensor
  • x : Tensor
Return Type: Tensor * Tensor
DiffSharp.numfhessianv epsilon f x v
Full Usage:
DiffSharp.numfhessianv epsilon f x v Parameter Types:
  • epsilon : float
  • f : Tensor -> Tensor
  • x : Tensor
  • v : Tensor

Return Type: Tensor * Tensor
Signature: (epsilon: float) -> (f: (Tensor -> Tensor)) -> (x: Tensor) -> (v: Tensor) -> Tensor * Tensor
Parameter Types:
  • epsilon : float
  • f : Tensor -> Tensor
  • x : Tensor
  • v : Tensor
Return Type: Tensor * Tensor
DiffSharp.numfhvp f x v
Full Usage:
DiffSharp.numfhvp f x v Parameter Types:
  • f : float
  • x : Tensor -> Tensor
  • v : Tensor

Return Type: Tensor -> Tensor * Tensor
Signature: (f: float) -> (x: (Tensor -> Tensor)) -> (v: Tensor) -> Tensor -> Tensor * Tensor
Parameter Types:
  • f : float
  • x : Tensor -> Tensor
  • v : Tensor
Return Type: Tensor -> Tensor * Tensor
DiffSharp.numfj f x
Full Usage:
DiffSharp.numfj f x Parameter Types:
  • f : float
  • x : Tensor -> Tensor

Return Type: Tensor -> Tensor * Tensor
Signature: (f: float) -> (x: (Tensor -> Tensor)) -> Tensor -> Tensor * Tensor
Parameter Types:
  • f : float
  • x : Tensor -> Tensor
Return Type: Tensor -> Tensor * Tensor
DiffSharp.numfjacobian epsilon f x
Full Usage:
DiffSharp.numfjacobian epsilon f x Parameter Types:
  • epsilon : float
  • f : Tensor -> Tensor
  • x : Tensor

Return Type: Tensor * Tensor
Signature: (epsilon: float) -> (f: (Tensor -> Tensor)) -> (x: Tensor) -> Tensor * Tensor
Parameter Types:
  • epsilon : float
  • f : Tensor -> Tensor
  • x : Tensor
Return Type: Tensor * Tensor
DiffSharp.numfjacobianv epsilon f x v
Full Usage:
DiffSharp.numfjacobianv epsilon f x v Parameter Types:
  • epsilon : float
  • f : Tensor -> Tensor
  • x : Tensor
  • v : Tensor

Return Type: Tensor * Tensor
Signature: (epsilon: float) -> (f: (Tensor -> Tensor)) -> (x: Tensor) -> (v: Tensor) -> Tensor * Tensor
Parameter Types:
  • epsilon : float
  • f : Tensor -> Tensor
  • x : Tensor
  • v : Tensor
Return Type: Tensor * Tensor
DiffSharp.numfjvp f x v
Full Usage:
DiffSharp.numfjvp f x v Parameter Types:
  • f : float
  • x : Tensor -> Tensor
  • v : Tensor

Return Type: Tensor -> Tensor * Tensor
Signature: (f: float) -> (x: (Tensor -> Tensor)) -> (v: Tensor) -> Tensor -> Tensor * Tensor
Parameter Types:
  • f : float
  • x : Tensor -> Tensor
  • v : Tensor
Return Type: Tensor -> Tensor * Tensor
DiffSharp.numflaplacian epsilon f x
Full Usage:
DiffSharp.numflaplacian epsilon f x Parameter Types:
  • epsilon : float
  • f : Tensor -> Tensor
  • x : Tensor

Return Type: Tensor * Tensor
Signature: (epsilon: float) -> (f: (Tensor -> Tensor)) -> (x: Tensor) -> Tensor * Tensor
Parameter Types:
  • epsilon : float
  • f : Tensor -> Tensor
  • x : Tensor
Return Type: Tensor * Tensor
DiffSharp.numg f x
Full Usage:
DiffSharp.numg f x Parameter Types:
  • f : float
  • x : Tensor -> Tensor

Return Type: Tensor -> Tensor
Signature: (f: float) -> (x: (Tensor -> Tensor)) -> Tensor -> Tensor
Parameter Types:
  • f : float
  • x : Tensor -> Tensor
Return Type: Tensor -> Tensor
DiffSharp.numgh f x
Full Usage:
DiffSharp.numgh f x Parameter Types:
  • f : float
  • x : Tensor -> Tensor

Return Type: Tensor -> Tensor * Tensor
Signature: (f: float) -> (x: (Tensor -> Tensor)) -> Tensor -> Tensor * Tensor
Parameter Types:
  • f : float
  • x : Tensor -> Tensor
Return Type: Tensor -> Tensor * Tensor
DiffSharp.numgrad epsilon f x
Full Usage:
DiffSharp.numgrad epsilon f x Parameter Types:
  • epsilon : float
  • f : Tensor -> Tensor
  • x : Tensor

Return Type: Tensor
Signature: (epsilon: float) -> (f: (Tensor -> Tensor)) -> (x: Tensor) -> Tensor
Parameter Types:
  • epsilon : float
  • f : Tensor -> Tensor
  • x : Tensor
Return Type: Tensor
DiffSharp.numgradhessian epsilon f x
Full Usage:
DiffSharp.numgradhessian epsilon f x Parameter Types:
  • epsilon : float
  • f : Tensor -> Tensor
  • x : Tensor

Return Type: Tensor * Tensor
Signature: (epsilon: float) -> (f: (Tensor -> Tensor)) -> (x: Tensor) -> Tensor * Tensor
Parameter Types:
  • epsilon : float
  • f : Tensor -> Tensor
  • x : Tensor
Return Type: Tensor * Tensor
DiffSharp.numgradv epsilon f x v
Full Usage:
DiffSharp.numgradv epsilon f x v Parameter Types:
  • epsilon : float
  • f : Tensor -> Tensor
  • x : Tensor
  • v : Tensor

Return Type: Tensor
Signature: (epsilon: float) -> (f: (Tensor -> Tensor)) -> (x: Tensor) -> (v: Tensor) -> Tensor
Parameter Types:
  • epsilon : float
  • f : Tensor -> Tensor
  • x : Tensor
  • v : Tensor
Return Type: Tensor
DiffSharp.numgvp f x v
Full Usage:
DiffSharp.numgvp f x v Parameter Types:
  • f : float
  • x : Tensor -> Tensor
  • v : Tensor

Return Type: Tensor -> Tensor
Signature: (f: float) -> (x: (Tensor -> Tensor)) -> (v: Tensor) -> Tensor -> Tensor
Parameter Types:
  • f : float
  • x : Tensor -> Tensor
  • v : Tensor
Return Type: Tensor -> Tensor
DiffSharp.numh f x
Full Usage:
DiffSharp.numh f x Parameter Types:
  • f : float
  • x : Tensor -> Tensor

Return Type: Tensor -> Tensor
Signature: (f: float) -> (x: (Tensor -> Tensor)) -> Tensor -> Tensor
Parameter Types:
  • f : float
  • x : Tensor -> Tensor
Return Type: Tensor -> Tensor
DiffSharp.numhessian epsilon f x
Full Usage:
DiffSharp.numhessian epsilon f x Parameter Types:
  • epsilon : float
  • f : Tensor -> Tensor
  • x : Tensor

Return Type: Tensor
Signature: (epsilon: float) -> (f: (Tensor -> Tensor)) -> (x: Tensor) -> Tensor
Parameter Types:
  • epsilon : float
  • f : Tensor -> Tensor
  • x : Tensor
Return Type: Tensor
DiffSharp.numhessianv epsilon f x v
Full Usage:
DiffSharp.numhessianv epsilon f x v Parameter Types:
  • epsilon : float
  • f : Tensor -> Tensor
  • x : Tensor
  • v : Tensor

Return Type: Tensor
Signature: (epsilon: float) -> (f: (Tensor -> Tensor)) -> (x: Tensor) -> (v: Tensor) -> Tensor
Parameter Types:
  • epsilon : float
  • f : Tensor -> Tensor
  • x : Tensor
  • v : Tensor
Return Type: Tensor
DiffSharp.numhvp f x v
Full Usage:
DiffSharp.numhvp f x v Parameter Types:
  • f : float
  • x : Tensor -> Tensor
  • v : Tensor

Return Type: Tensor -> Tensor
Signature: (f: float) -> (x: (Tensor -> Tensor)) -> (v: Tensor) -> Tensor -> Tensor
Parameter Types:
  • f : float
  • x : Tensor -> Tensor
  • v : Tensor
Return Type: Tensor -> Tensor
DiffSharp.numj f x
Full Usage:
DiffSharp.numj f x Parameter Types:
  • f : float
  • x : Tensor -> Tensor

Return Type: Tensor -> Tensor
Signature: (f: float) -> (x: (Tensor -> Tensor)) -> Tensor -> Tensor
Parameter Types:
  • f : float
  • x : Tensor -> Tensor
Return Type: Tensor -> Tensor
DiffSharp.numjacobian epsilon f x
Full Usage:
DiffSharp.numjacobian epsilon f x Parameter Types:
  • epsilon : float
  • f : Tensor -> Tensor
  • x : Tensor

Return Type: Tensor
Signature: (epsilon: float) -> (f: (Tensor -> Tensor)) -> (x: Tensor) -> Tensor
Parameter Types:
  • epsilon : float
  • f : Tensor -> Tensor
  • x : Tensor
Return Type: Tensor
DiffSharp.numjacobianv epsilon f x v
Full Usage:
DiffSharp.numjacobianv epsilon f x v Parameter Types:
  • epsilon : float
  • f : Tensor -> Tensor
  • x : Tensor
  • v : Tensor

Return Type: Tensor
Signature: (epsilon: float) -> (f: (Tensor -> Tensor)) -> (x: Tensor) -> (v: Tensor) -> Tensor
Parameter Types:
  • epsilon : float
  • f : Tensor -> Tensor
  • x : Tensor
  • v : Tensor
Return Type: Tensor
DiffSharp.numjvp f x v
Full Usage:
DiffSharp.numjvp f x v Parameter Types:
  • f : float
  • x : Tensor -> Tensor
  • v : Tensor

Return Type: Tensor -> Tensor
Signature: (f: float) -> (x: (Tensor -> Tensor)) -> (v: Tensor) -> Tensor -> Tensor
Parameter Types:
  • f : float
  • x : Tensor -> Tensor
  • v : Tensor
Return Type: Tensor -> Tensor
DiffSharp.numlaplacian epsilon f x
Full Usage:
DiffSharp.numlaplacian epsilon f x Parameter Types:
  • epsilon : float
  • f : Tensor -> Tensor
  • x : Tensor

Return Type: Tensor
Signature: (epsilon: float) -> (f: (Tensor -> Tensor)) -> (x: Tensor) -> Tensor
Parameter Types:
  • epsilon : float
  • f : Tensor -> Tensor
  • x : Tensor
Return Type: Tensor
DiffSharp.one(?dtype, ?device, ?backend)
Full Usage:
DiffSharp.one(?dtype, ?device, ?backend) Parameter Types:
  • ?dtype : Dtype
  • ?device : Device
  • ?backend : Backend

Return Type: Tensor
Signature: (dtype: Dtype * device: Device * backend: Backend) -> Tensor
Parameter Types:
  • ?dtype : Dtype
  • ?device : Device
  • ?backend : Backend
Return Type: Tensor
DiffSharp.oneLike(a, ?dtype, ?device, ?backend)
Full Usage:
DiffSharp.oneLike(a, ?dtype, ?device, ?backend) Parameter Types:
  • a : Tensor
  • ?dtype : Dtype
  • ?device : Device
  • ?backend : Backend

Return Type: Tensor
Signature: (a: Tensor * dtype: Dtype * device: Device * backend: Backend) -> Tensor
Parameter Types:
  • a : Tensor
  • ?dtype : Dtype
  • ?device : Device
  • ?backend : Backend
Return Type: Tensor
DiffSharp.onehot(length, hot, ?dtype, ?device, ?backend)
Full Usage:
DiffSharp.onehot(length, hot, ?dtype, ?device, ?backend) Parameter Types:
  • length : int
  • hot : int
  • ?dtype : Dtype
  • ?device : Device
  • ?backend : Backend

Return Type: Tensor
Signature: (length: int * hot: int * dtype: Dtype * device: Device * backend: Backend) -> Tensor
Parameter Types:
  • length : int
  • hot : int
  • ?dtype : Dtype
  • ?device : Device
  • ?backend : Backend
Return Type: Tensor
DiffSharp.onehotLike(length, hot, ?dtype, ?device, ?backend)
Full Usage:
DiffSharp.onehotLike(length, hot, ?dtype, ?device, ?backend) Parameter Types:
  • length : int
  • hot : int
  • ?dtype : Dtype
  • ?device : Device
  • ?backend : Backend

Return Type: Tensor -> Tensor
Signature: (length: int * hot: int * dtype: Dtype * device: Device * backend: Backend) -> Tensor -> Tensor
Parameter Types:
  • length : int
  • hot : int
  • ?dtype : Dtype
  • ?device : Device
  • ?backend : Backend
Return Type: Tensor -> Tensor
DiffSharp.onehotLike(a, length, hot, ?dtype, ?device, ?backend)
Full Usage:
DiffSharp.onehotLike(a, length, hot, ?dtype, ?device, ?backend) Parameter Types:
  • a : Tensor
  • length : int
  • hot : int
  • ?dtype : Dtype
  • ?device : Device
  • ?backend : Backend

Return Type: Tensor
Signature: (a: Tensor * length: int * hot: int * dtype: Dtype * device: Device * backend: Backend) -> Tensor
Parameter Types:
  • a : Tensor
  • length : int
  • hot : int
  • ?dtype : Dtype
  • ?device : Device
  • ?backend : Backend
Return Type: Tensor
DiffSharp.ones(length, ?dtype, ?device, ?backend)
Full Usage:
DiffSharp.ones(length, ?dtype, ?device, ?backend) Parameter Types:
  • length : int
  • ?dtype : Dtype
  • ?device : Device
  • ?backend : Backend

Return Type: Tensor
Signature: (length: int * dtype: Dtype * device: Device * backend: Backend) -> Tensor
Parameter Types:
  • length : int
  • ?dtype : Dtype
  • ?device : Device
  • ?backend : Backend
Return Type: Tensor
DiffSharp.ones(shape, ?dtype, ?device, ?backend)
Full Usage:
DiffSharp.ones(shape, ?dtype, ?device, ?backend) Parameter Types:
  • shape : seq<int>
  • ?dtype : Dtype
  • ?device : Device
  • ?backend : Backend

Return Type: Tensor
Signature: (shape: seq<int> * dtype: Dtype * device: Device * backend: Backend) -> Tensor
Parameter Types:
  • shape : seq<int>
  • ?dtype : Dtype
  • ?device : Device
  • ?backend : Backend
Return Type: Tensor
DiffSharp.onesLike(shape, ?dtype, ?device, ?backend)
Full Usage:
DiffSharp.onesLike(shape, ?dtype, ?device, ?backend) Parameter Types:
  • shape : seq<int>
  • ?dtype : Dtype
  • ?device : Device
  • ?backend : Backend

Return Type: Tensor -> Tensor
Signature: (shape: seq<int> * dtype: Dtype * device: Device * backend: Backend) -> Tensor -> Tensor
Parameter Types:
  • shape : seq<int>
  • ?dtype : Dtype
  • ?device : Device
  • ?backend : Backend
Return Type: Tensor -> Tensor
DiffSharp.onesLike(a, ?shape, ?dtype, ?device, ?backend)
Full Usage:
DiffSharp.onesLike(a, ?shape, ?dtype, ?device, ?backend) Parameter Types:
  • a : Tensor
  • ?shape : seq<int>
  • ?dtype : Dtype
  • ?device : Device
  • ?backend : Backend

Return Type: Tensor
Signature: (a: Tensor * shape: seq<int> * dtype: Dtype * device: Device * backend: Backend) -> Tensor
Parameter Types:
  • a : Tensor
  • ?shape : seq<int>
  • ?dtype : Dtype
  • ?device : Device
  • ?backend : Backend
Return Type: Tensor
DiffSharp.pad paddings
Full Usage:
DiffSharp.pad paddings Parameter Types:
  • paddings : seq<int>

Return Type: Tensor -> Tensor
Signature: (paddings: seq<int>) -> Tensor -> Tensor
Parameter Types:
  • paddings : seq<int>
Return Type: Tensor -> Tensor
DiffSharp.pad(a, paddings)
Full Usage:
DiffSharp.pad(a, paddings) Parameter Types:
  • a : Tensor
  • paddings : seq<int>

Return Type: Tensor
Signature: (a: Tensor * paddings: seq<int>) -> Tensor
Parameter Types:
  • a : Tensor
  • paddings : seq<int>
Return Type: Tensor
DiffSharp.pow b
Full Usage:
DiffSharp.pow b Parameter Types:
  • b : Tensor

Return Type: Tensor -> Tensor
Signature: (b: Tensor) -> Tensor -> Tensor
Parameter Types:
  • b : Tensor
Return Type: Tensor -> Tensor
DiffSharp.pow(a, b)
Full Usage:
DiffSharp.pow(a, b) Parameter Types:
  • a : Tensor
  • b : Tensor

Return Type: Tensor
Signature: (a: Tensor * b: Tensor) -> Tensor
Parameter Types:
  • a : Tensor
  • b : Tensor
Return Type: Tensor
DiffSharp.primal tensor
Full Usage:
DiffSharp.primal tensor Parameter Types:
  • tensor : Tensor

Return Type: Tensor
Signature: (tensor: Tensor) -> Tensor
Parameter Types:
  • tensor : Tensor
Return Type: Tensor
DiffSharp.primalDerivative tensor
Full Usage:
DiffSharp.primalDerivative tensor Parameter Types:
  • tensor : Tensor

Return Type: Tensor * Tensor
Signature: (tensor: Tensor) -> Tensor * Tensor
Parameter Types:
  • tensor : Tensor
Return Type: Tensor * Tensor
DiffSharp.rand(length, ?dtype, ?device, ?backend)
Full Usage:
DiffSharp.rand(length, ?dtype, ?device, ?backend) Parameter Types:
  • length : int
  • ?dtype : Dtype
  • ?device : Device
  • ?backend : Backend

Return Type: Tensor
Signature: (length: int * dtype: Dtype * device: Device * backend: Backend) -> Tensor
Parameter Types:
  • length : int
  • ?dtype : Dtype
  • ?device : Device
  • ?backend : Backend
Return Type: Tensor
DiffSharp.rand(shape, ?dtype, ?device, ?backend)
Full Usage:
DiffSharp.rand(shape, ?dtype, ?device, ?backend) Parameter Types:
  • shape : seq<int>
  • ?dtype : Dtype
  • ?device : Device
  • ?backend : Backend

Return Type: Tensor
Signature: (shape: seq<int> * dtype: Dtype * device: Device * backend: Backend) -> Tensor
Parameter Types:
  • shape : seq<int>
  • ?dtype : Dtype
  • ?device : Device
  • ?backend : Backend
Return Type: Tensor
DiffSharp.randLike(shape, ?dtype, ?device, ?backend)
Full Usage:
DiffSharp.randLike(shape, ?dtype, ?device, ?backend) Parameter Types:
  • shape : seq<int>
  • ?dtype : Dtype
  • ?device : Device
  • ?backend : Backend

Return Type: Tensor -> Tensor
Signature: (shape: seq<int> * dtype: Dtype * device: Device * backend: Backend) -> Tensor -> Tensor
Parameter Types:
  • shape : seq<int>
  • ?dtype : Dtype
  • ?device : Device
  • ?backend : Backend
Return Type: Tensor -> Tensor
DiffSharp.randLike(a, ?shape, ?dtype, ?device, ?backend)
Full Usage:
DiffSharp.randLike(a, ?shape, ?dtype, ?device, ?backend) Parameter Types:
  • a : Tensor
  • ?shape : seq<int>
  • ?dtype : Dtype
  • ?device : Device
  • ?backend : Backend

Return Type: Tensor
Signature: (a: Tensor * shape: seq<int> * dtype: Dtype * device: Device * backend: Backend) -> Tensor
Parameter Types:
  • a : Tensor
  • ?shape : seq<int>
  • ?dtype : Dtype
  • ?device : Device
  • ?backend : Backend
Return Type: Tensor
DiffSharp.randint(low, high, length, ?dtype, ?device, ?backend)
Full Usage:
DiffSharp.randint(low, high, length, ?dtype, ?device, ?backend) Parameter Types:
  • low : int
  • high : int
  • length : int
  • ?dtype : Dtype
  • ?device : Device
  • ?backend : Backend

Return Type: Tensor
Signature: (low: int * high: int * length: int * dtype: Dtype * device: Device * backend: Backend) -> Tensor
Parameter Types:
  • low : int
  • high : int
  • length : int
  • ?dtype : Dtype
  • ?device : Device
  • ?backend : Backend
Return Type: Tensor
DiffSharp.randint(low, high, shape, ?dtype, ?device, ?backend)
Full Usage:
DiffSharp.randint(low, high, shape, ?dtype, ?device, ?backend) Parameter Types:
  • low : int
  • high : int
  • shape : seq<int>
  • ?dtype : Dtype
  • ?device : Device
  • ?backend : Backend

Return Type: Tensor
Signature: (low: int * high: int * shape: seq<int> * dtype: Dtype * device: Device * backend: Backend) -> Tensor
Parameter Types:
  • low : int
  • high : int
  • shape : seq<int>
  • ?dtype : Dtype
  • ?device : Device
  • ?backend : Backend
Return Type: Tensor
DiffSharp.randintLike(low, high, ?shape, ?dtype, ?device, ?backend)
Full Usage:
DiffSharp.randintLike(low, high, ?shape, ?dtype, ?device, ?backend) Parameter Types:
  • low : int
  • high : int
  • ?shape : seq<int>
  • ?dtype : Dtype
  • ?device : Device
  • ?backend : Backend

Return Type: Tensor -> Tensor
Signature: (low: int * high: int * shape: seq<int> * dtype: Dtype * device: Device * backend: Backend) -> Tensor -> Tensor
Parameter Types:
  • low : int
  • high : int
  • ?shape : seq<int>
  • ?dtype : Dtype
  • ?device : Device
  • ?backend : Backend
Return Type: Tensor -> Tensor
DiffSharp.randintLike(a, low, high, ?shape, ?dtype, ?device, ?backend)
Full Usage:
DiffSharp.randintLike(a, low, high, ?shape, ?dtype, ?device, ?backend) Parameter Types:
  • a : Tensor
  • low : int
  • high : int
  • ?shape : seq<int>
  • ?dtype : Dtype
  • ?device : Device
  • ?backend : Backend

Return Type: Tensor
Signature: (a: Tensor * low: int * high: int * shape: seq<int> * dtype: Dtype * device: Device * backend: Backend) -> Tensor
Parameter Types:
  • a : Tensor
  • low : int
  • high : int
  • ?shape : seq<int>
  • ?dtype : Dtype
  • ?device : Device
  • ?backend : Backend
Return Type: Tensor
DiffSharp.randn(length, ?dtype, ?device, ?backend)
Full Usage:
DiffSharp.randn(length, ?dtype, ?device, ?backend) Parameter Types:
  • length : int
  • ?dtype : Dtype
  • ?device : Device
  • ?backend : Backend

Return Type: Tensor
Signature: (length: int * dtype: Dtype * device: Device * backend: Backend) -> Tensor
Parameter Types:
  • length : int
  • ?dtype : Dtype
  • ?device : Device
  • ?backend : Backend
Return Type: Tensor
DiffSharp.randn(shape, ?dtype, ?device, ?backend)
Full Usage:
DiffSharp.randn(shape, ?dtype, ?device, ?backend) Parameter Types:
  • shape : seq<int>
  • ?dtype : Dtype
  • ?device : Device
  • ?backend : Backend

Return Type: Tensor
Signature: (shape: seq<int> * dtype: Dtype * device: Device * backend: Backend) -> Tensor
Parameter Types:
  • shape : seq<int>
  • ?dtype : Dtype
  • ?device : Device
  • ?backend : Backend
Return Type: Tensor
DiffSharp.randnLike(shape, ?dtype, ?device, ?backend)
Full Usage:
DiffSharp.randnLike(shape, ?dtype, ?device, ?backend) Parameter Types:
  • shape : seq<int>
  • ?dtype : Dtype
  • ?device : Device
  • ?backend : Backend

Return Type: Tensor -> Tensor
Signature: (shape: seq<int> * dtype: Dtype * device: Device * backend: Backend) -> Tensor -> Tensor
Parameter Types:
  • shape : seq<int>
  • ?dtype : Dtype
  • ?device : Device
  • ?backend : Backend
Return Type: Tensor -> Tensor
DiffSharp.randnLike(a, ?shape, ?dtype, ?device, ?backend)
Full Usage:
DiffSharp.randnLike(a, ?shape, ?dtype, ?device, ?backend) Parameter Types:
  • a : Tensor
  • ?shape : seq<int>
  • ?dtype : Dtype
  • ?device : Device
  • ?backend : Backend

Return Type: Tensor
Signature: (a: Tensor * shape: seq<int> * dtype: Dtype * device: Device * backend: Backend) -> Tensor
Parameter Types:
  • a : Tensor
  • ?shape : seq<int>
  • ?dtype : Dtype
  • ?device : Device
  • ?backend : Backend
Return Type: Tensor
DiffSharp.relu a
Full Usage:
DiffSharp.relu a Parameter Types:
  • a : Tensor

Return Type: Tensor
Signature: (a: Tensor) -> Tensor
Parameter Types:
  • a : Tensor
Return Type: Tensor
DiffSharp.repeat(dim, times)
Full Usage:
DiffSharp.repeat(dim, times) Parameter Types:
  • dim : int
  • times : int

Return Type: Tensor -> Tensor
Signature: (dim: int * times: int) -> Tensor -> Tensor
Parameter Types:
  • dim : int
  • times : int
Return Type: Tensor -> Tensor
DiffSharp.repeat(a, dim, times)
Full Usage:
DiffSharp.repeat(a, dim, times) Parameter Types:
  • a : Tensor
  • dim : int
  • times : int

Return Type: Tensor
Signature: (a: Tensor * dim: int * times: int) -> Tensor
Parameter Types:
  • a : Tensor
  • dim : int
  • times : int
Return Type: Tensor
DiffSharp.reverse value tensor
Full Usage:
DiffSharp.reverse value tensor Parameter Types:
  • value : Tensor
  • tensor : Tensor

Signature: (value: Tensor) -> (tensor: Tensor) -> unit
Parameter Types:
  • value : Tensor
  • tensor : Tensor
DiffSharp.reverseDiff tag tensor
Full Usage:
DiffSharp.reverseDiff tag tensor Parameter Types:
  • tag : uint32
  • tensor : Tensor

Return Type: Tensor
Signature: (tag: uint32) -> (tensor: Tensor) -> Tensor
Parameter Types:
  • tag : uint32
  • tensor : Tensor
Return Type: Tensor
DiffSharp.reversePush value tensor
Full Usage:
DiffSharp.reversePush value tensor Parameter Types:
  • value : Tensor
  • tensor : Tensor

Signature: (value: Tensor) -> (tensor: Tensor) -> unit
Parameter Types:
  • value : Tensor
  • tensor : Tensor
DiffSharp.reverseReset tensor
Full Usage:
DiffSharp.reverseReset tensor Parameter Types:
  • tensor : Tensor

Signature: (tensor: Tensor) -> unit
Parameter Types:
  • tensor : Tensor
DiffSharp.round a
Full Usage:
DiffSharp.round a Parameter Types:
  • a : Tensor

Return Type: Tensor
Signature: (a: Tensor) -> Tensor
Parameter Types:
  • a : Tensor
Return Type: Tensor
DiffSharp.save(tensor, fileName)
Full Usage:
DiffSharp.save(tensor, fileName) Parameter Types:
  • tensor : Tensor
  • fileName : string

Signature: (tensor: Tensor * fileName: string) -> unit
Parameter Types:
  • tensor : Tensor
  • fileName : string
DiffSharp.seed ?seed
Full Usage:
DiffSharp.seed ?seed Parameter Types:
  • ?seed : int

Signature: (seed: int) -> unit
Parameter Types:
  • ?seed : int
DiffSharp.sigmoid a
Full Usage:
DiffSharp.sigmoid a Parameter Types:
  • a : Tensor

Return Type: Tensor
Signature: (a: Tensor) -> Tensor
Parameter Types:
  • a : Tensor
Return Type: Tensor
DiffSharp.sign a
Full Usage:
DiffSharp.sign a Parameter Types:
  • a : Tensor

Return Type: Tensor
Signature: (a: Tensor) -> Tensor
Parameter Types:
  • a : Tensor
Return Type: Tensor
DiffSharp.sin a
Full Usage:
DiffSharp.sin a Parameter Types:
  • a : Tensor

Return Type: Tensor
Signature: (a: Tensor) -> Tensor
Parameter Types:
  • a : Tensor
Return Type: Tensor
DiffSharp.sinh a
Full Usage:
DiffSharp.sinh a Parameter Types:
  • a : Tensor

Return Type: Tensor
Signature: (a: Tensor) -> Tensor
Parameter Types:
  • a : Tensor
Return Type: Tensor
DiffSharp.softmax dim
Full Usage:
DiffSharp.softmax dim Parameter Types:
  • dim : int

Return Type: Tensor -> Tensor
Signature: (dim: int) -> Tensor -> Tensor
Parameter Types:
  • dim : int
Return Type: Tensor -> Tensor
DiffSharp.softmax(a, dim)
Full Usage:
DiffSharp.softmax(a, dim) Parameter Types:
  • a : Tensor
  • dim : int

Return Type: Tensor
Signature: (a: Tensor * dim: int) -> Tensor
Parameter Types:
  • a : Tensor
  • dim : int
Return Type: Tensor
DiffSharp.softplus a
Full Usage:
DiffSharp.softplus a Parameter Types:
  • a : Tensor

Return Type: Tensor
Signature: (a: Tensor) -> Tensor
Parameter Types:
  • a : Tensor
Return Type: Tensor
DiffSharp.split(sizes, ?dim)
Full Usage:
DiffSharp.split(sizes, ?dim) Parameter Types:
  • sizes : seq<int>
  • ?dim : int

Return Type: Tensor -> Tensor []
Signature: (sizes: seq<int> * dim: int) -> Tensor -> Tensor []
Parameter Types:
  • sizes : seq<int>
  • ?dim : int
Return Type: Tensor -> Tensor []
DiffSharp.split(a, sizes, ?dim)
Full Usage:
DiffSharp.split(a, sizes, ?dim) Parameter Types:
  • a : Tensor
  • sizes : seq<int>
  • ?dim : int

Return Type: Tensor []
Signature: (a: Tensor * sizes: seq<int> * dim: int) -> Tensor []
Parameter Types:
  • a : Tensor
  • sizes : seq<int>
  • ?dim : int
Return Type: Tensor []
DiffSharp.sqrt a
Full Usage:
DiffSharp.sqrt a Parameter Types:
  • a : Tensor

Return Type: Tensor
Signature: (a: Tensor) -> Tensor
Parameter Types:
  • a : Tensor
Return Type: Tensor
DiffSharp.squeeze dim
Full Usage:
DiffSharp.squeeze dim Parameter Types:
  • dim : int

Return Type: Tensor -> Tensor
Signature: (dim: int) -> Tensor -> Tensor
Parameter Types:
  • dim : int
Return Type: Tensor -> Tensor
DiffSharp.squeeze(a, ?dim)
Full Usage:
DiffSharp.squeeze(a, ?dim) Parameter Types:
  • a : Tensor
  • ?dim : int

Return Type: Tensor
Signature: (a: Tensor * dim: int) -> Tensor
Parameter Types:
  • a : Tensor
  • ?dim : int
Return Type: Tensor
DiffSharp.stack dim
Full Usage:
DiffSharp.stack dim Parameter Types:
  • dim : int

Return Type: seq<Tensor> -> Tensor
Signature: (dim: int) -> seq<Tensor> -> Tensor
Parameter Types:
  • dim : int
Return Type: seq<Tensor> -> Tensor
DiffSharp.stack(tensors, ?dim)
Full Usage:
DiffSharp.stack(tensors, ?dim) Parameter Types:
  • tensors : seq<Tensor>
  • ?dim : int

Return Type: Tensor
Signature: (tensors: seq<Tensor> * dim: int) -> Tensor
Parameter Types:
  • tensors : seq<Tensor>
  • ?dim : int
Return Type: Tensor
DiffSharp.stddev(dim, ?keepDim, ?unbiased)
Full Usage:
DiffSharp.stddev(dim, ?keepDim, ?unbiased) Parameter Types:
  • dim : int
  • ?keepDim : bool
  • ?unbiased : bool

Return Type: Tensor -> Tensor
Signature: (dim: int * keepDim: bool * unbiased: bool) -> Tensor -> Tensor
Parameter Types:
  • dim : int
  • ?keepDim : bool
  • ?unbiased : bool
Return Type: Tensor -> Tensor
DiffSharp.stddev(a, dim, ?keepDim, ?unbiased)
Full Usage:
DiffSharp.stddev(a, dim, ?keepDim, ?unbiased) Parameter Types:
  • a : Tensor
  • dim : int
  • ?keepDim : bool
  • ?unbiased : bool

Return Type: Tensor
Signature: (a: Tensor * dim: int * keepDim: bool * unbiased: bool) -> Tensor
Parameter Types:
  • a : Tensor
  • dim : int
  • ?keepDim : bool
  • ?unbiased : bool
Return Type: Tensor
DiffSharp.stddev(a, ?unbiased)
Full Usage:
DiffSharp.stddev(a, ?unbiased) Parameter Types:
  • a : Tensor
  • ?unbiased : bool

Return Type: Tensor
Signature: (a: Tensor * unbiased: bool) -> Tensor
Parameter Types:
  • a : Tensor
  • ?unbiased : bool
Return Type: Tensor
DiffSharp.sub b
Full Usage:
DiffSharp.sub b Parameter Types:
  • b : Tensor

Return Type: Tensor -> Tensor
Signature: (b: Tensor) -> Tensor -> Tensor
Parameter Types:
  • b : Tensor
Return Type: Tensor -> Tensor
DiffSharp.sub(a, b)
Full Usage:
DiffSharp.sub(a, b) Parameter Types:
  • a : Tensor
  • b : Tensor

Return Type: Tensor
Signature: (a: Tensor * b: Tensor) -> Tensor
Parameter Types:
  • a : Tensor
  • b : Tensor
Return Type: Tensor
DiffSharp.sum(dim, ?keepDim)
Full Usage:
DiffSharp.sum(dim, ?keepDim) Parameter Types:
  • dim : int
  • ?keepDim : bool

Return Type: Tensor -> Tensor
Signature: (dim: int * keepDim: bool) -> Tensor -> Tensor
Parameter Types:
  • dim : int
  • ?keepDim : bool
Return Type: Tensor -> Tensor
DiffSharp.sum(a, dim, ?keepDim)
Full Usage:
DiffSharp.sum(a, dim, ?keepDim) Parameter Types:
  • a : Tensor
  • dim : int
  • ?keepDim : bool

Return Type: Tensor
Signature: (a: Tensor * dim: int * keepDim: bool) -> Tensor
Parameter Types:
  • a : Tensor
  • dim : int
  • ?keepDim : bool
Return Type: Tensor
DiffSharp.sum a
Full Usage:
DiffSharp.sum a Parameter Types:
  • a : Tensor

Return Type: Tensor
Signature: (a: Tensor) -> Tensor
Parameter Types:
  • a : Tensor
Return Type: Tensor
DiffSharp.tan a
Full Usage:
DiffSharp.tan a Parameter Types:
  • a : Tensor

Return Type: Tensor
Signature: (a: Tensor) -> Tensor
Parameter Types:
  • a : Tensor
Return Type: Tensor
DiffSharp.tanh a
Full Usage:
DiffSharp.tanh a Parameter Types:
  • a : Tensor

Return Type: Tensor
Signature: (a: Tensor) -> Tensor
Parameter Types:
  • a : Tensor
Return Type: Tensor
DiffSharp.tensor(value, ?dtype, ?device, ?backend)
Full Usage:
DiffSharp.tensor(value, ?dtype, ?device, ?backend) Parameter Types:
  • value : obj
  • ?dtype : Dtype
  • ?device : Device
  • ?backend : Backend

Return Type: Tensor
Signature: (value: obj * dtype: Dtype * device: Device * backend: Backend) -> Tensor
Parameter Types:
  • value : obj
  • ?dtype : Dtype
  • ?device : Device
  • ?backend : Backend
Return Type: Tensor
DiffSharp.trace a
Full Usage:
DiffSharp.trace a Parameter Types:
  • a : Tensor

Return Type: Tensor
Signature: (a: Tensor) -> Tensor
Parameter Types:
  • a : Tensor
Return Type: Tensor
DiffSharp.transpose a
Full Usage:
DiffSharp.transpose a Parameter Types:
  • a : Tensor

Return Type: Tensor
Signature: (a: Tensor) -> Tensor
Parameter Types:
  • a : Tensor
Return Type: Tensor
DiffSharp.transpose(dim0, dim1)
Full Usage:
DiffSharp.transpose(dim0, dim1) Parameter Types:
  • dim0 : int
  • dim1 : int

Return Type: Tensor -> Tensor
Signature: (dim0: int * dim1: int) -> Tensor -> Tensor
Parameter Types:
  • dim0 : int
  • dim1 : int
Return Type: Tensor -> Tensor
DiffSharp.transpose(a, dim0, dim1)
Full Usage:
DiffSharp.transpose(a, dim0, dim1) Parameter Types:
  • a : Tensor
  • dim0 : int
  • dim1 : int

Return Type: Tensor
Signature: (a: Tensor * dim0: int * dim1: int) -> Tensor
Parameter Types:
  • a : Tensor
  • dim0 : int
  • dim1 : int
Return Type: Tensor
DiffSharp.undilate dilations
Full Usage:
DiffSharp.undilate dilations Parameter Types:
  • dilations : seq<int>

Return Type: Tensor -> Tensor
Signature: (dilations: seq<int>) -> Tensor -> Tensor
Parameter Types:
  • dilations : seq<int>
Return Type: Tensor -> Tensor
DiffSharp.undilate(a, dilations)
Full Usage:
DiffSharp.undilate(a, dilations) Parameter Types:
  • a : Tensor
  • dilations : seq<int>

Return Type: Tensor
Signature: (a: Tensor * dilations: seq<int>) -> Tensor
Parameter Types:
  • a : Tensor
  • dilations : seq<int>
Return Type: Tensor
DiffSharp.unsqueeze dim
Full Usage:
DiffSharp.unsqueeze dim Parameter Types:
  • dim : int

Return Type: Tensor -> Tensor
Signature: (dim: int) -> Tensor -> Tensor
Parameter Types:
  • dim : int
Return Type: Tensor -> Tensor
DiffSharp.unsqueeze(a, dim)
Full Usage:
DiffSharp.unsqueeze(a, dim) Parameter Types:
  • a : Tensor
  • dim : int

Return Type: Tensor
Signature: (a: Tensor * dim: int) -> Tensor
Parameter Types:
  • a : Tensor
  • dim : int
Return Type: Tensor
DiffSharp.unstack dim
Full Usage:
DiffSharp.unstack dim Parameter Types:
  • dim : int

Return Type: Tensor -> Tensor []
Signature: (dim: int) -> Tensor -> Tensor []
Parameter Types:
  • dim : int
Return Type: Tensor -> Tensor []
DiffSharp.unstack(a, ?dim)
Full Usage:
DiffSharp.unstack(a, ?dim) Parameter Types:
  • a : Tensor
  • ?dim : int

Return Type: Tensor []
Signature: (a: Tensor * dim: int) -> Tensor []
Parameter Types:
  • a : Tensor
  • ?dim : int
Return Type: Tensor []
DiffSharp.variance(dim, ?keepDim, ?unbiased)
Full Usage:
DiffSharp.variance(dim, ?keepDim, ?unbiased) Parameter Types:
  • dim : int
  • ?keepDim : bool
  • ?unbiased : bool

Return Type: Tensor -> Tensor
Signature: (dim: int * keepDim: bool * unbiased: bool) -> Tensor -> Tensor
Parameter Types:
  • dim : int
  • ?keepDim : bool
  • ?unbiased : bool
Return Type: Tensor -> Tensor
DiffSharp.variance(a, dim, ?keepDim, ?unbiased)
Full Usage:
DiffSharp.variance(a, dim, ?keepDim, ?unbiased) Parameter Types:
  • a : Tensor
  • dim : int
  • ?keepDim : bool
  • ?unbiased : bool

Return Type: Tensor
Signature: (a: Tensor * dim: int * keepDim: bool * unbiased: bool) -> Tensor
Parameter Types:
  • a : Tensor
  • dim : int
  • ?keepDim : bool
  • ?unbiased : bool
Return Type: Tensor
DiffSharp.variance(a, ?unbiased)
Full Usage:
DiffSharp.variance(a, ?unbiased) Parameter Types:
  • a : Tensor
  • ?unbiased : bool

Return Type: Tensor
Signature: (a: Tensor * unbiased: bool) -> Tensor
Parameter Types:
  • a : Tensor
  • ?unbiased : bool
Return Type: Tensor
DiffSharp.view shape
Full Usage:
DiffSharp.view shape Parameter Types:
  • shape : int

Return Type: Tensor -> Tensor
Signature: (shape: int) -> Tensor -> Tensor
Parameter Types:
  • shape : int
Return Type: Tensor -> Tensor
DiffSharp.view(a, shape)
Full Usage:
DiffSharp.view(a, shape) Parameter Types:
  • a : Tensor
  • shape : int

Return Type: Tensor
Signature: (a: Tensor * shape: int) -> Tensor
Parameter Types:
  • a : Tensor
  • shape : int
Return Type: Tensor
DiffSharp.view shape
Full Usage:
DiffSharp.view shape Parameter Types:
  • shape : seq<int>

Return Type: Tensor -> Tensor
Signature: (shape: seq<int>) -> Tensor -> Tensor
Parameter Types:
  • shape : seq<int>
Return Type: Tensor -> Tensor
DiffSharp.view(a, shape)
Full Usage:
DiffSharp.view(a, shape) Parameter Types:
  • a : Tensor
  • shape : seq<int>

Return Type: Tensor
Signature: (a: Tensor * shape: seq<int>) -> Tensor
Parameter Types:
  • a : Tensor
  • shape : seq<int>
Return Type: Tensor
DiffSharp.viewAs b
Full Usage:
DiffSharp.viewAs b Parameter Types:
  • b : Tensor

Return Type: Tensor -> Tensor
Signature: (b: Tensor) -> Tensor -> Tensor
Parameter Types:
  • b : Tensor
Return Type: Tensor -> Tensor
DiffSharp.viewAs(a, b)
Full Usage:
DiffSharp.viewAs(a, b) Parameter Types:
  • a : Tensor
  • b : Tensor

Return Type: Tensor
Signature: (a: Tensor * b: Tensor) -> Tensor
Parameter Types:
  • a : Tensor
  • b : Tensor
Return Type: Tensor
DiffSharp.vjp f x v
Full Usage:
DiffSharp.vjp f x v Parameter Types:
  • f : Tensor -> Tensor
  • x : Tensor
  • v : Tensor

Return Type: Tensor
Signature: (f: (Tensor -> Tensor)) -> (x: Tensor) -> (v: Tensor) -> Tensor
Parameter Types:
  • f : Tensor -> Tensor
  • x : Tensor
  • v : Tensor
Return Type: Tensor
DiffSharp.zero(?dtype, ?device, ?backend)
Full Usage:
DiffSharp.zero(?dtype, ?device, ?backend) Parameter Types:
  • ?dtype : Dtype
  • ?device : Device
  • ?backend : Backend

Return Type: Tensor
Signature: (dtype: Dtype * device: Device * backend: Backend) -> Tensor
Parameter Types:
  • ?dtype : Dtype
  • ?device : Device
  • ?backend : Backend
Return Type: Tensor
DiffSharp.zeroCreate count
Full Usage:
DiffSharp.zeroCreate count Parameter Types:
  • count : int

Return Type: Tensor
Signature: (count: int) -> Tensor
Parameter Types:
  • count : int
Return Type: Tensor
DiffSharp.zeroLike(a, ?dtype, ?device, ?backend)
Full Usage:
DiffSharp.zeroLike(a, ?dtype, ?device, ?backend) Parameter Types:
  • a : Tensor
  • ?dtype : Dtype
  • ?device : Device
  • ?backend : Backend

Return Type: Tensor
Signature: (a: Tensor * dtype: Dtype * device: Device * backend: Backend) -> Tensor
Parameter Types:
  • a : Tensor
  • ?dtype : Dtype
  • ?device : Device
  • ?backend : Backend
Return Type: Tensor
DiffSharp.zeros(length, ?dtype, ?device, ?backend)
Full Usage:
DiffSharp.zeros(length, ?dtype, ?device, ?backend) Parameter Types:
  • length : int
  • ?dtype : Dtype
  • ?device : Device
  • ?backend : Backend

Return Type: Tensor
Signature: (length: int * dtype: Dtype * device: Device * backend: Backend) -> Tensor
Parameter Types:
  • length : int
  • ?dtype : Dtype
  • ?device : Device
  • ?backend : Backend
Return Type: Tensor
DiffSharp.zeros(shape, ?dtype, ?device, ?backend)
Full Usage:
DiffSharp.zeros(shape, ?dtype, ?device, ?backend) Parameter Types:
  • shape : seq<int>
  • ?dtype : Dtype
  • ?device : Device
  • ?backend : Backend

Return Type: Tensor
Signature: (shape: seq<int> * dtype: Dtype * device: Device * backend: Backend) -> Tensor
Parameter Types:
  • shape : seq<int>
  • ?dtype : Dtype
  • ?device : Device
  • ?backend : Backend
Return Type: Tensor
DiffSharp.zerosLike(shape, ?dtype, ?device, ?backend)
Full Usage:
DiffSharp.zerosLike(shape, ?dtype, ?device, ?backend) Parameter Types:
  • shape : seq<int>
  • ?dtype : Dtype
  • ?device : Device
  • ?backend : Backend

Return Type: Tensor -> Tensor
Signature: (shape: seq<int> * dtype: Dtype * device: Device * backend: Backend) -> Tensor -> Tensor
Parameter Types:
  • shape : seq<int>
  • ?dtype : Dtype
  • ?device : Device
  • ?backend : Backend
Return Type: Tensor -> Tensor
DiffSharp.zerosLike(a, ?shape, ?dtype, ?device, ?backend)
Full Usage:
DiffSharp.zerosLike(a, ?shape, ?dtype, ?device, ?backend) Parameter Types:
  • a : Tensor
  • ?shape : seq<int>
  • ?dtype : Dtype
  • ?device : Device
  • ?backend : Backend

Return Type: Tensor
Signature: (a: Tensor * shape: seq<int> * dtype: Dtype * device: Device * backend: Backend) -> Tensor
Parameter Types:
  • a : Tensor
  • ?shape : seq<int>
  • ?dtype : Dtype
  • ?device : Device
  • ?backend : Backend
Return Type: Tensor