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