10 instantiations of BufferBuilder
Microsoft.ML.Data (10)
Data\BufferBuilder.cs (2)
95
return (BufferBuilder<T>)(object)new
BufferBuilder
<ReadOnlyMemory<char>>(TextCombiner.Instance);
97
return (BufferBuilder<T>)(object)new
BufferBuilder
<float>(FloatAdder.Instance);
DataView\ArrayDataViewBuilder.cs (1)
520
_bldr = new
BufferBuilder
<T>(combiner);
Transforms\NormalizeColumnDbl.cs (3)
786
var bldr = new
BufferBuilder
<TFloat>(R8Adder.Instance);
1083
var bldr = new
BufferBuilder
<TFloat>(R8Adder.Instance);
1297
var bldr = new
BufferBuilder
<TFloat>(R8Adder.Instance);
Transforms\NormalizeColumnSng.cs (3)
943
var bldr = new
BufferBuilder
<TFloat>(R4Adder.Instance);
1243
var bldr = new
BufferBuilder
<TFloat>(R4Adder.Instance);
1458
var bldr = new
BufferBuilder
<TFloat>(R4Adder.Instance);
Transforms\ValueToKeyMappingTransformerImpl.cs (1)
938
var bldr = new
BufferBuilder
<uint>(U4Adder.Instance);
28 references to BufferBuilder
Microsoft.ML.Data (28)
Data\BufferBuilder.cs (4)
92
public static
BufferBuilder
<T> CreateDefault()
95
return (
BufferBuilder
<T>)(object)new BufferBuilder<ReadOnlyMemory<char>>(TextCombiner.Instance);
97
return (
BufferBuilder
<T>)(object)new BufferBuilder<float>(FloatAdder.Instance);
98
throw Contracts.Except($"Unrecognized type '{typeof(T)}' for default {nameof(
BufferBuilder
<T>)}");
DataLoadSave\Text\TextLoaderParser.cs (2)
789
var
bldr =
BufferBuilder
<ReadOnlyMemory<char>>.CreateDefault();
DataView\ArrayDataViewBuilder.cs (1)
515
private readonly
BufferBuilder
<T> _bldr;
Transforms\ColumnConcatenatingTransformer.cs (2)
626
var
bldr =
BufferBuilder
<ReadOnlyMemory<char>>.CreateDefault();
Transforms\KeyToVector.cs (2)
520
var
bldr =
BufferBuilder
<float>.CreateDefault();
Transforms\NormalizeColumnDbl.cs (8)
786
var
bldr = new BufferBuilder<TFloat>(R8Adder.Instance);
823
private static void FillValues(in VBuffer<TFloat> input,
BufferBuilder
<TFloat> bldr, TFloat[] scale)
852
private static void FillValues(in VBuffer<TFloat> input,
BufferBuilder
<TFloat> bldr, TFloat[] scale,
896
private static void FillValues(in VBuffer<TFloat> input,
BufferBuilder
<TFloat> bldr, TFloat[] scale,
1083
var
bldr = new BufferBuilder<TFloat>(R8Adder.Instance);
1096
private static void FillValues(in VBuffer<TFloat> input,
BufferBuilder
<TFloat> bldr, TFloat[] mean,
1297
var
bldr = new BufferBuilder<TFloat>(R8Adder.Instance);
1308
private void GetResult(in VBuffer<TFloat> input, ref VBuffer<TFloat> value,
BufferBuilder
<TFloat> bldr)
Transforms\NormalizeColumnSng.cs (8)
943
var
bldr = new BufferBuilder<TFloat>(R4Adder.Instance);
980
private static void FillValues(in VBuffer<TFloat> input,
BufferBuilder
<TFloat> bldr, TFloat[] scale)
1010
private static void FillValues(in VBuffer<TFloat> input,
BufferBuilder
<TFloat> bldr, TFloat[] scale,
1055
private static void FillValues(in VBuffer<TFloat> input,
BufferBuilder
<TFloat> bldr, TFloat[] scale,
1243
var
bldr = new BufferBuilder<TFloat>(R4Adder.Instance);
1256
private static void FillValues(in VBuffer<TFloat> input,
BufferBuilder
<TFloat> bldr, TFloat[] mean,
1458
var
bldr = new BufferBuilder<TFloat>(R4Adder.Instance);
1469
private void GetResult(in VBuffer<TFloat> input, ref VBuffer<TFloat> value,
BufferBuilder
<TFloat> bldr)
Transforms\ValueToKeyMappingTransformerImpl.cs (1)
938
var
bldr = new BufferBuilder<uint>(U4Adder.Instance);