2 writes to _w
Microsoft.ML.StandardTrainers (2)
LdSvm\LdSvmModelParameters.cs (2)
77
_w
= w;
113
_w
= LoadVBufferArray(ctx, _numLeaf * 2 - 1, numFeatures);
14 references to _w
Microsoft.ML.StandardTrainers (14)
LdSvm\LdSvmModelParameters.cs (14)
84
InputType = new VectorDataViewType(NumberDataViewType.Single,
_w
[0].Length);
129
Host.Assert(
_w
.Length == _numLeaf * 2 - 1);
130
Host.Assert(
_w
.All(v => v.IsDense));
131
Host.Assert(
_w
.All(v => v.Length ==
_w
[0].Length));
141
Host.Assert((
_w
[0].Length > 0) && (
_w
[0].Length == _thetaPrime[0].Length) && (
_w
[0].Length == _theta[0].Length)); // numFeatures
142
Host.Assert(InputType != null && InputType.GetVectorSize() ==
_w
[0].Length);
180
int numFeatures =
_w
[0].Length;
186
Host.Assert(
_w
.Length == _numLeaf * 2 - 1);
187
SaveVBufferArray(ctx,
_w
);
255
(VectorUtils.DotProduct(in
_w
[current], in src) + _biasW[current]);
260
(VectorUtils.DotProduct(in
_w
[current], in src) + _biasW[current]);