1 write to _env
Microsoft.ML.Data (1)
MLContext.cs (1)
140_env = new LocalEnvironment(seed);
31 references to _env
Microsoft.ML.Data (31)
MLContext.cs (31)
81public ComponentCatalog ComponentCatalog => _env.ComponentCatalog; 88get { return _env.TempFilePath; } 89set { _env.TempFilePath = value; } 97get => _env.FallbackToCpu; 98set { _env.FallbackToCpu = value; } 106get => _env.GpuDeviceId; 107set { _env.GpuDeviceId = value; } 141_env.AddListener(ProcessMessage); 143BinaryClassification = new BinaryClassificationCatalog(_env); 144MulticlassClassification = new MulticlassClassificationCatalog(_env); 145Regression = new RegressionCatalog(_env); 146Clustering = new ClusteringCatalog(_env); 147Ranking = new RankingCatalog(_env); 148AnomalyDetection = new AnomalyDetectionCatalog(_env); 149Forecasting = new ForecastingCatalog(_env); 150Transforms = new TransformsCatalog(_env); 151Model = new ModelOperationsCatalog(_env); 152Data = new DataOperationsCatalog(_env); 165string IExceptionContext.ContextDescription => _env.ContextDescription; 166TException IExceptionContext.Process<TException>(TException ex) => _env.Process(ex); 167IHost IHostEnvironment.Register(string name, int? seed, bool? verbose) => _env.Register(name, seed, verbose); 168IChannel IChannelProvider.Start(string name) => _env.Start(name); 169IPipe<TMessage> IChannelProvider.StartPipe<TMessage>(string name) => _env.StartPipe<TMessage>(name); 170IProgressChannel IProgressChannelProvider.StartProgressChannel(string name) => _env.StartProgressChannel(name); 171int? IHostEnvironmentInternal.Seed => _env.Seed; 174internal void CancelExecution() => ((ICancelable)_env).CancelExecution(); 195public bool TryAddOption<T>(string name, T value) => _env.TryAddOption(name, value); 196public void SetOption<T>(string name, T value) => _env.SetOption(name, value); 197public bool TryGetOption<T>(string name, out T value) => _env.TryGetOption<T>(name, out value); 198public T GetOptionOrDefault<T>(string name) => _env.GetOptionOrDefault<T>(name); 199public bool RemoveOption(string name) => _env.RemoveOption(name);