Share via


IComponentFactory<TComponent> Interface

Definition

An interface for creating a component with no extra parameters (other than an IHostEnvironment).

public interface IComponentFactory<out TComponent> : Microsoft.ML.Runtime.IComponentFactory
type IComponentFactory<'Component> = interface
    interface IComponentFactory
Public Interface IComponentFactory(Of Out TComponent)
Implements IComponentFactory

Type Parameters

TComponent
This type parameter is covariant. That is, you can use either the type you specified or any type that is more derived. For more information about covariance and contravariance, see Covariance and Contravariance in Generics.
Derived
Implements

Methods

CreateComponent(IHostEnvironment)

Applies to