Class BurstCPUOps
Syntax
public class BurstCPUOps : UnsafeArrayCPUOps, IOps
Constructors
BurstCPUOps(ITensorAllocator)
Declaration
public BurstCPUOps(ITensorAllocator allocator = null)
Parameters
Methods
Abs(Tensor)
Declaration
public override Tensor Abs(Tensor X)
Parameters
Type |
Name |
Description |
Tensor |
X |
|
Returns
Overrides
Add(Tensor[])
Declaration
public override Tensor Add(Tensor[] tensors)
Parameters
Type |
Name |
Description |
Tensor[] |
tensors |
|
Returns
Overrides
AvgPool2D(Tensor, Int32[], Int32[], Int32[])
Declaration
public override Tensor AvgPool2D(Tensor X, int[] pool, int[] stride, int[] pad)
Parameters
Returns
Overrides
Ceil(Tensor)
Declaration
public override Tensor Ceil(Tensor X)
Parameters
Type |
Name |
Description |
Tensor |
X |
|
Returns
Overrides
Clip(Tensor, Single, Single)
Declaration
public override Tensor Clip(Tensor X, float min, float max)
Parameters
Returns
Overrides
Conv2D(Tensor, Tensor, Tensor, Int32[], Int32[], Layer.FusedActivation)
Declaration
public override Tensor Conv2D(Tensor X, Tensor K, Tensor B, int[] stride, int[] pad, Layer.FusedActivation fusedActivation)
Parameters
Returns
Overrides
CopyAndReshape(Tensor, TensorShape)
Declaration
protected override Tensor CopyAndReshape(Tensor X, TensorShape shape)
Parameters
Returns
Overrides
Dense(Tensor, Tensor, Tensor, Layer.FusedActivation)
Declaration
public override Tensor Dense(Tensor X, Tensor W, Tensor B, Layer.FusedActivation fusedActivation)
Parameters
Returns
Overrides
DepthwiseConv2D(Tensor, Tensor, Tensor, Int32[], Int32[], Layer.FusedActivation)
Declaration
public override Tensor DepthwiseConv2D(Tensor X, Tensor K, Tensor B, int[] stride, int[] pad, Layer.FusedActivation fusedActivation)
Parameters
Returns
Overrides
Div(Tensor[])
Declaration
public override Tensor Div(Tensor[] tensors)
Parameters
Type |
Name |
Description |
Tensor[] |
tensors |
|
Returns
Overrides
Elu(Tensor, Single)
Declaration
public override Tensor Elu(Tensor X, float alpha)
Parameters
Returns
Overrides
Exp(Tensor)
Declaration
public override Tensor Exp(Tensor X)
Parameters
Type |
Name |
Description |
Tensor |
X |
|
Returns
Overrides
Floor(Tensor)
Declaration
public override Tensor Floor(Tensor X)
Parameters
Type |
Name |
Description |
Tensor |
X |
|
Returns
Overrides
GenericBroadcast(Tensor, TensorShape)
Declaration
protected virtual Tensor GenericBroadcast(Tensor X, TensorShape broadcastShape)
Parameters
Returns
GlobalAvgPool2D(Tensor)
Declaration
public override Tensor GlobalAvgPool2D(Tensor X)
Parameters
Type |
Name |
Description |
Tensor |
X |
|
Returns
Overrides
GlobalMaxPool2D(Tensor)
Declaration
public override Tensor GlobalMaxPool2D(Tensor X)
Parameters
Type |
Name |
Description |
Tensor |
X |
|
Returns
Overrides
LeakyRelu(Tensor, Single)
Declaration
public override Tensor LeakyRelu(Tensor X, float alpha)
Parameters
Returns
Overrides
Log(Tensor)
Declaration
public override Tensor Log(Tensor X)
Parameters
Type |
Name |
Description |
Tensor |
X |
|
Returns
Overrides
LogSoftmax(Tensor)
Declaration
public override Tensor LogSoftmax(Tensor X)
Parameters
Type |
Name |
Description |
Tensor |
X |
|
Returns
Overrides
MatMul(Tensor, Boolean, Tensor, Boolean)
Declaration
public override Tensor MatMul(Tensor X, bool xTranspose, Tensor Y, bool yTranspose)
Parameters
Returns
Overrides
Max(Tensor[])
Declaration
public override Tensor Max(Tensor[] tensors)
Parameters
Type |
Name |
Description |
Tensor[] |
tensors |
|
Returns
Overrides
MaxPool2D(Tensor, Int32[], Int32[], Int32[])
Declaration
public override Tensor MaxPool2D(Tensor X, int[] pool, int[] stride, int[] pad)
Parameters
Returns
Overrides
Min(Tensor[])
Declaration
public override Tensor Min(Tensor[] tensors)
Parameters
Type |
Name |
Description |
Tensor[] |
tensors |
|
Returns
Overrides
Mul(Tensor[])
Declaration
public override Tensor Mul(Tensor[] tensors)
Parameters
Type |
Name |
Description |
Tensor[] |
tensors |
|
Returns
Overrides
Neg(Tensor)
Declaration
public override Tensor Neg(Tensor X)
Parameters
Type |
Name |
Description |
Tensor |
X |
|
Returns
Overrides
Pin(Tensor)
Declaration
public static BurstTensorData Pin(Tensor X)
Parameters
Type |
Name |
Description |
Tensor |
X |
|
Returns
Pow(Tensor, Single)
Declaration
public override Tensor Pow(Tensor X, float alpha)
Parameters
Returns
Overrides
Pow(Tensor[])
Declaration
public override Tensor Pow(Tensor[] tensors)
Parameters
Type |
Name |
Description |
Tensor[] |
tensors |
|
Returns
Overrides
PRelu(Tensor, Tensor)
Declaration
public override Tensor PRelu(Tensor X, Tensor S)
Parameters
Returns
Overrides
Prepare(Tensor)
Declaration
public override Tensor Prepare(Tensor X)
Parameters
Type |
Name |
Description |
Tensor |
X |
|
Returns
Overrides
Reciprocal(Tensor)
Declaration
public override Tensor Reciprocal(Tensor X)
Parameters
Type |
Name |
Description |
Tensor |
X |
|
Returns
Overrides
Relu(Tensor)
Declaration
public override Tensor Relu(Tensor X)
Parameters
Type |
Name |
Description |
Tensor |
X |
|
Returns
Overrides
Relu6(Tensor)
Declaration
public override Tensor Relu6(Tensor X)
Parameters
Type |
Name |
Description |
Tensor |
X |
|
Returns
Overrides
ScaleBias(Tensor, Tensor, Tensor)
Declaration
public override Tensor ScaleBias(Tensor X, Tensor S, Tensor B)
Parameters
Returns
Overrides
Selu(Tensor, Single, Single)
Declaration
public override Tensor Selu(Tensor X, float alpha, float gamma)
Parameters
Returns
Overrides
Sigmoid(Tensor)
Declaration
public override Tensor Sigmoid(Tensor X)
Parameters
Type |
Name |
Description |
Tensor |
X |
|
Returns
Overrides
Softmax(Tensor)
Declaration
public override Tensor Softmax(Tensor X)
Parameters
Type |
Name |
Description |
Tensor |
X |
|
Returns
Overrides
Sqrt(Tensor)
Declaration
public override Tensor Sqrt(Tensor X)
Parameters
Type |
Name |
Description |
Tensor |
X |
|
Returns
Overrides
Sub(Tensor[])
Declaration
public override Tensor Sub(Tensor[] tensors)
Parameters
Type |
Name |
Description |
Tensor[] |
tensors |
|
Returns
Overrides
Swish(Tensor)
Declaration
public override Tensor Swish(Tensor X)
Parameters
Type |
Name |
Description |
Tensor |
X |
|
Returns
Overrides
Tanh(Tensor)
Declaration
public override Tensor Tanh(Tensor X)
Parameters
Type |
Name |
Description |
Tensor |
X |
|
Returns
Overrides