@@ -106,7 +106,7 @@ internal bool TryUnparse(StringBuilder sb)
106
106
}
107
107
}
108
108
109
- public sealed class ColumnOptionsEx
109
+ public sealed class ColumnOptions
110
110
{
111
111
// Either VBuffer<Key<U4>> or a single Key<U4>.
112
112
// Note that if CustomSlotMap contains only one array, the output type of the transform will a single Key<U4>.
@@ -124,7 +124,7 @@ public int OutputValueCount
124
124
get { return OutputColumnType . GetValueCount ( ) ; }
125
125
}
126
126
127
- public ColumnOptionsEx ( int [ ] [ ] slotMap , int hashBits , uint hashSeed , bool ordered )
127
+ public ColumnOptions ( int [ ] [ ] slotMap , int hashBits , uint hashSeed , bool ordered )
128
128
{
129
129
Contracts . CheckValueOrNull ( slotMap ) ;
130
130
Contracts . Check ( NumBitsMin <= hashBits && hashBits < NumBitsLim ) ;
@@ -173,7 +173,7 @@ private static VersionInfo GetVersionInfo()
173
173
loaderAssemblyName : typeof ( HashJoiningTransform ) . Assembly . FullName ) ;
174
174
}
175
175
176
- private readonly ColumnOptionsEx [ ] _exes ;
176
+ private readonly ColumnOptions [ ] _exes ;
177
177
178
178
/// <summary>
179
179
/// Initializes a new instance of <see cref="HashJoiningTransform"/>.
@@ -204,7 +204,7 @@ public HashJoiningTransform(IHostEnvironment env, Arguments args, IDataView inpu
204
204
if ( args . HashBits < NumBitsMin || args . HashBits >= NumBitsLim )
205
205
throw Host . ExceptUserArg ( nameof ( args . HashBits ) , "hashBits should be between {0} and {1} inclusive" , NumBitsMin , NumBitsLim - 1 ) ;
206
206
207
- _exes = new ColumnOptionsEx [ Infos . Length ] ;
207
+ _exes = new ColumnOptions [ Infos . Length ] ;
208
208
for ( int i = 0 ; i < Infos . Length ; i ++ )
209
209
{
210
210
var hashBits = args . Columns [ i ] . HashBits ?? args . HashBits ;
@@ -238,7 +238,7 @@ private HashJoiningTransform(IHost host, ModelLoadContext ctx, IDataView input)
238
238
239
239
Host . AssertNonEmpty ( Infos ) ;
240
240
241
- _exes = new ColumnOptionsEx [ Infos . Length ] ;
241
+ _exes = new ColumnOptions [ Infos . Length ] ;
242
242
for ( int i = 0 ; i < Infos . Length ; i ++ )
243
243
{
244
244
int hashBits = ctx . Reader . ReadInt32 ( ) ;
@@ -268,7 +268,7 @@ private HashJoiningTransform(IHost host, ModelLoadContext ctx, IDataView input)
268
268
}
269
269
}
270
270
271
- _exes [ i ] = new ColumnOptionsEx ( slotMap , hashBits , hashSeed , ordered ) ;
271
+ _exes [ i ] = new ColumnOptions ( slotMap , hashBits , hashSeed , ordered ) ;
272
272
}
273
273
274
274
SetMetadata ( ) ;
@@ -327,7 +327,7 @@ private protected override void SaveModel(ModelSaveContext ctx)
327
327
}
328
328
}
329
329
330
- private ColumnOptionsEx CreateColumnOptionsEx ( bool join , string customSlotMap , int hashBits , uint hashSeed , bool ordered , ColInfo colInfo )
330
+ private ColumnOptions CreateColumnOptionsEx ( bool join , string customSlotMap , int hashBits , uint hashSeed , bool ordered , ColInfo colInfo )
331
331
{
332
332
int [ ] [ ] slotMap = null ;
333
333
if ( colInfo . TypeSrc is VectorType vectorType )
@@ -340,7 +340,7 @@ private ColumnOptionsEx CreateColumnOptionsEx(bool join, string customSlotMap, i
340
340
Host . Assert ( Utils . Size ( slotMap ) >= 1 ) ;
341
341
}
342
342
343
- return new ColumnOptionsEx ( slotMap , hashBits , hashSeed , ordered ) ;
343
+ return new ColumnOptions ( slotMap , hashBits , hashSeed , ordered ) ;
344
344
}
345
345
346
346
private int [ ] [ ] CompileSlotMap ( string slotMapString , int srcSlotCount )
0 commit comments