1 write to TypeOutput
Microsoft.ML.Data (1)
Transforms\KeyToValue.cs (1)
295
TypeOutput
= typeVal;
24 references to TypeOutput
Microsoft.ML.Data (24)
Transforms\KeyToValue.cs (24)
321
Parent.Host.Assert(
TypeOutput
.RawType == typeof(TValue));
325
DataViewType outputItemType =
TypeOutput
.GetItemType();
466
var outType = PfaUtils.Type.PfaTypeOrNullForColumnType(
TypeOutput
);
473
var defaultToken = PfaUtils.Type.DefaultTokenOrNull(
TypeOutput
);
475
if (
TypeOutput
is TextDataViewType)
519
if (
TypeOutput
== NumberDataViewType.Double ||
TypeOutput
== BooleanDataViewType.Instance)
521
else if (
TypeOutput
== NumberDataViewType.Int64 ||
TypeOutput
== NumberDataViewType.UInt16 ||
522
TypeOutput
== NumberDataViewType.Int32 ||
TypeOutput
== NumberDataViewType.Int16 ||
523
TypeOutput
== NumberDataViewType.UInt64 ||
TypeOutput
== NumberDataViewType.UInt32)
531
if (
TypeOutput
== NumberDataViewType.Int64 ||
TypeOutput
== NumberDataViewType.Int32 ||
532
TypeOutput
== NumberDataViewType.Int16 ||
TypeOutput
== NumberDataViewType.UInt64 ||
533
TypeOutput
== NumberDataViewType.UInt32 ||
TypeOutput
== NumberDataViewType.UInt16)
540
castNode.AddAttribute("to",
TypeOutput
.RawType);
542
else if (
TypeOutput
== NumberDataViewType.Single)
547
else if (
TypeOutput
== NumberDataViewType.Double)
557
else if (
TypeOutput
== TextDataViewType.Instance)
562
else if (
TypeOutput
== BooleanDataViewType.Instance)