3 instantiations of ResourceDownloadResults
Microsoft.ML.Core (3)
Utilities\ResourceManagerUtils.cs (3)
112return new ResourceDownloadResults(filePath, error); 116return new ResourceDownloadResults(filePath, 121return new ResourceDownloadResults(filePath,
11 references to ResourceDownloadResults
Microsoft.ML.Core (4)
Utilities\ResourceManagerUtils.cs (4)
108public async Task<ResourceDownloadResults> EnsureResourceAsync(IHostEnvironment env, IChannel ch, string relativeUrl, string fileName, string dir, int timeout) 336public static ResourceDownloadResults GetErrorMessage(out string errorMessage, params ResourceDownloadResults[] result) 338var errorResult = result.FirstOrDefault(res => !string.IsNullOrEmpty(res.ErrorMessage));
Microsoft.ML.PerformanceTests (1)
BenchmarkBase.cs (1)
56var errorResult = ResourceManagerUtils.GetErrorMessage(out var errorMessage, ensureModel.Result);
Microsoft.ML.TensorFlow (1)
TensorflowUtils.cs (1)
216var errorResult = ResourceManagerUtils.GetErrorMessage(out var errorMessage, ensureModel.Result);
Microsoft.ML.TensorFlow.Tests (1)
TensorflowTests.cs (1)
1990var errorResult = ResourceManagerUtils.GetErrorMessage(out var errorMessage, ensureModel.Result);
Microsoft.ML.TorchSharp (3)
AutoFormerV2\ObjectDetectionTrainer.cs (1)
273var errorResult = ResourceManagerUtils.GetErrorMessage(out var errorMessage, ensureModel.Result);
Roberta\QATrainer.cs (1)
257var errorResult = ResourceManagerUtils.GetErrorMessage(out var errorMessage, ensureModel.Result);
TorchSharpBaseTrainer.cs (1)
183var errorResult = ResourceManagerUtils.GetErrorMessage(out var errorMessage, ensureModel.Result);
Microsoft.ML.Transforms (1)
Text\WordEmbeddingsExtractor.cs (1)
636var errorResult = ResourceManagerUtils.GetErrorMessage(out var errorMessage, ensureModel.Result);