2 instantiations of ParameterSetWithId
Microsoft.ML.Sweeper (2)
AsyncSweeper.cs (2)
121
return Task.FromResult(new
ParameterSetWithId
(_numGenerated++, paramSets[0]));
229
_paramChannel.Writer.TryWrite(new
ParameterSetWithId
(_numGenerated++, paramSet));
14 references to ParameterSetWithId
Microsoft.ML.Sweeper (7)
AsyncSweeper.cs (7)
50
Task<
ParameterSetWithId
> ProposeAsync();
111
public Task<
ParameterSetWithId
> ProposeAsync()
114
return Task.FromResult<
ParameterSetWithId
>(null);
123
return Task.FromResult<
ParameterSetWithId
>(null);
171
private readonly Channel<
ParameterSetWithId
> _paramChannel;
211
_paramChannel = Channel.CreateUnbounded<
ParameterSetWithId
>(
276
public async Task<
ParameterSetWithId
> ProposeAsync()
Microsoft.ML.Sweeper.Tests (7)
TestSweeper.cs (7)
149
var
tResult = await task;
171
var
tResult = await task;
203
var tasks = new List<Task<
ParameterSetWithId
>>();
268
var tasks = new Task<
ParameterSetWithId
>[sweeps];
334
var
tResult = await task;
336
var
paramWithId = tResult;
391
var
paramWithId = await sweeper.ProposeAsync();