Class ComputeKernelLibrary
Inheritance
ComputeKernelLibrary
Syntax
public sealed class ComputeKernelLibrary
Methods
Activation(TensorShape, TensorShape, String)
Declaration
public static ComputeKernelLibrary.Entry[] Activation(TensorShape X, TensorShape O, string kernelName)
Parameters
Returns
Broadcast(TensorShape, TensorShape, String)
Declaration
public static ComputeKernelLibrary.Entry[] Broadcast(TensorShape X, TensorShape O, string kernelName)
Parameters
Returns
Conv2D(TensorShape, TensorShape, TensorShape, Int32[], Int32[])
Declaration
public static ComputeKernelLibrary.Entry[] Conv2D(TensorShape X, TensorShape K, TensorShape O, int[] stride, int[] pad)
Parameters
Returns
Conv2DTrans(TensorShape, TensorShape, TensorShape)
Declaration
public static ComputeKernelLibrary.Entry[] Conv2DTrans(TensorShape X, TensorShape K, TensorShape O)
Parameters
Returns
Copy(TensorShape, TensorShape)
Declaration
public static ComputeKernelLibrary.Entry[] Copy(TensorShape X, TensorShape O)
Parameters
Returns
Dense(TensorShape, TensorShape, TensorShape, Int32)
Declaration
public static ComputeKernelLibrary.Entry[] Dense(TensorShape X, TensorShape W, TensorShape O, int type)
Parameters
Returns
DepthwiseConv2D(TensorShape, TensorShape, TensorShape)
Declaration
public static ComputeKernelLibrary.Entry[] DepthwiseConv2D(TensorShape X, TensorShape K, TensorShape O)
Parameters
Returns
GlobalPool2D(TensorShape, TensorShape, String)
Declaration
public static ComputeKernelLibrary.Entry[] GlobalPool2D(TensorShape X, TensorShape O, string kernelName)
Parameters
Returns
IDivC(Int32, Int32)
Declaration
public static int IDivC(int v, int div)
Parameters
Returns
LogSoftmax(TensorShape, TensorShape)
Declaration
public static ComputeKernelLibrary.Entry[] LogSoftmax(TensorShape X, TensorShape O)
Parameters
Returns
Normalization(TensorShape, TensorShape)
Declaration
public static ComputeKernelLibrary.Entry[] Normalization(TensorShape X, TensorShape O)
Parameters
Returns
NormalizationTail(TensorShape, TensorShape)
Declaration
public static ComputeKernelLibrary.Entry[] NormalizationTail(TensorShape X, TensorShape O)
Parameters
Returns
Padding(TensorShape, TensorShape, String)
Declaration
public static ComputeKernelLibrary.Entry[] Padding(TensorShape X, TensorShape O, string kernelName)
Parameters
Returns
Pool2D(TensorShape, TensorShape, String)
Declaration
public static ComputeKernelLibrary.Entry[] Pool2D(TensorShape X, TensorShape O, string kernelName)
Parameters
Returns
PRelu(TensorShape, TensorShape)
Declaration
public static ComputeKernelLibrary.Entry[] PRelu(TensorShape X, TensorShape O)
Parameters
Returns
ScaleBias(TensorShape, TensorShape)
Declaration
public static ComputeKernelLibrary.Entry[] ScaleBias(TensorShape X, TensorShape O)
Parameters
Returns
Softmax(TensorShape, TensorShape)
Declaration
public static ComputeKernelLibrary.Entry[] Softmax(TensorShape X, TensorShape O)
Parameters
Returns
Upsample2D(TensorShape, TensorShape)
Declaration
public static ComputeKernelLibrary.Entry[] Upsample2D(TensorShape X, TensorShape O)
Parameters
Returns