51 references to Create
Microsoft.ML.CpuMath (22)
AvxIntrinsics.cs (17)
139Vector256<float> signMask = Vector256.Create(-0.0f); // 0x8000 0000 285Vector256<float> x2 = Vector256.Create(pSrcCurrent[col1]); 428Vector256<float> scalarVector256 = Vector256.Create(scalar); 469Vector256<float> scaleVector256 = Vector256.Create(scale); 580Vector256<float> scaleVector256 = Vector256.Create(scale); 625Vector256<float> a256 = Vector256.Create(a); 626Vector256<float> b256 = Vector256.Create(b); 674Vector256<float> scaleVector256 = Vector256.Create(scale); 731Vector256<float> scaleVector256 = Vector256.Create(scale); 788Vector256<float> scaleVector256 = Vector256.Create(scale); 1114Vector256<float> meanVector256 = Vector256.Create(mean); 1206Vector256<float> meanVector256 = Vector256.Create(mean); 1299Vector256<float> meanVector256 = Vector256.Create(mean); 1516Vector256<float> xPrimal256 = Vector256.Create(primalUpdate); 1517Vector256<float> xThreshold256 = Vector256.Create(threshold); 1576Vector256<float> xPrimal256 = Vector256.Create(primalUpdate); 1577Vector256<float> xThreshold = Vector256.Create(threshold);
FactorizationMachine\AvxIntrinsics.cs (5)
15private static readonly Vector256<float> _point5 = Vector256.Create(0.5f); 167Vector256<float> wei = Vector256.Create(weight); 168Vector256<float> s = Vector256.Create(slope); 169Vector256<float> lr = Vector256.Create(learningRate); 170Vector256<float> lambdav = Vector256.Create(lambdaLatent);
System.Numerics.Tensors (26)
System\Numerics\Tensors\netcore\TensorPrimitives.Cbrt.cs (1)
50return ExpOperator<float>.Invoke(LogOperator<float>.Invoke(x.AsSingle()) / Vector256.Create(3f)).As<float, T>();
System\Numerics\Tensors\netcore\TensorPrimitives.ConvertHelpers.cs (1)
657value = Vector256.Min(Vector256.Create(MaxHalfValueBelowInfinity), value);
System\Numerics\Tensors\netcore\TensorPrimitives.Cosh.cs (3)
108Vector256<float> z = ExpOperator<float>.Invoke(y - Vector256.Create((float)Single_LOGV)); 109return (Vector256.Create((float)Single_HALFV) * (z + (Vector256.Create((float)Single_INVV2) / z))).As<float, T>();
System\Numerics\Tensors\netcore\TensorPrimitives.RootN.cs (1)
52return ExpOperator<float>.Invoke(LogOperator<float>.Invoke(x.AsSingle()) / Vector256.Create((float)_n)).As<float, T>();
System\Numerics\Tensors\netcore\TensorPrimitives.Round.cs (1)
281return TruncateOperator<float>.Invoke(x.AsSingle() + CopySignOperator<float>.Invoke(Vector256.Create(0.49999997f), x.AsSingle())).As<float, T>();
System\Numerics\Tensors\netcore\TensorPrimitives.Sinh.cs (3)
94Vector256<float> z = ExpOperator<float>.Invoke(y - Vector256.Create((float)Single_LOGV)); 95Vector256<float> result = Vector256.Create((float)Single_HALFV) * (z - (Vector256.Create((float)Single_INVV2) / z));
System\Numerics\Tensors\netcore\TensorPrimitives.Tan.cs (14)
171Vector256<float> dn = MultiplyAddEstimateOperator<float>.Invoke(uxMasked, Vector256.Create(2 / float.Pi), Vector256.Create(AlmHuge)); 173dn -= Vector256.Create(AlmHuge); 176f = MultiplyAddEstimateOperator<float>.Invoke(dn, Vector256.Create(-float.Pi / 2), f); 177f = MultiplyAddEstimateOperator<float>.Invoke(dn, Vector256.Create(Pi_Tail2), f); 178f = MultiplyAddEstimateOperator<float>.Invoke(dn, Vector256.Create(Pi_Tail3), f); 185Vector256<float> a1 = MultiplyAddEstimateOperator<float>.Invoke(Vector256.Create(C2), f2, Vector256.Create(C1)); 186Vector256<float> a2 = MultiplyAddEstimateOperator<float>.Invoke(Vector256.Create(C4), f2, Vector256.Create(C3)); 187Vector256<float> a3 = MultiplyAddEstimateOperator<float>.Invoke(Vector256.Create(C6), f2, Vector256.Create(C5)); 189Vector256<float> b2 = MultiplyAddEstimateOperator<float>.Invoke(f8, a3, f12 * Vector256.Create(C7)); 195Vector256.Create(-1f) / result);
System\Numerics\Tensors\netcore\TensorPrimitives.Tanh.cs (2)
99Vector256<float> z = ExpM1Operator<float>.Invoke(Vector256.Create(-2f) * y); 101return (sign ^ (-z / (z + Vector256.Create(2f))).AsUInt32()).As<uint, T>();
System.Private.CoreLib (3)
src\libraries\System.Private.CoreLib\src\System\Runtime\Intrinsics\Vector256.cs (2)
653return Fma.MultiplyAdd(upper, Create(65536.0f), lower); 657Vector256<float> result = Avx.Multiply(upper, Create(65536.0f));
src\libraries\System.Private.CoreLib\src\System\Runtime\Intrinsics\VectorMath.cs (1)
2568result = (TVector)(object)Vector256.Create(value);