docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class CPUOps

    Represents an Ops object that runs on the CPU backend.

    Inheritance
    object
    Ops
    CPUOps
    Implements
    IDisposable
    Inherited Members
    Ops.backendType
    Ops.Dispose()
    Ops.Add(TensorFloat, float)
    Ops.Add(float, TensorFloat)
    Ops.Sub(TensorFloat, float)
    Ops.Sub(float, TensorFloat)
    Ops.Mul(TensorFloat, float)
    Ops.Mul(float, TensorFloat)
    Ops.Div(TensorFloat, float)
    Ops.Mad(TensorFloat, float, float)
    Ops.Set<T>(T, T, int, int, int)
    Ops.MatMul2D(TensorFloat, TensorFloat, bool, bool)
    Ops.MatMul(TensorFloat, TensorFloat)
    Ops.Dense(TensorFloat, TensorFloat, TensorFloat)
    Ops.Tril<T>(T, int)
    Ops.Triu<T>(T, int)
    Ops.Conv(TensorFloat, TensorFloat, TensorFloat, int, int[], int[], int[])
    Ops.ConvTranspose(TensorFloat, TensorFloat, TensorFloat, int[], int[], int[])
    Ops.Resize(TensorFloat, ReadOnlySpan<float>, InterpolationMode, NearestMode, CoordTransformMode)
    Ops.DepthToSpace(TensorFloat, int, DepthToSpaceMode)
    Ops.SpaceToDepth(TensorFloat, int)
    Ops.MaxPool(TensorFloat, int[], int[], int[])
    Ops.AveragePool(TensorFloat, int[], int[], int[])
    Ops.GlobalMaxPool(TensorFloat)
    Ops.GlobalAveragePool(TensorFloat)
    Ops.Pad(TensorFloat, ReadOnlySpan<int>, PadMode, float)
    Ops.ScaleBias(TensorFloat, TensorFloat, TensorFloat)
    Ops.InstanceNormalization(TensorFloat, TensorFloat, TensorFloat, float)
    Ops.LayerNormalization(TensorFloat, TensorFloat, TensorFloat, float)
    Ops.LRN(TensorFloat, float, float, float, int)
    Ops.RandomNormal(TensorShape, float, float, float?)
    Ops.RandomUniform(TensorShape, float, float, float?)
    Ops.OneHot(TensorInt, int, int, int, int)
    Ops.RoiAlign(TensorFloat, TensorFloat, TensorInt, RoiPoolingMode, int, int, int, float)
    Ops.Range(float, float, float)
    Ops.Range(int, int, int)
    Ops.Bernoulli(TensorFloat, DataType, float?)
    Ops.Relu(TensorFloat)
    Ops.Softmax(TensorFloat, int)
    Ops.LogSoftmax(TensorFloat, int)
    Ops.Hardmax(TensorFloat, int)
    Ops.CumSum(TensorFloat, int, bool, bool)
    Ops.CumSum(TensorInt, int, bool, bool)
    Ops.Tanh(TensorFloat)
    Ops.Softplus(TensorFloat)
    Ops.Sigmoid(TensorFloat)
    Ops.HardSigmoid(TensorFloat, float, float)
    Ops.Elu(TensorFloat, float)
    Ops.Gelu(TensorFloat)
    Ops.Relu6(TensorFloat)
    Ops.LeakyRelu(TensorFloat, float)
    Ops.Selu(TensorFloat, float, float)
    Ops.PRelu(TensorFloat, TensorFloat)
    Ops.Swish(TensorFloat)
    Ops.Abs(TensorFloat)
    Ops.Abs(TensorInt)
    Ops.Neg(TensorFloat)
    Ops.Neg(TensorInt)
    Ops.Ceil(TensorFloat)
    Ops.Clip(TensorFloat, float, float)
    Ops.Clip(TensorInt, int, int)
    Ops.Floor(TensorFloat)
    Ops.Round(TensorFloat)
    Ops.Reciprocal(TensorFloat)
    Ops.Square(TensorFloat)
    Ops.Exp(TensorFloat)
    Ops.Log(TensorFloat)
    Ops.Sqrt(TensorFloat)
    Ops.Acos(TensorFloat)
    Ops.Acosh(TensorFloat)
    Ops.Asin(TensorFloat)
    Ops.Asinh(TensorFloat)
    Ops.Atan(TensorFloat)
    Ops.Atanh(TensorFloat)
    Ops.Cos(TensorFloat)
    Ops.Cosh(TensorFloat)
    Ops.Sin(TensorFloat)
    Ops.Sinh(TensorFloat)
    Ops.Tan(TensorFloat)
    Ops.Erf(TensorFloat)
    Ops.Celu(TensorFloat, float)
    Ops.HardSwish(TensorFloat)
    Ops.Shrink(TensorFloat, float, float)
    Ops.Softsign(TensorFloat)
    Ops.ThresholdedRelu(TensorFloat, float)
    Ops.Sum(params TensorFloat[])
    Ops.Add(TensorFloat, TensorFloat)
    Ops.Add(TensorInt, TensorInt)
    Ops.Sub(TensorFloat, TensorFloat)
    Ops.Sub(TensorInt, TensorInt)
    Ops.Mul(TensorFloat, TensorFloat)
    Ops.Mul(TensorInt, TensorInt)
    Ops.Div(TensorFloat, TensorFloat)
    Ops.Div(TensorInt, TensorInt)
    Ops.Mod(TensorInt, TensorInt)
    Ops.FMod(TensorInt, TensorInt)
    Ops.FMod(TensorFloat, TensorFloat)
    Ops.Pow(TensorFloat, TensorFloat)
    Ops.Pow(TensorFloat, TensorInt)
    Ops.Min(params TensorFloat[])
    Ops.Min(params TensorInt[])
    Ops.Max(params TensorFloat[])
    Ops.Max(params TensorInt[])
    Ops.Mean(params TensorFloat[])
    Ops.ReduceMax(TensorFloat, ReadOnlySpan<int>, bool)
    Ops.ReduceMax(TensorInt, ReadOnlySpan<int>, bool)
    Ops.ReduceMean(TensorFloat, ReadOnlySpan<int>, bool)
    Ops.ReduceMin(TensorFloat, ReadOnlySpan<int>, bool)
    Ops.ReduceMin(TensorInt, ReadOnlySpan<int>, bool)
    Ops.ReduceProd(TensorFloat, ReadOnlySpan<int>, bool)
    Ops.ReduceProd(TensorInt, ReadOnlySpan<int>, bool)
    Ops.ReduceSum(TensorFloat, ReadOnlySpan<int>, bool)
    Ops.ReduceSum(TensorInt, ReadOnlySpan<int>, bool)
    Ops.ReduceSumSquare(TensorFloat, ReadOnlySpan<int>, bool)
    Ops.ReduceSumSquare(TensorInt, ReadOnlySpan<int>, bool)
    Ops.ReduceL1(TensorFloat, ReadOnlySpan<int>, bool)
    Ops.ReduceL1(TensorInt, ReadOnlySpan<int>, bool)
    Ops.ReduceL2(TensorFloat, ReadOnlySpan<int>, bool)
    Ops.ReduceLogSum(TensorFloat, ReadOnlySpan<int>, bool)
    Ops.ReduceLogSumExp(TensorFloat, ReadOnlySpan<int>, bool)
    Ops.ArgMax(TensorFloat, int, bool, bool)
    Ops.ArgMax(TensorInt, int, bool, bool)
    Ops.ArgMin(TensorFloat, int, bool, bool)
    Ops.ArgMin(TensorInt, int, bool, bool)
    Ops.Greater(TensorFloat, TensorFloat)
    Ops.Greater(TensorInt, TensorInt)
    Ops.GreaterOrEqual(TensorFloat, TensorFloat)
    Ops.GreaterOrEqual(TensorInt, TensorInt)
    Ops.Less(TensorFloat, TensorFloat)
    Ops.Less(TensorInt, TensorInt)
    Ops.LessOrEqual(TensorFloat, TensorFloat)
    Ops.LessOrEqual(TensorInt, TensorInt)
    Ops.Equal(TensorFloat, TensorFloat)
    Ops.Equal(TensorInt, TensorInt)
    Ops.Or(TensorInt, TensorInt)
    Ops.And(TensorInt, TensorInt)
    Ops.Xor(TensorInt, TensorInt)
    Ops.Not(TensorInt)
    Ops.Sign(TensorFloat)
    Ops.Sign(TensorInt)
    Ops.IsNaN(TensorFloat)
    Ops.IsInf(TensorFloat, bool, bool)
    Ops.Where<T>(TensorInt, T, T)
    Ops.Reshape<T>(T, TensorShape)
    Ops.Expand<T>(T, TensorShape)
    Ops.Transpose<T>(T)
    Ops.Transpose<T>(T, int[])
    Ops.Concat(Tensor[], int)
    Ops.Split<T>(T, int, int, int)
    Ops.Slice<T>(T, ReadOnlySpan<int>, ReadOnlySpan<int>, ReadOnlySpan<int>, ReadOnlySpan<int>)
    Ops.Tile<T>(T, ReadOnlySpan<int>)
    Ops.Gather<T>(T, TensorInt, int)
    Ops.GatherElements<T>(T, TensorInt, int)
    Ops.GatherND<T>(T, TensorInt, int)
    Ops.ScatterElements<T>(T, TensorInt, T, int, ScatterReductionMode)
    Ops.ScatterND(TensorFloat, TensorInt, TensorFloat, ScatterReductionMode)
    Ops.ScatterND(TensorInt, TensorInt, TensorInt, ScatterReductionMode)
    Ops.TopK(TensorFloat, int, int, bool, bool)
    Ops.ConstantOfShape(TensorShape, float)
    Ops.ConstantOfShape(TensorShape, int)
    Ops.Copy<T>(T)
    Ops.Cast(Tensor, DataType)
    Ops.Multinomial(TensorFloat, int, float?)
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    Namespace: Unity.Sentis
    Assembly: solution.dll
    Syntax
    public class CPUOps : Ops, IDisposable

    Constructors

    Name Description
    CPUOps(ITensorAllocator)

    Instantiates and returns a CPUOps object.

    In This Article
    Back to top
    Copyright © 2024 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)