IComponentFactory<TArg1,TComponent> 接口
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
一个接口,用于在采用一个额外的参数(和一个 IHostEnvironment)时创建组件。
public interface IComponentFactory<in TArg1,out TComponent> : Microsoft.ML.Runtime.IComponentFactory
type IComponentFactory<'TArg1, 'Component> = interface
interface IComponentFactory
Public Interface IComponentFactory(Of In TArg1, Out TComponent)
Implements IComponentFactory
类型参数
- TArg1
- TComponent
- 实现
方法
| 名称 | 说明 |
|---|---|
| CreateComponent(IHostEnvironment, TArg1) |
一个接口,用于在采用一个额外的参数(和一个 IHostEnvironment)时创建组件。 |