TaskCondHyperNetAlgorithm<T, TInput, TOutput>

Models & Types · AiDotNet.MetaLearning.Algorithms

Implementation of Task-Conditioned HyperNetwork for meta-learning.

Inheritance: ModelBase<T, TInput, TOutput> → MetaLearnerBase<T, TInput, TOutput> → TaskCondHyperNetAlgorithm<T, TInput, TOutput>

Implements: IGeneratedParameterRegistrar<T>

How It Works

A hypernetwork generates task-specific parameter deltas conditioned on a task embedding derived from support-set gradient statistics. The chunked hypernetwork architecture processes the task embedding through a shared hidden layer, then uses per-chunk output heads to produce parameter deltas for each chunk of the target network.

Algorithm:

Constructors

Constructor Summary
TaskCondHyperNetAlgorithm(TaskCondHyperNetOptions<T, TInput, TOutput> options)

Properties

Property Summary
MetaLearningAlgorithmType AlgorithmType { get; }

Methods

Method Summary
IModel<TInput, TOutput, ModelMetadata<T>> Adapt(IMetaLearningTask<T, TInput, TOutput> task)
T MetaTrain(TaskBatch<T, TInput, TOutput> taskBatch)