docs.unity3d.com
    Show / Hide Table of Contents

    Class CPUOps

    Inheritance
    Object
    Ops
    CPUOps
    Inherited Members
    Ops.backendType
    Ops.Dispose()
    Ops.Add(TensorFloat, Single)
    Ops.Add(Single, TensorFloat)
    Ops.Sub(TensorFloat, Single)
    Ops.Sub(Single, TensorFloat)
    Ops.Mul(TensorFloat, Single)
    Ops.Mul(Single, TensorFloat)
    Ops.Div(TensorFloat, Single)
    Ops.Set(Tensor, Tensor, Int32, Int32, Int32)
    Ops.MatMul2D(TensorFloat, Boolean, TensorFloat, Boolean)
    Ops.MatMul(TensorFloat, TensorFloat)
    Ops.Dense(TensorFloat, TensorFloat, TensorFloat, FusableActivation)
    Ops.Tril(Tensor, Int32)
    Ops.Triu(Tensor, Int32)
    Ops.Conv(TensorFloat, TensorFloat, TensorFloat, Int32, Int32[], Int32[], Int32[], FusableActivation)
    Ops.Conv2DTrans(TensorFloat, TensorFloat, TensorFloat, Int32[], Int32[], Int32[], FusableActivation)
    Ops.Resize(TensorFloat, ReadOnlySpan<Single>, InterpolationMode, NearestMode, CoordTransformMode)
    Ops.DepthToSpace(TensorFloat, Int32, DepthToSpaceMode)
    Ops.SpaceToDepth(TensorFloat, Int32)
    Ops.MaxPool(TensorFloat, Int32[], Int32[], Int32[])
    Ops.AveragePool(TensorFloat, Int32[], Int32[], Int32[])
    Ops.GlobalMaxPool(TensorFloat)
    Ops.GlobalAveragePool(TensorFloat)
    Ops.Pad(TensorFloat, ReadOnlySpan<Int32>, PadMode, Single)
    Ops.ScaleBias(TensorFloat, TensorFloat, TensorFloat)
    Ops.InstanceNormalization(TensorFloat, TensorFloat, TensorFloat, Single)
    Ops.AxisNormalization(TensorFloat, TensorFloat, TensorFloat, Single)
    Ops.LRN(TensorFloat, Single, Single, Single, Int32)
    Ops.RandomNormal(TensorShape, Single, Single, Nullable<Single>)
    Ops.RandomUniform(TensorShape, Single, Single, Nullable<Single>)
    Ops.Multinomial(TensorFloat, Int32, Nullable<Single>)
    Ops.OneHot(TensorInt, Int32, Int32, Int32, Int32)
    Ops.RoiAlign(TensorFloat, TensorFloat, TensorInt, RoiPoolingMode, Int32, Int32, Int32, Single)
    Ops.NonZero(TensorFloat)
    Ops.NonZero(TensorInt)
    Ops.Range(Single, Single, Single)
    Ops.Range(Int32, Int32, Int32)
    Ops.Bernoulli(TensorFloat, DataType, Nullable<Single>)
    Ops.Relu(TensorFloat)
    Ops.Softmax(TensorFloat, Int32)
    Ops.LogSoftmax(TensorFloat, Int32)
    Ops.Hardmax(TensorFloat, Int32)
    Ops.CumSum(TensorFloat, Int32, Boolean, Boolean)
    Ops.CumSum(TensorInt, Int32, Boolean, Boolean)
    Ops.Tanh(TensorFloat)
    Ops.Softplus(TensorFloat)
    Ops.Sigmoid(TensorFloat)
    Ops.HardSigmoid(TensorFloat, Single, Single)
    Ops.Elu(TensorFloat, Single)
    Ops.Gelu(TensorFloat)
    Ops.Relu6(TensorFloat)
    Ops.LeakyRelu(TensorFloat, Single)
    Ops.Selu(TensorFloat, Single, Single)
    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, Single, Single)
    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, Single)
    Ops.HardSwish(TensorFloat)
    Ops.Shrink(TensorFloat, Single, Single)
    Ops.Softsign(TensorFloat)
    Ops.ThresholdedRelu(TensorFloat, Single)
    Ops.Sum(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(TensorFloat[])
    Ops.Min(TensorInt[])
    Ops.Max(TensorFloat[])
    Ops.Max(TensorInt[])
    Ops.Mean(TensorFloat[])
    Ops.ReduceMax(TensorFloat, ReadOnlySpan<Int32>, Boolean)
    Ops.ReduceMax(TensorInt, ReadOnlySpan<Int32>, Boolean)
    Ops.ReduceMean(TensorFloat, ReadOnlySpan<Int32>, Boolean)
    Ops.ReduceMin(TensorFloat, ReadOnlySpan<Int32>, Boolean)
    Ops.ReduceMin(TensorInt, ReadOnlySpan<Int32>, Boolean)
    Ops.ReduceProd(TensorFloat, ReadOnlySpan<Int32>, Boolean)
    Ops.ReduceProd(TensorInt, ReadOnlySpan<Int32>, Boolean)
    Ops.ReduceSum(TensorFloat, ReadOnlySpan<Int32>, Boolean)
    Ops.ReduceSum(TensorInt, ReadOnlySpan<Int32>, Boolean)
    Ops.ReduceSumSquare(TensorFloat, ReadOnlySpan<Int32>, Boolean)
    Ops.ReduceSumSquare(TensorInt, ReadOnlySpan<Int32>, Boolean)
    Ops.ReduceL1(TensorFloat, ReadOnlySpan<Int32>, Boolean)
    Ops.ReduceL1(TensorInt, ReadOnlySpan<Int32>, Boolean)
    Ops.ReduceL2(TensorFloat, ReadOnlySpan<Int32>, Boolean)
    Ops.ReduceLogSum(TensorFloat, ReadOnlySpan<Int32>, Boolean)
    Ops.ReduceLogSumExp(TensorFloat, ReadOnlySpan<Int32>, Boolean)
    Ops.ArgMax(TensorFloat, Int32, Boolean, Boolean)
    Ops.ArgMax(TensorInt, Int32, Boolean, Boolean)
    Ops.ArgMin(TensorFloat, Int32, Boolean, Boolean)
    Ops.ArgMin(TensorInt, Int32, Boolean, Boolean)
    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, Boolean, Boolean)
    Ops.Where(TensorInt, Tensor, Tensor)
    Ops.Reshape(Tensor, TensorShape)
    Ops.Expand(Tensor, TensorShape)
    Ops.Transpose(Tensor)
    Ops.Transpose(Tensor, Int32[])
    Ops.Concat(Tensor[], Int32)
    Ops.Split(Tensor, Int32, Int32, Int32)
    Ops.Slice(Tensor, ReadOnlySpan<Int32>, ReadOnlySpan<Int32>, ReadOnlySpan<Int32>, ReadOnlySpan<Int32>)
    Ops.Tile(Tensor, ReadOnlySpan<Int32>)
    Ops.Compress(Tensor, TensorInt, Int32)
    Ops.Gather(Tensor, TensorInt, Int32)
    Ops.GatherElements(Tensor, TensorInt, Int32)
    Ops.GatherND(Tensor, TensorInt, Int32)
    Ops.ScatterElements(Tensor, TensorInt, Tensor, Int32, ScatterReductionMode)
    Ops.ScatterND(TensorFloat, TensorInt, TensorFloat, ScatterReductionMode)
    Ops.ScatterND(TensorInt, TensorInt, TensorInt, ScatterReductionMode)
    Ops.LSTM(TensorFloat, TensorFloat, TensorFloat, TensorFloat, TensorInt, TensorFloat, TensorFloat, TensorFloat, RnnDirection, RnnActivation[], Single[], Single[], Boolean, Single, RnnLayout)
    Ops.TopK(TensorFloat, Int32, Int32, Boolean, Boolean)
    Ops.Einsum(String, TensorFloat[])
    Ops.NonMaxSuppression(TensorFloat, TensorFloat, Int32, Single, Single, CenterPointBox)
    Ops.Shape(Tensor, Int32, Int32)
    Ops.Size(TensorShape)
    Ops.ConstantOfShape(TensorShape, Single)
    Ops.ConstantOfShape(TensorShape, Int32)
    Ops.Copy(Tensor)
    Ops.Cast(Tensor, DataType)
    Object.ToString()
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Namespace: Unity.Sentis
    Syntax
    public class CPUOps : Ops, IDisposable

    Constructors

    CPUOps(ITensorAllocator)

    Declaration
    public CPUOps(ITensorAllocator allocator = null)
    Parameters
    Type Name Description
    ITensorAllocator allocator
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023