1 write to Value
Microsoft.ML.Core (1)
Utilities\NormStr.cs (1)
32
Value
= str;
28 references to Value
Microsoft.ML.Core (7)
Data\ModelHeader.cs (2)
153
offset += ns.
Value
.Length * sizeof(char);
163
foreach (var ch in ns.
Value
.Span)
Utilities\NormStr.cs (5)
109
if (strSpan.SequenceEqual(ns.
Value
.Span))
132
if (ns.
Value
.Span.SequenceEqual(span))
185
var value = ns.
Value
;
235
_rgmeta[_cns] = Utils.MakeUlong((uint)_rgins[iins], (uint)ns.
Value
.Length);
272
_rgmeta[ins] = Utils.MakeUlong((uint)_rgins[iins], (uint)ns.
Value
.Length);
Microsoft.ML.Data (8)
Transforms\ValueToKeyMappingTransformerImpl.cs (8)
125
Comparison<int> comp = (i, j) => _pool.GetNormStrById(i).
Value
.Span.CompareTo(_pool.GetNormStrById(j).
Value
.Span, StringComparison.Ordinal);
131
var nstr = sortedPool.Add(_pool.GetNormStrById(perm[i]).
Value
);
133
Contracts.Assert(i == 0 || sortedPool.GetNormStrById(i - 1).
Value
.Span.CompareTo(sortedPool.GetNormStrById(i).
Value
.Span, StringComparison.Ordinal) < 0);
635
ctx.SaveNonEmptyString(nstr.
Value
);
662
editor.Values[nstr.Id] = nstr.
Value
;
673
writer.WriteLine("{0}\t{1}", nstr.Id, nstr.
Value
);
Microsoft.ML.Transforms (13)
Expression\KeyWordTable.cs (3)
71
if (_mpnstrtidPunc.TryGetValue(_pool.Add(nstrTmp.
Value
), out tidTmp))
89
Contracts.Assert(!nstr.
Value
.IsEmpty);
95
Contracts.Assert(!nstr.
Value
.IsEmpty);
Expression\LambdaParser.cs (2)
247
_mapTidStr[kvp.Value.Kind] = kvp.Key.
Value
.ToString();
250
_mapTidStr[kvp.Value] = kvp.Key.
Value
.ToString();
Expression\Lexer.cs (2)
671
return KeyToken.CreateKeyWord(GetSpan(), nstr.
Value
.ToString(), kind.Kind, kind.IsContextKeyWord);
673
return new IdentToken(GetSpan(), nstr.
Value
.ToString());
Text\StopWordsRemovingTransformer.cs (5)
474
var words = StopWords[iinfo].Select(item => Convert.ToString(item.
Value
));
475
node.AddAttribute("stopwords", StopWords[iinfo].Select(item => Convert.ToString(item.
Value
)));
963
ctx.SaveString(nstr.
Value
);
970
writer.WriteLine("{0}\t{1}", nstr.Id, nstr.
Value
);
1161
node.AddAttribute("stopwords", words.Select(item => Convert.ToString(item.
Value
)));
Text\WordEmbeddingsExtractor.cs (1)
142
labels.Add(new string(label.
Value
.ToArray()));