14 references to TryParseMapper
Microsoft.ML.Data (13)
Data\Conversion.cs (4)
358
private void AddTryParse<T>(
TryParseMapper
<T> fn)
538
public
TryParseMapper
<TDst> GetTryParseConversion<TDst>(DataViewType typeDst)
549
return (
TryParseMapper
<TDst>)_tryParseDelegates[typeDst.RawType];
552
private
TryParseMapper
<TDst> GetKeyTryParse<TDst>(KeyDataViewType key)
DataLoadSave\Text\TextLoaderParser.cs (7)
88
var
fn = _conv.GetTryParseConversion<T>(type);
101
var
fn = _conv.GetTryParseConversion<T>(type);
249
private readonly
TryParseMapper
<TResult> _conv;
258
public PrimitivePipe(RowSet rows, PrimitiveDataViewType type,
TryParseMapper
<TResult> conv)
299
private readonly
TryParseMapper
<TItem> _conv;
308
private readonly
TryParseMapper
<TItem> _conv;
441
public VectorPipe(RowSet rows, PrimitiveDataViewType type,
TryParseMapper
<TItem> conv)
Transforms\ValueToKeyMappingTransformerImpl.cs (2)
210
var
tryParse = Data.Conversion.Conversions.DefaultInstance.GetTryParseConversion<T>(ItemType);
236
var
tryParse = Data.Conversion.Conversions.DefaultInstance.GetTryParseConversion<T>(ItemType);
Microsoft.ML.Transforms (1)
SvmLight\SvmLightLoader.cs (1)
676
var
parser = Conversions.DefaultInstance.GetTryParseConversion<ulong>(NumberDataViewType.UInt64);