Skip to content

feat(clone): automated, provably-correct cloning for options and layers - #2004

Open
ooples wants to merge 2025 commits into
masterfrom
feat/1993-automated-clone
Open

feat(clone): automated, provably-correct cloning for options and layers#2004
ooples wants to merge 2025 commits into
masterfrom
feat/1993-automated-clone

Conversation

@ooples

@ooples ooples commented Aug 10, 2026

Copy link
Copy Markdown
Owner

Summary

Completes the automated cloning/serialization work for #1993 and removes the remaining concrete model/layer lifecycle plumbing. The acceptance baseline is merged master commit 1f3bc962ca (#2035); the current PR head is de55b75e05.

Concrete model and layer authors now declare configuration, parameters, buffers, fitted state, and scratch state. Construction replay, cloning, parameter discovery, and serialization are supplied by generators and shared base classes.

Architecture

  • Removed concrete Clone, DeepCopy, CreateNewInstance, Serialize, Deserialize, network-specific serializer, and extra-parameter ownership methods from governed model/layer types.
  • Added ADN0063, promoted to an error in this repository, so concrete lifecycle overrides cannot grow back. Abstract/shared bases remain the implementation boundary; optimizers and distributions are outside this model/layer rule.
  • Generated constructor replay excludes [Scratch] graphs and supports model-owned trainable Vector<T> state.
  • Shared parameter discovery covers the tabular base families without per-model overrides.
  • Shared sharded-model serialization now persists and validates constructor-derived topology.
  • Content-classifier configuration/state now round-trips through the shared model-state contract.
  • Bayesian posterior epsilon tensors are scratch state, so training cannot change the optimizer-visible parameter surface.
  • DiffWave shape resolution and StandardVAE lazy graph reconstruction no longer depend on warm-up-only concrete state.

Timeout and regression hardening

  • Timeout failures are evaluated with the agreed sequence: parallel result first, exact isolated retry second, and fixture shrinking only when the isolated test still exceeds its cap.
  • The INT8 timing canary and sparse variational GP test failed only under parallel load and passed unchanged in isolation; no timeout was inflated.
  • FluxInpaintingModel and SiDDiTModel genuinely exceeded 120 seconds alone at paper scale. Their model-family tests now inject small real predictor/VAE graphs, retain production defaults, and run in the normal PR lane instead of hiding lifecycle checks behind HeavyTimeout.

Automated CI proof

The workflow now exposes a dedicated CI Regression Proof job and uploads a compact test-outcome-ledger-<sha> artifact. It reports:

  • total/passed/failed/incomplete shards;
  • raw failing results and distinct failing tests;
  • persistent, fixed, one-run, confirmed-new, touched-surface, and green-to-red failures;
  • targeted retry outcomes for provisional new failures;
  • strict and hybrid acceptance criteria against the exact master baseline SHA.

Current run: https://github.com/ooples/AiDotNet/actions/runs/32599415024 (queued for GitHub-hosted capacity). This PR is not declared merge-ready until that run publishes its final proof.

Local verification at de55b75e05

  • Strict net10.0 test-project build: 0 errors. ADN0063 is active as an error.
  • Preserved 84-test PR regression corpus: 82/84 in the parallel batch; the only two load-sensitive failures passed exact isolated retry, for 84/84 hybrid.
  • Generator/base/analyzer integration gate: 212 passed, 1 intentional census skip, 0 failed.
  • Bayesian trained-clone and parameter-surface stability: 10/10 assertions across five fresh test processes.
  • Promoted Flux inpainting + SiDDiT model-family contracts: 26 passed, 0 failed in 25 seconds.
  • VAE-backed clone regressions plus DiffWave: 8 passed, 0 failed.
  • CI regression-analysis script tests: all assertions passed.
  • git diff --check: no whitespace errors.

No assertion was weakened, tolerance loosened, or timeout increased to obtain these results.

Reviewer focus

  • src/AiDotNet.Generators/CloneAutomationAnalyzer.cs
  • src/AiDotNet.Generators/ClonePlanGenerator.cs
  • src/AiDotNet.Generators/ModelParameterGenerator.cs
  • src/Models/Parameters/GeneratedParameterDiscovery.cs
  • shared model/layer base-state changes and lifecycle declaration removals
  • .github/scripts/test-regression-analysis.ps1
  • .github/workflows/sonarcloud.yml

@vercel

vercel Bot commented Aug 10, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

2 Skipped Deployments
Project Deployment Actions Updated (UTC)
aidotnet_website Ignored Ignored Preview Aug 23, 2026 12:27am
aidotnet-playground-api Ignored Ignored Preview Aug 23, 2026 12:27am

@coderabbitai

coderabbitai Bot commented Aug 10, 2026

Copy link
Copy Markdown
Contributor

Important

Review skipped

Too many files!

This PR contains 2355 files, which is 2255 over the limit of 100.

To get a review, reduce the PR to 100 files or fewer by splitting it into smaller PRs or changing its base branch.

Upgrade to a paid plan to raise the limit.

Usage-priced reviews support at most 300 files.

⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: ASSERTIVE

Plan: Pro Plus

Run ID: ff35b2f4-844b-429d-952f-77e6bb82f744

📥 Commits

Reviewing files that changed from the base of the PR and between 789e851 and 72eaff9.

📒 Files selected for processing (2355)
  • .editorconfig
  • .github/scripts/find-pr-new-failures.ps1
  • .github/scripts/find-test-baseline.ps1
  • .github/scripts/report-test-totals.ps1
  • .github/scripts/test-regression-analysis.ps1
  • .github/scripts/test-regression-analysis.tests.ps1
  • .github/workflows/release-please.yml
  • .github/workflows/sonarcloud.yml
  • Directory.Packages.props
  • coverlet.runsettings
  • scripts/Verify-NuGetGenerator.ps1
  • src/ActiveLearning/Batch/GradientBatchStrategy.cs
  • src/ActiveLearning/Batch/SubmodularBatchStrategy.cs
  • src/AdversarialRobustness/Attacks/AdversarialAttackBase.cs
  • src/AdversarialRobustness/Attacks/AutoAttack.cs
  • src/AdversarialRobustness/Defenses/AdversarialPromptDefense.cs
  • src/AdversarialRobustness/Safety/ContentClassifierBase.cs
  • src/AdversarialRobustness/Safety/RuleBasedContentClassifier.cs
  • src/AiDotNet.Generators/AnalyzerReleases.Unshipped.md
  • src/AiDotNet.Generators/CloneAutomationAnalyzer.cs
  • src/AiDotNet.Generators/ClonePlanGenerator.cs
  • src/AiDotNet.Generators/LayerStateGenerator.cs
  • src/AiDotNet.Generators/ModelParameterGenerator.cs
  • src/AiDotNet.Generators/ModelStateGenerator.cs
  • src/AiDotNet.Generators/ParameterAutomationAnalyzer.cs
  • src/AiDotNet.Generators/TestScaffoldGenerator.cs
  • src/AiDotNet.Generators/TrainableParameterGenerator.cs
  • src/AiDotNet.Serving/ProgramSynthesis/ServingHeuristicCodeModel.cs
  • src/AiDotNet.csproj
  • src/AnomalyDetection/AngleBased/ABODDetector.cs
  • src/AnomalyDetection/AngleBased/FastABODDetector.cs
  • src/AnomalyDetection/AnomalyDetectorBase.cs
  • src/AnomalyDetection/ClusterBased/CBLOFDetector.cs
  • src/AnomalyDetection/ClusterBased/DBSCANDetector.cs
  • src/AnomalyDetection/ClusterBased/HDBSCANDetector.cs
  • src/AnomalyDetection/ClusterBased/KMeansDetector.cs
  • src/AnomalyDetection/DistanceBased/COFDetector.cs
  • src/AnomalyDetection/DistanceBased/INFLODetector.cs
  • src/AnomalyDetection/DistanceBased/KNNDetector.cs
  • src/AnomalyDetection/DistanceBased/LOCIDetector.cs
  • src/AnomalyDetection/DistanceBased/LoOPDetector.cs
  • src/AnomalyDetection/DistanceBased/LocalOutlierFactor.cs
  • src/AnomalyDetection/DistanceBased/SOSDetector.cs
  • src/AnomalyDetection/Ensemble/XGBODDetector.cs
  • src/AnomalyDetection/Linear/EllipticEnvelopeDetector.cs
  • src/AnomalyDetection/Linear/MCDDetector.cs
  • src/AnomalyDetection/Linear/RobustPCADetector.cs
  • src/AnomalyDetection/NeuralNetwork/AnoGANDetector.cs
  • src/AnomalyDetection/NeuralNetwork/AutoencoderDetector.cs
  • src/AnomalyDetection/NeuralNetwork/DAGMMDetector.cs
  • src/AnomalyDetection/NeuralNetwork/DeepSVDDDetector.cs
  • src/AnomalyDetection/NeuralNetwork/DevNetDetector.cs
  • src/AnomalyDetection/NeuralNetwork/GANomalyDetector.cs
  • src/AnomalyDetection/NeuralNetwork/VAEDetector.cs
  • src/AnomalyDetection/Probabilistic/BayesianDetector.cs
  • src/AnomalyDetection/Probabilistic/COPODDetector.cs
  • src/AnomalyDetection/Probabilistic/ECODDetector.cs
  • src/AnomalyDetection/Probabilistic/GMMDetector.cs
  • src/AnomalyDetection/Statistical/ChiSquareDetector.cs
  • src/AnomalyDetection/Statistical/DixonQTestDetector.cs
  • src/AnomalyDetection/Statistical/ESDDetector.cs
  • src/AnomalyDetection/Statistical/GESDDetector.cs
  • src/AnomalyDetection/Statistical/GrubbsTestDetector.cs
  • src/AnomalyDetection/Statistical/IQRDetector.cs
  • src/AnomalyDetection/Statistical/MADDetector.cs
  • src/AnomalyDetection/Statistical/ModifiedZScoreDetector.cs
  • src/AnomalyDetection/Statistical/PercentileDetector.cs
  • src/AnomalyDetection/Statistical/ZScoreDetector.cs
  • src/AnomalyDetection/TimeSeries/ARIMADetector.cs
  • src/AnomalyDetection/TimeSeries/AnomalyTransformerDetector.cs
  • src/AnomalyDetection/TimeSeries/MatrixProfileDetector.cs
  • src/AnomalyDetection/TimeSeries/NBEATSDetector.cs
  • src/AnomalyDetection/TimeSeries/STLDetector.cs
  • src/AnomalyDetection/TreeBased/ExtendedIsolationForest.cs
  • src/AnomalyDetection/TreeBased/FairCutForest.cs
  • src/AnomalyDetection/TreeBased/IsolationForest.cs
  • src/AnomalyDetection/TreeBased/SCiForest.cs
  • src/Attributes/FittedParameterAttribute.cs
  • src/Attributes/LayerStateAttribute.cs
  • src/Audio/AudioGen/AudioGenModel.cs
  • src/Audio/AudioLDM/AudioLDMModel.cs
  • src/Audio/AudioNeuralNetworkBase.cs
  • src/Audio/Classification/AST.cs
  • src/Audio/Classification/AudioEventDetector.cs
  • src/Audio/Classification/AudioLDMClassifier.cs
  • src/Audio/Classification/AudioMAE.cs
  • src/Audio/Classification/AudioSep.cs
  • src/Audio/Classification/BEATs.cs
  • src/Audio/Classification/CLAP.cs
  • src/Audio/Classification/CRNNEventDetector.cs
  • src/Audio/Classification/EAT.cs
  • src/Audio/Classification/FDYSED.cs
  • src/Audio/Classification/GenreClassifier.cs
  • src/Audio/Classification/HTSAT.cs
  • src/Audio/Classification/PANNs.cs
  • src/Audio/Classification/SceneClassifier.cs
  • src/Audio/Effects/AudioSuperResolution.cs
  • src/Audio/Effects/DAC.cs
  • src/Audio/Effects/DemucsNoise.cs
  • src/Audio/Effects/NeuralParametricEQ.cs
  • src/Audio/Effects/RoomImpulseResponse.cs
  • src/Audio/Emotion/Emotion2Vec.cs
  • src/Audio/Emotion/HuBERTSER.cs
  • src/Audio/Emotion/SpeechEmotionRecognizer.cs
  • src/Audio/Emotion/Wav2Small.cs
  • src/Audio/Emotion/WavLMSER.cs
  • src/Audio/Enhancement/BandSplitRNNEnhancer.cs
  • src/Audio/Enhancement/CMGAN.cs
  • src/Audio/Enhancement/ConvTasNet.cs
  • src/Audio/Enhancement/DCCRN.cs
  • src/Audio/Enhancement/DeepFilterNet.cs
  • src/Audio/Enhancement/FRCRN.cs
  • src/Audio/Enhancement/FullSubNetPlus.cs
  • src/Audio/Enhancement/MPSENet.cs
  • src/Audio/Enhancement/NeuralNoiseReducer.cs
  • src/Audio/Enhancement/SpikingFullSubNet.cs
  • src/Audio/Enhancement/TFGridNet.cs
  • src/Audio/Features/ConstantQTransform.cs
  • src/Audio/Fingerprinting/ASTModel.cs
  • src/Audio/Fingerprinting/CLAPModel.cs
  • src/Audio/Fingerprinting/ConformerFP.cs
  • src/Audio/Fingerprinting/GraFPrint.cs
  • src/Audio/Fingerprinting/NeuralFP.cs
  • src/Audio/Fingerprinting/PANNsModel.cs
  • src/Audio/Fingerprinting/PeakNetFP.cs
  • src/Audio/Foundations/Data2Vec2.cs
  • src/Audio/Foundations/HuBERT.cs
  • src/Audio/Foundations/MERT.cs
  • src/Audio/Foundations/Wav2Vec2.cs
  • src/Audio/Foundations/WavLM.cs
  • src/Audio/Generation/ACEStep.cs
  • src/Audio/Generation/AudioLM.cs
  • src/Audio/Generation/EnCodec.cs
  • src/Audio/Generation/FishSpeech.cs
  • src/Audio/Generation/SoundStream.cs
  • src/Audio/Generation/VALLE.cs
  • src/Audio/Generation/VoiceCraft.cs
  • src/Audio/Generation/YuE.cs
  • src/Audio/LanguageIdentification/ECAPATDNNLanguageIdentifier.cs
  • src/Audio/LanguageIdentification/VoxLingua107Identifier.cs
  • src/Audio/LanguageIdentification/Wav2Vec2LanguageIdentifier.cs
  • src/Audio/Multimodal/AudioFlamingo2.cs
  • src/Audio/Multimodal/MusicFlamingo.cs
  • src/Audio/Multimodal/Pengi.cs
  • src/Audio/Multimodal/Qwen2Audio.cs
  • src/Audio/Multimodal/SALMONN.cs
  • src/Audio/MusicAnalysis/BasicPitch.cs
  • src/Audio/MusicAnalysis/CREPE.cs
  • src/Audio/MusicAnalysis/MT3.cs
  • src/Audio/MusicAnalysis/MadmomBeatTracker.cs
  • src/Audio/MusicAnalysis/MelodyExtractor.cs
  • src/Audio/MusicAnalysis/MusicStructureAnalyzer.cs
  • src/Audio/MusicAnalysis/MusicTaggingTransformer.cs
  • src/Audio/MusicAnalysis/OnsetsAndFrames.cs
  • src/Audio/MusicAnalysis/Tempogram.cs
  • src/Audio/MusicGen/MusicGenModel.cs
  • src/Audio/SourceSeparation/BSRoFormer.cs
  • src/Audio/SourceSeparation/BandSplitRNN.cs
  • src/Audio/SourceSeparation/DannaSep.cs
  • src/Audio/SourceSeparation/HTDemucs.cs
  • src/Audio/SourceSeparation/MelBandRoFormer.cs
  • src/Audio/SourceSeparation/MusicSourceSeparator.cs
  • src/Audio/SourceSeparation/SCNet.cs
  • src/Audio/Speaker/CAMPlusPlus.cs
  • src/Audio/Speaker/ECAPATDNNSpeaker.cs
  • src/Audio/Speaker/PyAnnote.cs
  • src/Audio/Speaker/SpeakerDiarizer.cs
  • src/Audio/Speaker/SpeakerEmbeddingExtractor.cs
  • src/Audio/Speaker/SpeakerLM.cs
  • src/Audio/Speaker/SpeakerRecognitionBase.cs
  • src/Audio/Speaker/SpeakerVerifier.cs
  • src/Audio/Speaker/TitaNet.cs
  • src/Audio/Speaker/WavLMSpeaker.cs
  • src/Audio/SpeechRecognition/CTCDecoder.cs
  • src/Audio/SpeechRecognition/Canary.cs
  • src/Audio/SpeechRecognition/Conformer.cs
  • src/Audio/SpeechRecognition/FastConformer.cs
  • src/Audio/SpeechRecognition/RNNTransducer.cs
  • src/Audio/SpeechRecognition/Wav2Vec2Model.cs
  • src/Audio/SpeechRecognition/Zipformer.cs
  • src/Audio/StableAudio/StableAudioModel.cs
  • src/Audio/TextToSpeech/CosyVoice2.cs
  • src/Audio/TextToSpeech/MatchaTTS.cs
  • src/Audio/TextToSpeech/StyleTTS2.cs
  • src/Audio/TextToSpeech/Tacotron2Model.cs
  • src/Audio/TextToSpeech/TtsModel.cs
  • src/Audio/TextToSpeech/VITSModel.cs
  • src/Audio/VoiceActivity/MarbleNet.cs
  • src/Audio/VoiceActivity/QuailVad.cs
  • src/Audio/VoiceActivity/SileroVad.cs
  • src/Audio/VoiceActivity/WebRTCVad.cs
  • src/Audio/Whisper/WhisperModel.cs
  • src/AutoML/AutoMLEnsembleModel.cs
  • src/AutoML/AutoMLModelBase.cs
  • src/AutoML/BayesianOptimizationAutoML.cs
  • src/AutoML/DiffusionAutoML.cs
  • src/AutoML/EvolutionaryAutoML.cs
  • src/AutoML/MultiFidelityAutoML.cs
  • src/AutoML/NAS/AttentiveNAS.cs
  • src/AutoML/NAS/BigNAS.cs
  • src/AutoML/NAS/ENAS.cs
  • src/AutoML/NAS/FBNet.cs
  • src/AutoML/NAS/GDAS.cs
  • src/AutoML/NAS/OnceForAll.cs
  • src/AutoML/NAS/PCDARTS.cs
  • src/AutoML/NAS/ProxylessNAS.cs
  • src/AutoML/RandomSearchAutoML.cs
  • src/AutoML/SupervisedAutoMLModelBase.cs
  • src/Autodiff/AutogradFunction.cs
  • src/CausalDiscovery/DeepLearning/DeepCausalBase.cs
  • src/CausalInference/CausalForest.cs
  • src/CausalInference/CausalModelBase.cs
  • src/CausalInference/DoublyRobustEstimator.cs
  • src/CausalInference/InverseProbabilityWeighting.cs
  • src/CausalInference/PropensityScoreMatching.cs
  • src/CausalInference/SLearner.cs
  • src/CausalInference/TLearner.cs
  • src/CausalInference/XLearner.cs
  • src/Classification/Boosting/DARTClassifier.cs
  • src/Classification/Boosting/ExplainableBoostingClassifier.cs
  • src/Classification/Boosting/HistGradientBoostingClassifier.cs
  • src/Classification/Boosting/NGBoostClassifier.cs
  • src/Classification/Calibration/CalibratedClassifier.cs
  • src/Classification/ClassifierBase.cs
  • src/Classification/DiscriminantAnalysis/LinearDiscriminantAnalysis.cs
  • src/Classification/DiscriminantAnalysis/QuadraticDiscriminantAnalysis.cs
  • src/Classification/Ensemble/AdaBoostClassifier.cs
  • src/Classification/Ensemble/EnsembleClassifierBase.cs
  • src/Classification/Ensemble/ExtraTreesClassifier.cs
  • src/Classification/Ensemble/GradientBoostingClassifier.cs
  • src/Classification/Ensemble/RandomForestClassifier.cs
  • src/Classification/ImbalancedEnsemble/BalancedBaggingClassifier.cs
  • src/Classification/ImbalancedEnsemble/BalancedRandomForestClassifier.cs
  • src/Classification/ImbalancedEnsemble/EasyEnsembleClassifier.cs
  • src/Classification/Linear/LinearClassifierBase.cs
  • src/Classification/Linear/PassiveAggressiveClassifier.cs
  • src/Classification/Linear/PerceptronClassifier.cs
  • src/Classification/Linear/RidgeClassifier.cs
  • src/Classification/Linear/SGDClassifier.cs
  • src/Classification/Meta/BaggingClassifier.cs
  • src/Classification/Meta/ClassifierChain.cs
  • src/Classification/Meta/MultiOutputClassifier.cs
  • src/Classification/Meta/OneVsOneClassifier.cs
  • src/Classification/Meta/OneVsRestClassifier.cs
  • src/Classification/Meta/StackingClassifier.cs
  • src/Classification/Meta/VotingClassifier.cs
  • src/Classification/MultiLabel/BinaryRelevance.cs
  • src/Classification/MultiLabel/ClassifierChainClassifier.cs
  • src/Classification/MultiLabel/LabelPowerset.cs
  • src/Classification/MultiLabel/MLkNNClassifier.cs
  • src/Classification/MultiLabel/MultiLabelClassifierBase.cs
  • src/Classification/MultiLabel/RAkELClassifier.cs
  • src/Classification/NaiveBayes/BernoulliNaiveBayes.cs
  • src/Classification/NaiveBayes/CategoricalNaiveBayes.cs
  • src/Classification/NaiveBayes/ComplementNaiveBayes.cs
  • src/Classification/NaiveBayes/GaussianNaiveBayes.cs
  • src/Classification/NaiveBayes/MultinomialNaiveBayes.cs
  • src/Classification/NaiveBayes/NaiveBayesBase.cs
  • src/Classification/Neighbors/KNeighborsClassifier.cs
  • src/Classification/Online/AdaptiveRandomForestClassifier.cs
  • src/Classification/Online/HoeffdingTreeClassifier.cs
  • src/Classification/Online/OnlineNaiveBayesClassifier.cs
  • src/Classification/Ordinal/OrdinalClassifierBase.cs
  • src/Classification/Ordinal/OrdinalLogisticRegression.cs
  • src/Classification/Ordinal/OrdinalRidgeRegression.cs
  • src/Classification/OrdinalRegression.cs
  • src/Classification/SVM/LinearSupportVectorClassifier.cs
  • src/Classification/SVM/NuSupportVectorClassifier.cs
  • src/Classification/SVM/SupportVectorClassifier.cs
  • src/Classification/SemiSupervised/LabelPropagation.cs
  • src/Classification/SemiSupervised/LabelSpreading.cs
  • src/Classification/SemiSupervised/SelfTrainingClassifier.cs
  • src/Classification/SemiSupervised/SemiSupervisedClassifierBase.cs
  • src/Classification/TimeSeries/MiniRocketClassifier.cs
  • src/Classification/TimeSeries/RocketClassifier.cs
  • src/Classification/TimeSeries/TimeSeriesClassifierBase.cs
  • src/Classification/TimeSeries/TimeSeriesForestClassifier.cs
  • src/Classification/Trees/DecisionTreeClassifier.cs
  • src/Clustering/AutoK/GMeans.cs
  • src/Clustering/AutoK/XMeans.cs
  • src/Clustering/Base/ClusteringBase.cs
  • src/Clustering/Density/DBSCAN.cs
  • src/Clustering/Density/Denclue.cs
  • src/Clustering/Density/HDBSCAN.cs
  • src/Clustering/Density/MeanShift.cs
  • src/Clustering/Density/OPTICS.cs
  • src/Clustering/DistanceMetrics/MahalanobisDistance.cs
  • src/Clustering/Ensemble/ConsensusClustering.cs
  • src/Clustering/Hierarchical/AgglomerativeClustering.cs
  • src/Clustering/Hierarchical/BIRCH.cs
  • src/Clustering/Hierarchical/BisectingKMeans.cs
  • src/Clustering/Hierarchical/CURE.cs
  • src/Clustering/Neural/SelfOrganizingMap.cs
  • src/Clustering/Partitioning/AffinityPropagation.cs
  • src/Clustering/Partitioning/CLARANS.cs
  • src/Clustering/Partitioning/FuzzyCMeans.cs
  • src/Clustering/Partitioning/KMeans.cs
  • src/Clustering/Partitioning/KMedoids.cs
  • src/Clustering/Partitioning/MiniBatchKMeans.cs
  • src/Clustering/Probabilistic/GaussianMixtureModel.cs
  • src/Clustering/SemiSupervised/COPKMeans.cs
  • src/Clustering/SemiSupervised/SeededKMeans.cs
  • src/Clustering/Spectral/SpectralClustering.cs
  • src/Clustering/Streaming/MiniBatchKMeans.cs
  • src/Clustering/Streaming/OnlineKMeans.cs
  • src/Clustering/Subspace/CLIQUE.cs
  • src/Clustering/Subspace/SUBCLU.cs
  • src/ComputerVision/Detection/Backbones/CSPDarknet.cs
  • src/ComputerVision/Detection/Backbones/EfficientNet.cs
  • src/ComputerVision/Detection/Backbones/ResNet.cs
  • src/ComputerVision/Detection/Backbones/SwinTransformer.cs
  • src/ComputerVision/Detection/Necks/BiFPN.cs
  • src/ComputerVision/Detection/Necks/FPN.cs
  • src/ComputerVision/Detection/Necks/NeckBase.cs
  • src/ComputerVision/Detection/Necks/PANet.cs
  • src/ComputerVision/Detection/ObjectDetection/DETR/DETRDecoder.cs
  • src/ComputerVision/Detection/ObjectDetection/ObjectDetectorBase.cs
  • src/ComputerVision/Detection/TextDetection/TextDetectorBase.cs
  • src/ComputerVision/OCR/EndToEnd/ABCNet.cs
  • src/ComputerVision/OCR/EndToEnd/DocumentReader.cs
  • src/ComputerVision/OCR/EndToEnd/SceneTextReader.cs
  • src/ComputerVision/Segmentation/Common/InstanceSegmentationBase.cs
  • src/ComputerVision/Segmentation/Common/OpenVocabSegmentationBase.cs
  • src/ComputerVision/Segmentation/Common/PanopticSegmentationBase.cs
  • src/ComputerVision/Segmentation/Common/PromptableSegmentationBase.cs
  • src/ComputerVision/Segmentation/Common/ReferringSegmentationBase.cs
  • src/ComputerVision/Segmentation/Common/SegmentationModelBase.cs
  • src/ComputerVision/Segmentation/Common/VideoSegmentationBase.cs
  • src/ComputerVision/Segmentation/Diffusion/DiffCutSegmentation.cs
  • src/ComputerVision/Segmentation/Diffusion/MedSegDiffV2Segmentation.cs
  • src/ComputerVision/Segmentation/Diffusion/ODISESegmentation.cs
  • src/ComputerVision/Segmentation/Efficient/EdgeSAM.cs
  • src/ComputerVision/Segmentation/Efficient/EfficientSAM.cs
  • src/ComputerVision/Segmentation/Efficient/FastSAM.cs
  • src/ComputerVision/Segmentation/Efficient/MobileSAM.cs
  • src/ComputerVision/Segmentation/Efficient/PIDNet.cs
  • src/ComputerVision/Segmentation/Efficient/RepViTSAM.cs
  • src/ComputerVision/Segmentation/Efficient/SlimSAM.cs
  • src/ComputerVision/Segmentation/Foundation/EoMT.cs
  • src/ComputerVision/Segmentation/Foundation/Mask2Former.cs
  • src/ComputerVision/Segmentation/Foundation/MaskDINO.cs
  • src/ComputerVision/Segmentation/Foundation/MixedQueryTransformer.cs
  • src/ComputerVision/Segmentation/Foundation/OMGSeg.cs
  • src/ComputerVision/Segmentation/Foundation/OneFormer.cs
  • src/ComputerVision/Segmentation/Foundation/SAM.cs
  • src/ComputerVision/Segmentation/Foundation/SAM21.cs
  • src/ComputerVision/Segmentation/Foundation/SAMHQ.cs
  • src/ComputerVision/Segmentation/Foundation/U2Seg.cs
  • src/ComputerVision/Segmentation/Foundation/UNINEXT.cs
  • src/ComputerVision/Segmentation/Foundation/XDecoder.cs
  • src/ComputerVision/Segmentation/InstanceSegmentation/YOLO11Seg.cs
  • src/ComputerVision/Segmentation/InstanceSegmentation/YOLO26Seg.cs
  • src/ComputerVision/Segmentation/InstanceSegmentation/YOLOv12Seg.cs
  • src/ComputerVision/Segmentation/InstanceSegmentation/YOLOv8Seg.cs
  • src/ComputerVision/Segmentation/InstanceSegmentation/YOLOv9Seg.cs
  • src/ComputerVision/Segmentation/Interactive/SEEM.cs
  • src/ComputerVision/Segmentation/Interactive/SegGPT.cs
  • src/ComputerVision/Segmentation/Mamba/VMamba.cs
  • src/ComputerVision/Segmentation/Mamba/ViMUNet.cs
  • src/ComputerVision/Segmentation/Mamba/VisionMamba.cs
  • src/ComputerVision/Segmentation/Medical/BiomedParse.cs
  • src/ComputerVision/Segmentation/Medical/MedNeXt.cs
  • src/ComputerVision/Segmentation/Medical/MedSAM.cs
  • src/ComputerVision/Segmentation/Medical/MedSAM2.cs
  • src/ComputerVision/Segmentation/Medical/MedSegDiffV2.cs
  • src/ComputerVision/Segmentation/Medical/NnUNet.cs
  • src/ComputerVision/Segmentation/Medical/SegMamba.cs
  • src/ComputerVision/Segmentation/Medical/SwinUNETR.cs
  • src/ComputerVision/Segmentation/Medical/TransUNet.cs
  • src/ComputerVision/Segmentation/Medical/UMamba.cs
  • src/ComputerVision/Segmentation/Medical/UniverSeg.cs
  • src/ComputerVision/Segmentation/OpenVocabulary/CATSeg.cs
  • src/ComputerVision/Segmentation/OpenVocabulary/GroundedSAM2.cs
  • src/ComputerVision/Segmentation/OpenVocabulary/MaskAdapter.cs
  • src/ComputerVision/Segmentation/OpenVocabulary/OpenVocabSAM.cs
  • src/ComputerVision/Segmentation/OpenVocabulary/SAN.cs
  • src/ComputerVision/Segmentation/OpenVocabulary/SED.cs
  • src/ComputerVision/Segmentation/Panoptic/CUPS.cs
  • src/ComputerVision/Segmentation/Panoptic/KMaXDeepLab.cs
  • src/ComputerVision/Segmentation/Panoptic/ODISE.cs
  • src/ComputerVision/Segmentation/PointCloud/Concerto.cs
  • src/ComputerVision/Segmentation/PointCloud/PointTransformerV3.cs
  • src/ComputerVision/Segmentation/PointCloud/Sonata.cs
  • src/ComputerVision/Segmentation/Referring/GLaMM.cs
  • src/ComputerVision/Segmentation/Referring/LISA.cs
  • src/ComputerVision/Segmentation/Referring/OMGLLaVA.cs
  • src/ComputerVision/Segmentation/Referring/PixelLM.cs
  • src/ComputerVision/Segmentation/Referring/VideoLISA.cs
  • src/ComputerVision/Segmentation/Semantic/DiffCut.cs
  • src/ComputerVision/Segmentation/Semantic/DiffSeg.cs
  • src/ComputerVision/Segmentation/Semantic/InternImage.cs
  • src/ComputerVision/Segmentation/Semantic/SegFormer.cs
  • src/ComputerVision/Segmentation/Semantic/SegNeXt.cs
  • src/ComputerVision/Segmentation/Semantic/ViTAdapter.cs
  • src/ComputerVision/Segmentation/Semantic/ViTCoMer.cs
  • src/ComputerVision/Segmentation/Video/DEVA.cs
  • src/ComputerVision/Segmentation/Video/EfficientTAM.cs
  • src/ComputerVision/Segmentation/Video/UniVS.cs
  • src/ContinualLearning/LearningWithoutForgetting.cs
  • src/ContinualLearning/Memory/ExperienceReplayBuffer.cs
  • src/ContinualLearning/Strategies/ElasticWeightConsolidation.cs
  • src/ContinualLearning/Strategies/ExpectedGradientLength.cs
  • src/ContinualLearning/Strategies/MemoryAwareSynapses.cs
  • src/ContinualLearning/Strategies/PackNet.cs
  • src/ContinualLearning/Strategies/SynapticIntelligence.cs
  • src/ContinualLearning/SynapticIntelligence.cs
  • src/CurriculumLearning/CurriculumLearner.cs
  • src/CurriculumLearning/DifficultyEstimators/ExpertDefinedDifficultyEstimator.cs
  • src/CurriculumLearning/DifficultyEstimators/LossBasedDifficultyEstimator.cs
  • src/CurriculumLearning/Schedulers/SelfPacedScheduler.cs
  • src/DecompositionMethods/TimeSeriesDecomposition/BeveridgeNelsonDecomposition.cs
  • src/Diffusion/Acceleration/PABCache.cs
  • src/Diffusion/Acceleration/TeaCache.cs
  • src/Diffusion/Attention/DiffusionAttention.cs
  • src/Diffusion/Attention/FactorizedSpatioTemporalAttention.cs
  • src/Diffusion/Attention/Full3DAttention.cs
  • src/Diffusion/Attention/MotionModule.cs
  • src/Diffusion/Attention/STDiTBlock.cs
  • src/Diffusion/Attention/TemporalConvolution.cs
  • src/Diffusion/Attention/TemporalSelfAttention.cs
  • src/Diffusion/Audio/AudioLDM2Model.cs
  • src/Diffusion/Audio/AudioLDMModel.cs
  • src/Diffusion/Audio/BarkModel.cs
  • src/Diffusion/Audio/DiffWaveModel.cs
  • src/Diffusion/Audio/GriffinLim.cs
  • src/Diffusion/Audio/JEN1Model.cs
  • src/Diffusion/Audio/MelSpectrogram.cs
  • src/Diffusion/Audio/MusicGenModel.cs
  • src/Diffusion/Audio/RiffusionModel.cs
  • src/Diffusion/Audio/ShortTimeFourierTransform.cs
  • src/Diffusion/Audio/SoundStormModel.cs
  • src/Diffusion/Audio/StableAudioModel.cs
  • src/Diffusion/Audio/UdioModel.cs
  • src/Diffusion/Audio/VoiceCraftModel.cs
  • src/Diffusion/AudioDiffusionModelBase.cs
  • src/Diffusion/Conditioning/CLIPTextConditioner.cs
  • src/Diffusion/Conditioning/ChatGLM3TextConditioner.cs
  • src/Diffusion/Conditioning/DistilledT5TextConditioner.cs
  • src/Diffusion/Conditioning/GemmaTextConditioner.cs
  • src/Diffusion/Conditioning/Qwen2TextConditioner.cs
  • src/Diffusion/Conditioning/SigLIP2TextConditioner.cs
  • src/Diffusion/Conditioning/SigLIPTextConditioner.cs
  • src/Diffusion/Conditioning/T5TextConditioner.cs
  • src/Diffusion/Conditioning/TextConditioningBase.cs
  • src/Diffusion/Control/ControlARModel.cs
  • src/Diffusion/Control/ControlNeXtModel.cs
  • src/Diffusion/Control/ControlNetFluxModel.cs
  • src/Diffusion/Control/ControlNetInpaintingModel.cs
  • src/Diffusion/Control/ControlNetLiteModel.cs
  • src/Diffusion/Control/ControlNetModel.cs
  • src/Diffusion/Control/ControlNetPlusPlusFluxModel.cs
  • src/Diffusion/Control/ControlNetPlusPlusModel.cs
  • src/Diffusion/Control/ControlNetQRModel.cs
  • src/Diffusion/Control/ControlNetSD3Model.cs
  • src/Diffusion/Control/ControlNetTileModel.cs
  • src/Diffusion/Control/ControlNetUnionModel.cs
  • src/Diffusion/Control/ControlNetUnionProModel.cs
  • src/Diffusion/Control/ControlNetXSModel.cs
  • src/Diffusion/Control/IPAdapterFaceIDModel.cs
  • src/Diffusion/Control/IPAdapterFaceIDPlusModel.cs
  • src/Diffusion/Control/IPAdapterModel.cs
  • src/Diffusion/Control/IPAdapterPlusModel.cs
  • src/Diffusion/Control/InstantIDModel.cs
  • src/Diffusion/Control/PhotoMakerModel.cs
  • src/Diffusion/Control/ReferenceOnlyModel.cs
  • src/Diffusion/Control/StyleAlignedModel.cs
  • src/Diffusion/Control/T2IAdapterModel.cs
  • src/Diffusion/Control/UniControlNetModel.cs
  • src/Diffusion/DDPMModel.cs
  • src/Diffusion/DiffusionModelBase.cs
  • src/Diffusion/Distillation/StudentTeacherFramework.cs
  • src/Diffusion/FastGeneration/ARDiffusionModel.cs
  • src/Diffusion/FastGeneration/AuraFlowModel.cs
  • src/Diffusion/FastGeneration/AutoRegressiveMaskedDiffusion.cs
  • src/Diffusion/FastGeneration/ConsistencyModel.cs
  • src/Diffusion/FastGeneration/DMD2Model.cs
  • src/Diffusion/FastGeneration/EasyConsistencyModel.cs
  • src/Diffusion/FastGeneration/FlashDiffusionModel.cs
  • src/Diffusion/FastGeneration/FlowMapModel.cs
  • src/Diffusion/FastGeneration/Flux2SchnellModel.cs
  • src/Diffusion/FastGeneration/FluxSchnellModel.cs
  • src/Diffusion/FastGeneration/HyperSDModel.cs
  • src/Diffusion/FastGeneration/ImprovedConsistencyModel.cs
  • src/Diffusion/FastGeneration/InstaFlowModel.cs
  • src/Diffusion/FastGeneration/LatentConsistencyModel.cs
  • src/Diffusion/FastGeneration/MARModel.cs
  • src/Diffusion/FastGeneration/MultiStepConsistencyModel.cs
  • src/Diffusion/FastGeneration/MultistepLCModel.cs
  • src/Diffusion/FastGeneration/OSDSModel.cs
  • src/Diffusion/FastGeneration/PCMModel.cs
  • src/Diffusion/FastGeneration/PeRFlowModel.cs
  • src/Diffusion/FastGeneration/PixArtDeltaLCMModel.cs
  • src/Diffusion/FastGeneration/SANASprintModel.cs
  • src/Diffusion/FastGeneration/SCottModel.cs
  • src/Diffusion/FastGeneration/SD3FlashModel.cs
  • src/Diffusion/FastGeneration/SD3TurboModel.cs
  • src/Diffusion/FastGeneration/SDTurboModel.cs
  • src/Diffusion/FastGeneration/SDXLLightningModel.cs
  • src/Diffusion/FastGeneration/SDXLTurboModel.cs
  • src/Diffusion/FastGeneration/SenseFlowModel.cs
  • src/Diffusion/FastGeneration/SiDDiTModel.cs
  • src/Diffusion/FastGeneration/SiDModel.cs
  • src/Diffusion/FastGeneration/SwiftBrushModel.cs
  • src/Diffusion/FastGeneration/TCDModel.cs
  • src/Diffusion/FastGeneration/TrainingEfficientLCM.cs
  • src/Diffusion/FastGeneration/TransfusionModel.cs
  • src/Diffusion/ImageEditing/AnyEditModel.cs
  • src/Diffusion/ImageEditing/BlendedDiffusionModel.cs
  • src/Diffusion/ImageEditing/BrushEditModel.cs
  • src/Diffusion/ImageEditing/BrushNetModel.cs
  • src/Diffusion/ImageEditing/BrushNetXModel.cs
  • src/Diffusion/ImageEditing/CycleGANTurboModel.cs
  • src/Diffusion/ImageEditing/DiffEditModel.cs
  • src/Diffusion/ImageEditing/FlowEditModel.cs
  • src/Diffusion/ImageEditing/FluxInpaintingModel.cs
  • src/Diffusion/ImageEditing/FreeInpaintModel.cs
  • src/Diffusion/ImageEditing/HDPainterModel.cs
  • src/Diffusion/ImageEditing/ICEditModel.cs
  • src/Diffusion/ImageEditing/ImagicModel.cs
  • src/Diffusion/ImageEditing/InstructPix2PixModel.cs
  • src/Diffusion/ImageEditing/LEDITSPPModel.cs
  • src/Diffusion/ImageEditing/MagicBrushModel.cs
  • src/Diffusion/ImageEditing/NullTextInversionModel.cs
  • src/Diffusion/ImageEditing/OmniGen2Model.cs
  • src/Diffusion/ImageEditing/PaintByExampleModel.cs
  • src/Diffusion/ImageEditing/Pix2PixZeroModel.cs
  • src/Diffusion/ImageEditing/PowerPaintModel.cs
  • src/Diffusion/ImageEditing/PromptToPromptModel.cs
  • src/Diffusion/ImageEditing/RADModel.cs
  • src/Diffusion/ImageEditing/ReplaceAnythingModel.cs
  • src/Diffusion/ImageEditing/SD3InpaintingModel.cs
  • src/Diffusion/ImageEditing/SDEditModel.cs
  • src/Diffusion/ImageEditing/SDXLInpaintingModel.cs
  • src/Diffusion/ImageEditing/SeedEdit3Model.cs
  • src/Diffusion/ImageEditing/Step1XEditModel.cs
  • src/Diffusion/ImageEditing/TurboEditModel.cs
  • src/Diffusion/ImageEditing/TurboFillModel.cs
  • src/Diffusion/ImageEditing/UltraEditModel.cs
  • src/Diffusion/LatentDiffusionModelBase.cs
  • src/Diffusion/MotionGeneration/MoMaskModel.cs
  • src/Diffusion/MotionGeneration/MotionDiffuseModel.cs
  • src/Diffusion/MotionGeneration/MotionDiffusionModel.cs
  • src/Diffusion/NoisePredictors/AsymmDiTPredictor.cs
  • src/Diffusion/NoisePredictors/DiTNoisePredictor.cs
  • src/Diffusion/NoisePredictors/DiffusionAttentionLayer.cs
  • src/Diffusion/NoisePredictors/DiffusionResBlock.cs
  • src/Diffusion/NoisePredictors/EMMDiTPredictor.cs
  • src/Diffusion/NoisePredictors/FlagDiTPredictor.cs
  • src/Diffusion/NoisePredictors/FluxDoubleStreamPredictor.cs
  • src/Diffusion/NoisePredictors/MMDiTNoisePredictor.cs
  • src/Diffusion/NoisePredictors/MMDiTXNoisePredictor.cs
  • src/Diffusion/NoisePredictors/NoisePredictorBase.cs
  • src/Diffusion/NoisePredictors/SiTPredictor.cs
  • src/Diffusion/NoisePredictors/TemporalModule3DLayer.cs
  • src/Diffusion/NoisePredictors/UNetNoisePredictor.cs
  • src/Diffusion/NoisePredictors/UViTNoisePredictor.cs
  • src/Diffusion/NoisePredictors/VideoTransformer3DLayer.cs
  • src/Diffusion/NoisePredictors/VideoUNetPredictor.cs
  • src/Diffusion/Panorama/CubeDiffModel.cs
  • src/Diffusion/Panorama/DiffPanoModel.cs
  • src/Diffusion/Panorama/MultiDiffusionModel.cs
  • src/Diffusion/Panorama/SpotDiffusionModel.cs
  • src/Diffusion/Panorama/StitchDiffusionModel.cs
  • src/Diffusion/Panorama/SyncDiffusionModel.cs
  • src/Diffusion/Schedulers/ConsistencyModelScheduler.cs
  • src/Diffusion/Schedulers/DEISMultistepScheduler.cs
  • src/Diffusion/Schedulers/DPMSolverMultistepScheduler.cs
  • src/Diffusion/Schedulers/DPMSolverSDEScheduler.cs
  • src/Diffusion/Schedulers/DPMSolverSinglestepScheduler.cs
  • src/Diffusion/Schedulers/EulerAncestralDiscreteScheduler.cs
  • src/Diffusion/Schedulers/EulerDiscreteScheduler.cs
  • src/Diffusion/Schedulers/FlowMatchingScheduler.cs
  • src/Diffusion/Schedulers/HeunDiscreteScheduler.cs
  • src/Diffusion/Schedulers/LMSDiscreteScheduler.cs
  • src/Diffusion/Schedulers/PNDMScheduler.cs
  • src/Diffusion/Schedulers/UniPCScheduler.cs
  • src/Diffusion/StyleTransfer/ConsisLoRAModel.cs
  • src/Diffusion/StyleTransfer/InstantStyleModel.cs
  • src/Diffusion/StyleTransfer/KLoRAStyleModel.cs
  • src/Diffusion/StyleTransfer/RBModulationModel.cs
  • src/Diffusion/StyleTransfer/SASTDModel.cs
  • src/Diffusion/StyleTransfer/StyDiffModel.cs
  • src/Diffusion/StyleTransfer/StyleAlignedEditModel.cs
  • src/Diffusion/StyleTransfer/StyleStudioModel.cs
  • src/Diffusion/StyleTransfer/TLoRAAttentionAdapter.cs
  • src/Diffusion/StyleTransfer/TLoRAModel.cs
  • src/Diffusion/StyleTransfer/TimestepDependentLora.cs
  • src/Diffusion/StyleTransfer/UniVSTModel.cs
  • src/Diffusion/SuperResolution/CCSRModel.cs
  • src/Diffusion/SuperResolution/DiffBIRModel.cs
  • src/Diffusion/SuperResolution/PASDModel.cs
  • src/Diffusion/SuperResolution/RealESRGANModel.cs
  • src/Diffusion/SuperResolution/SDUpscalerModel.cs
  • src/Diffusion/SuperResolution/SUPIRModel.cs
  • src/Diffusion/SuperResolution/SeeSRModel.cs
  • src/Diffusion/SuperResolution/StableSRModel.cs
  • src/Diffusion/SuperResolution/TSDSRModel.cs
  • src/Diffusion/SuperResolution/UpscaleAVideoModel.cs
  • src/Diffusion/TextToImage/CogView4Model.cs
  • src/Diffusion/TextToImage/DallE2Model.cs
  • src/Diffusion/TextToImage/DallE3Model.cs
  • src/Diffusion/TextToImage/DeepFloydIFModel.cs
  • src/Diffusion/TextToImage/EDiffIModel.cs
  • src/Diffusion/TextToImage/Flux1Model.cs
  • src/Diffusion/TextToImage/Flux2Model.cs
  • src/Diffusion/TextToImage/HiDreamModel.cs
  • src/Diffusion/TextToImage/HunyuanDiTModel.cs
  • src/Diffusion/TextToImage/Ideogram3Model.cs
  • src/Diffusion/TextToImage/Imagen2Model.cs
  • src/Diffusion/TextToImage/Imagen3Model.cs
  • src/Diffusion/TextToImage/ImagenModel.cs
  • src/Diffusion/TextToImage/KandinskyModel.cs
  • src/Diffusion/TextToImage/KolorsModel.cs
  • src/Diffusion/TextToImage/LuminaImage2Model.cs
  • src/Diffusion/TextToImage/LuminaT2XModel.cs
  • src/Diffusion/TextToImage/MeissonicModel.cs
  • src/Diffusion/TextToImage/MidJourneyV7Model.cs
  • src/Diffusion/TextToImage/OmniGenModel.cs
  • src/Diffusion/TextToImage/PixArtDeltaModel.cs
  • src/Diffusion/TextToImage/PixArtModel.cs
  • src/Diffusion/TextToImage/PixArtSigmaModel.cs
  • src/Diffusion/TextToImage/PlaygroundV25Model.cs
  • src/Diffusion/TextToImage/PlaygroundV3Model.cs
  • src/Diffusion/TextToImage/RAPHAELModel.cs
  • src/Diffusion/TextToImage/RecraftV3Model.cs
  • src/Diffusion/TextToImage/SANAModel.cs
  • src/Diffusion/TextToImage/SDXLModel.cs
  • src/Diffusion/TextToImage/StableCascadeModel.cs
  • src/Diffusion/TextToImage/StableDiffusion15Model.cs
  • src/Diffusion/TextToImage/StableDiffusion2Model.cs
  • src/Diffusion/TextToImage/StableDiffusion35Model.cs
  • src/Diffusion/TextToImage/StableDiffusion3Model.cs
  • src/Diffusion/ThreeD/DreamFusionModel.cs
  • src/Diffusion/ThreeD/DreamGaussianModel.cs
  • src/Diffusion/ThreeD/Instant3DModel.cs
  • src/Diffusion/ThreeD/LGMModel.cs
  • src/Diffusion/ThreeD/MVDreamModel.cs
  • src/Diffusion/ThreeD/Magic3DModel.cs
  • src/Diffusion/ThreeD/MeshyModel.cs
  • src/Diffusion/ThreeD/One2345Model.cs
  • src/Diffusion/ThreeD/PointEModel.cs
  • src/Diffusion/ThreeD/ShapEModel.cs
  • src/Diffusion/ThreeD/SyncDreamerModel.cs
  • src/Diffusion/ThreeD/TripoSRModel.cs
  • src/Diffusion/ThreeD/Wonder3DModel.cs
  • src/Diffusion/ThreeD/Zero123Model.cs
  • src/Diffusion/ThreeDDiffusionModelBase.cs
  • src/Diffusion/VAE/AudioVAE.cs
  • src/Diffusion/VAE/AutoencoderKL.cs
  • src/Diffusion/VAE/Causal3DVAE.cs
  • src/Diffusion/VAE/DeepCompressionVAE.cs
  • src/Diffusion/VAE/DownBlock.cs
  • src/Diffusion/VAE/EQVAEModel.cs
  • src/Diffusion/VAE/ImprovedVideoVAE.cs
  • src/Diffusion/VAE/LiteVAEModel.cs
  • src/Diffusion/VAE/SDXLVAEModel.cs
  • src/Diffusion/VAE/StandardVAE.cs
  • src/Diffusion/VAE/TemporalInterpolationVAE.cs
  • src/Diffusion/VAE/TemporalVAE.cs
  • src/Diffusion/VAE/UpBlock.cs
  • src/Diffusion/VAE/VAEDecoder.cs
  • src/Diffusion/VAE/VAEEncoder.cs
  • src/Diffusion/VAE/VAEModelBase.cs
  • src/Diffusion/VAE/VAEResBlock.cs
  • src/Diffusion/Video/AllegroModel.cs
  • src/Diffusion/Video/AnimateDiffModel.cs
  • src/Diffusion/Video/AudioVisual/EmuVideo2Model.cs
  • src/Diffusion/Video/AudioVisual/EmuVideoModel.cs
  • src/Diffusion/Video/CogVideoModel.cs
  • src/Diffusion/Video/CogVideoX15Model.cs
  • src/Diffusion/Video/HunyuanVideo15Model.cs
  • src/Diffusion/Video/HunyuanVideoModel.cs
  • src/Diffusion/Video/Kling26Model.cs
  • src/Diffusion/Video/KlingModel.cs
  • src/Diffusion/Video/LTXVideoModel.cs
  • src/Diffusion/Video/LatteModel.cs
  • src/Diffusion/Video/LongVideo/FreeNoiseVideoModel.cs
  • src/Diffusion/Video/LongVideo/LoongModel.cs
  • src/Diffusion/Video/LongVideo/Show1Model.cs
  • src/Diffusion/Video/LongVideo/SnapVideoModel.cs
  • src/Diffusion/Video/LongVideo/StreamingT2VModel.cs
  • src/Diffusion/Video/LumaRay2Model.cs
  • src/Diffusion/Video/LumaRay3Model.cs
  • src/Diffusion/Video/LumiereModel.cs
  • src/Diffusion/Video/LuminaT2XModel.cs
  • src/Diffusion/Video/MAGI1Model.cs
  • src/Diffusion/Video/MakeAVideoModel.cs
  • src/Diffusion/Video/MinimaxVideoModel.cs
  • src/Diffusion/Video/Mochi1Model.cs
  • src/Diffusion/Video/Mochi1PreviewModel.cs
  • src/Diffusion/Video/ModelScopeT2VModel.cs
  • src/Diffusion/Video/MovieGenModel.cs
  • src/Diffusion/Video/OpenSora13Model.cs
  • src/Diffusion/Video/OpenSora2Model.cs
  • src/Diffusion/Video/OpenSoraModel.cs
  • src/Diffusion/Video/Pika21Model.cs
  • src/Diffusion/Video/PyramidFlowModel.cs
  • src/Diffusion/Video/RunwayGen4Model.cs
  • src/Diffusion/Video/RunwayGenModel.cs
  • src/Diffusion/Video/Seedance1Model.cs
  • src/Diffusion/Video/SkyReelsV1Model.cs
  • src/Diffusion/Video/Sora2Model.cs
  • src/Diffusion/Video/SoraModel.cs
  • src/Diffusion/Video/StableVideoDiffusion.cs
  • src/Diffusion/Video/StepVideoModel.cs
  • src/Diffusion/Video/Veo3Model.cs
  • src/Diffusion/Video/VeoModel.cs
  • src/Diffusion/Video/VideoCrafter2Model.cs
  • src/Diffusion/Video/VideoCrafterModel.cs
  • src/Diffusion/Video/VideoEditing/FateZeroModel.cs
  • src/Diffusion/Video/VideoEditing/FlowVidModel.cs
  • src/Diffusion/Video/VideoEditing/InstructVid2VidModel.cs
  • src/Diffusion/Video/VideoEditing/TokenFlowModel.cs
  • src/Diffusion/Video/VideoEditing/VideoP2PModel.cs
  • src/Diffusion/Video/VideoPoetModel.cs
  • src/Diffusion/Video/Wan21Model.cs
  • src/Diffusion/Video/Wan22Model.cs
  • src/Diffusion/Video/WanVideoModel.cs
  • src/Diffusion/Video/WorldModels/CosmosModel.cs
  • src/Diffusion/Video/WorldModels/DIAMONDModel.cs
  • src/Diffusion/Video/WorldModels/GameGenXModel.cs
  • src/Diffusion/Video/WorldModels/Genie2Model.cs
  • src/Diffusion/Video/WorldModels/OasisModel.cs
  • src/Diffusion/Video/WorldModels/UniSimModel.cs
  • src/Diffusion/VideoDiffusionModelBase.cs
  • src/Diffusion/VirtualTryOn/CATDMModel.cs
  • src/Diffusion/VirtualTryOn/CatVTONModel.cs
  • src/Diffusion/VirtualTryOn/FashionVDMModel.cs
  • src/Diffusion/VirtualTryOn/IDMVTONModel.cs
  • src/Diffusion/VirtualTryOn/StableVITONModel.cs
  • src/DistributedTraining/DDPModel.cs
  • src/DistributedTraining/ElasticOptimizer.cs
  • src/DistributedTraining/FSDPModel.cs
  • src/DistributedTraining/HybridShardedModel.cs
  • src/DistributedTraining/Layers/ColumnParallelLinear.cs
  • src/DistributedTraining/Layers/RowParallelLinear.cs
  • src/DistributedTraining/Layers/Stage3ShardedLinear.cs
  • src/DistributedTraining/Layers/TensorParallelAttention.cs
  • src/DistributedTraining/Layers/TensorParallelTransformerBlock.cs
  • src/DistributedTraining/PipelineParallelModel.cs
  • src/DistributedTraining/ShardedModelBase.cs
  • src/DistributedTraining/ShardedOptimizerBase.cs
  • src/DistributedTraining/TensorParallelModel.cs
  • src/DistributedTraining/TensorParallelPagedModel.cs
  • src/DistributedTraining/ZeRO1Model.cs
  • src/DistributedTraining/ZeRO2Model.cs
  • src/DistributedTraining/ZeRO3Model.cs
  • src/Distributions/DistributionBase.cs
  • src/Distributions/GammaDistribution.cs
  • src/Distributions/NegativeBinomialDistribution.cs
  • src/Distributions/PoissonDistribution.cs
  • src/Distributions/StudentTDistribution.cs
  • src/Distributions/WeibullDistribution.cs
  • src/Document/Analysis/PageSegmentation/DocBank.cs
  • src/Document/Analysis/TableDetection/TableTransformer.cs
  • src/Document/GraphBased/DocGCN.cs
  • src/Document/GraphBased/LayoutGraph.cs
  • src/Document/GraphBased/PICK.cs
  • src/Document/GraphBased/TRIE.cs
  • src/Document/LayoutAware/DiT.cs
  • src/Document/LayoutAware/DocFormer.cs
  • src/Document/LayoutAware/LayoutLM.cs
  • src/Document/LayoutAware/LayoutLMv2.cs
  • src/Document/LayoutAware/LayoutLMv3.cs
  • src/Document/LayoutAware/LayoutXLM.cs
  • src/Document/LayoutAware/LiLT.cs
  • src/Document/OCR/TextDetection/CRAFT.cs
  • src/Document/OCR/TextDetection/DBNet.cs
  • src/Document/OCR/TextDetection/EAST.cs
  • src/Document/OCR/TextDetection/PSENet.cs
  • src/Document/OCR/TextRecognition/ABINet.cs
  • src/Document/OCR/TextRecognition/CRNN.cs
  • src/Document/OCR/TextRecognition/SVTR.cs
  • src/Document/OCR/TextRecognition/TrOCR.cs
  • src/Document/PixelToSequence/Dessurt.cs
  • src/Document/PixelToSequence/Donut.cs
  • src/Document/PixelToSequence/MATCHA.cs
  • src/Document/PixelToSequence/Nougat.cs
  • src/Document/PixelToSequence/Pix2Struct.cs
  • src/Document/VisionLanguage/DocOwl.cs
  • src/Document/VisionLanguage/InfographicVQA.cs
  • src/Document/VisionLanguage/UDOP.cs
  • src/FederatedLearning/ContinualLearning/DataFreeFCL.cs
  • src/FederatedLearning/ContinualLearning/FedAGCContinualLearning.cs
  • src/FederatedLearning/Graph/GraphNodeGenerator.cs
  • src/FederatedLearning/Vertical/SplitNeuralNetwork.cs
  • src/FederatedLearning/Vertical/VerticalPartyClient.cs
  • src/FederatedLearning/Vertical/VerticalPartyLabelHolder.cs
  • src/Finance/AutoML/FinancialAutoML.cs
  • src/Finance/Base/CrossSectionalGraphModelBase.cs
  • src/Finance/Base/FinancialModelBase.cs
  • src/Finance/Base/PortfolioOptimizerBase.cs
  • src/Finance/Base/RiskModelBase.cs
  • src/Finance/Forecasting/Foundation/CCDM.cs
  • src/Finance/Forecasting/Foundation/CSDI.cs
  • src/Finance/Forecasting/Foundation/Chronos.cs
  • src/Finance/Forecasting/Foundation/ChronosBolt.cs
  • src/Finance/Forecasting/Foundation/FlowState.cs
  • src/Finance/Forecasting/Foundation/GPT4TS.cs
  • src/Finance/Forecasting/Foundation/Kairos.cs
  • src/Finance/Forecasting/Foundation/Kronos.cs
  • src/Finance/Forecasting/Foundation/LLMTime.cs
  • src/Finance/Forecasting/Foundation/LagLlama.cs
  • src/Finance/Forecasting/Foundation/MGTSD.cs
  • src/Finance/Forecasting/Foundation/MOIRAI.cs
  • src/Finance/Forecasting/Foundation/MOMENT.cs
  • src/Finance/Forecasting/Foundation/SimMTM.cs
  • src/Finance/Forecasting/Foundation/Sundial.cs
  • src/Finance/Forecasting/Foundation/TEST.cs
  • src/Finance/Forecasting/Foundation/TFC.cs
  • src/Finance/Forecasting/Foundation/TOTEM.cs
  • src/Finance/Forecasting/Foundation/TOTO.cs
  • src/Finance/Forecasting/Foundation/TS2Vec.cs
  • src/Finance/Forecasting/Foundation/TSDiff.cs
  • src/Finance/Forecasting/Foundation/TimeBridge.cs
  • src/Finance/Forecasting/Foundation/TimeDiff.cs
  • src/Finance/Forecasting/Foundation/TimeGPT.cs
  • src/Finance/Forecasting/Foundation/TimeGrad.cs
  • src/Finance/Forecasting/Foundation/TimeLLM.cs
  • src/Finance/Forecasting/Foundation/TimeMAE.cs
  • src/Finance/Forecasting/Foundation/TimeMoE.cs
  • src/Finance/Forecasting/Foundation/Timer.cs
  • src/Finance/Forecasting/Foundation/TimesFM.cs
  • src/Finance/Forecasting/Foundation/TinyTimeMixers.cs
  • src/Finance/Forecasting/Foundation/UniTS.cs
  • src/Finance/Forecasting/Foundation/VisionTS.cs
  • src/Finance/Forecasting/Foundation/YingLong.cs
  • src/Finance/Forecasting/Neural/DeepAR.cs
  • src/Finance/Forecasting/Neural/DeepFactor.cs
  • src/Finance/Forecasting/Neural/DeepState.cs
  • src/Finance/Forecasting/Neural/LSTNet.cs
  • src/Finance/Forecasting/Neural/MQCNN.cs
  • src/Finance/Forecasting/Neural/NBEATSFinance.cs
  • src/Finance/Forecasting/Neural/NHiTSFinance.cs
  • src/Finance/Forecasting/Neural/TCN.cs
  • src/Finance/Forecasting/Neural/WaveNet.cs
  • src/Finance/Forecasting/StateSpace/Hippo.cs
  • src/Finance/Forecasting/StateSpace/Mamba.cs
  • src/Finance/Forecasting/StateSpace/Mamba2.cs
  • src/Finance/Forecasting/StateSpace/RWKVForecaster.cs
  • src/Finance/Forecasting/StateSpace/S4.cs
  • src/Finance/Forecasting/StateSpace/TimeMachine.cs
  • src/Finance/Forecasting/Transformers/Autoformer.cs
  • src/Finance/Forecasting/Transformers/Crossformer.cs
  • src/Finance/Forecasting/Transformers/ETSformer.cs
  • src/Finance/Forecasting/Transformers/FEDformer.cs
  • src/Finance/Forecasting/Transformers/ITransformer.cs
  • src/Finance/Forecasting/Transformers/Informer.cs
  • src/Finance/Forecasting/Transformers/NonStationaryTransformer.cs
  • src/Finance/Forecasting/Transformers/PatchTST.cs
  • src/Finance/Forecasting/Transformers/TFT.cs
  • src/Finance/Forecasting/Transformers/TSMixer.cs
  • src/Finance/Forecasting/Transformers/TimesNet.cs
  • src/Finance/Graph/DCRNN.cs
  • src/Finance/Graph/GraphWaveNet.cs
  • src/Finance/Graph/MTGNN.cs
  • src/Finance/Graph/RelationalGCN.cs
  • src/Finance/Graph/STGNN.cs
  • src/Finance/Graph/TemporalGCN.cs
  • src/Finance/NLP/BloombergGPT.cs
  • src/Finance/NLP/FinBERT.cs
  • src/Finance/NLP/FinBERTTone.cs
  • src/Finance/NLP/FinGPT.cs
  • src/Finance/NLP/FinMA.cs
  • src/Finance/NLP/FinancialBERT.cs
  • src/Finance/NLP/InvestLM.cs
  • src/Finance/NLP/SECBERT.cs
  • src/Finance/Portfolio/BlackLittermanNeural.cs
  • src/Finance/Portfolio/DeepPortfolioManager.cs
  • src/Finance/Portfolio/GraphAttentionPortfolio.cs
  • src/Finance/Portfolio/HierarchicalRiskParity.cs
  • src/Finance/Portfolio/SignatureInformedTransformer.cs
  • src/Finance/Probabilistic/CSDI.cs
  • src/Finance/Probabilistic/DiffusionTS.cs
  • src/Finance/Probabilistic/ScoreGrad.cs
  • src/Finance/Probabilistic/TSDiff.cs
  • src/Finance/Probabilistic/TimeGrad.cs
  • src/Finance/Risk/NeuralCVaR.cs
  • src/Finance/Risk/NeuralStressTest.cs
  • src/Finance/Risk/NeuralVaR.cs
  • src/Finance/Risk/SAINT.cs
  • src/Finance/Risk/TabNet.cs
  • src/Finance/Risk/TabTransformer.cs
  • src/Finance/Trading/Agents/FeedforwardPolicyAgent.cs
  • src/Finance/Trading/Agents/FinRLAgent.cs
  • src/Finance/Trading/Agents/FinancialA2CAgent.cs
  • src/Finance/Trading/Agents/FinancialDQNAgent.cs
  • src/Finance/Trading/Agents/FinancialPPOAgent.cs
  • src/Finance/Trading/Agents/FinancialSACAgent.cs
  • src/Finance/Trading/Agents/MarketMakingAgent.cs
  • src/Finance/Trading/Agents/RecurrentPolicyAgent.cs
  • src/Finance/Trading/Agents/TradingAgentBase.cs
  • src/Finance/Trading/Environments/TradingEnvironment.cs
  • src/Finance/Trading/Factors/AlphaFactorModel.cs
  • src/Finance/Trading/Factors/FactorVAE.cs
  • src/Finance/Trading/Factors/Stockformer.cs
  • src/Finance/Volatility/HarRvModel.cs
  • src/Finance/Volatility/NeuralGARCH.cs
  • src/Finance/Volatility/RealizedVolatilityTransformer.cs
  • src/FineTuning/ConstitutionalAIFineTuning.cs
  • src/FineTuning/DirectPreferenceOptimization.cs
  • src/FineTuning/FineTuningBase.cs
  • src/FineTuning/GroupRelativePolicyOptimization.cs
  • src/FineTuning/IdentityPreferenceOptimization.cs
  • src/FineTuning/KahnemanTverskyOptimization.cs
  • src/FineTuning/ReinforcementLearningHumanFeedback.cs
  • src/FineTuning/RobustDirectPreferenceOptimization.cs
  • src/FineTuning/SelfPlayFineTuning.cs
  • src/FineTuning/StatisticalRejectionSampling.cs
  • src/FitDetectors/GaussianProcessFitDetector.cs
  • src/GaussianProcesses/BayesianGPLVM.cs
  • src/GaussianProcesses/DeepGaussianProcess.cs
  • src/GaussianProcesses/GPWithMCMC.cs
  • src/GaussianProcesses/GaussianProcessClassifier.cs
  • src/GaussianProcesses/HeteroscedasticGaussianProcess.cs
  • src/GaussianProcesses/MultiOutputGaussianProcess.cs
  • src/GaussianProcesses/MultiTaskGaussianProcess.cs
  • src/GaussianProcesses/SparseGaussianProcess.cs
  • src/GaussianProcesses/SparseVariationalGaussianProcess.cs
  • src/GaussianProcesses/StandardGaussianProcess.cs
  • src/GaussianProcesses/StudentTGaussianProcess.cs
  • src/GaussianProcesses/VariationalGaussianProcess.cs
  • src/Genetics/AdaptiveGeneticAlgorithm.cs
  • src/Genetics/GeneticBase.cs
  • src/Genetics/StandardGeneticAlgorithm.cs
  • src/Helpers/CopyOnWriteCloneHelper.cs
  • src/Helpers/DeserializationHelper.cs
  • src/Inference/CachedGroupedQueryAttention.cs
  • src/Inference/CachedMultiHeadAttention.cs
  • src/Inference/PagedCachedMultiHeadAttention.cs
  • src/Inference/Quantization/QuantizedAttentionLayer.cs
  • src/Interpolation/AkimaInterpolation.cs
  • src/Interpolation/BarycentricRationalInterpolation.cs
  • src/Interpolation/BicubicInterpolation.cs
  • src/Interpolation/BilinearInterpolation.cs
  • src/Interpolation/CubicBSplineInterpolation.cs
  • src/Interpolation/CubicConvolutionInterpolation.cs
  • src/Interpolation/CubicSplineInterpolation.cs
  • src/Interpolation/HermiteInterpolation.cs
  • src/Interpolation/KrigingInterpolation.cs
  • src/Interpolation/MonotoneCubicInterpolation.cs
  • src/Interpolation/MovingLeastSquaresInterpolation.cs
  • src/Interpolation/MultiquadricInterpolation.cs
  • src/Interpolation/NewtonDividedDifferenceInterpolation.cs
  • src/Interpolation/PchipInterpolation.cs
  • src/Interpolation/RadialBasisFunctionInterpolation.cs
  • src/Interpolation/ShepardsMethodInterpolation.cs
  • src/Interpolation/ThinPlateSplineInterpolation.cs
  • src/Interpolation/TrigonometricInterpolation.cs
  • src/Interpretability/Explainers/DeepLIFTExplainer.cs
  • src/Interpretability/Explainers/DeepSHAPExplainer.cs
  • src/Interpretability/Explainers/FeatureAblationExplainer.cs
  • src/Interpretability/Explainers/GlobalSurrogateExplainer.cs
  • src/Interpretability/Explainers/GradCAMExplainer.cs
  • src/Interpretability/Explainers/GradientSHAPExplainer.cs
  • src/Interpretability/Explainers/InfluenceFunctionExplainer.cs
  • src/Interpretability/Explainers/InputXGradientExplainer.cs
  • src/Interpretability/Explainers/IntegratedGradientsExplainer.cs
  • src/Interpretability/Explainers/PrototypeExplainer.cs
  • src/Interpretability/Explainers/SaliencyMapExplainer.cs
  • src/Interpretability/Explainers/TCAVExplainer.cs
  • src/Kernels/InducingPointKernel.cs
  • src/KnowledgeDistillation/FeatureDistillationStrategy.cs
  • src/KnowledgeDistillation/SelfDistillationTrainer.cs
  • src/LinearAlgebra/ExpressionTree.cs
  • src/LoRA/Adapters/AdaLoRAAdapter.cs
  • src/LoRA/Adapters/DVoRAAdapter.cs
  • src/LoRA/Adapters/DeltaLoRAAdapter.cs
  • src/LoRA/Adapters/DenseLoRAAdapter.cs
  • src/LoRA/Adapters/DyLoRAAdapter.cs
  • src/LoRA/Adapters/FloraAdapter.cs
  • src/LoRA/Adapters/GLoRAAdapter.cs
  • src/LoRA/Adapters/GraphConvolutionalLoRAAdapter.cs
  • src/LoRA/Adapters/LoRADropAdapter.cs
  • src/LoRA/Adapters/LoRAPlusAdapter.cs
  • src/LoRA/Adapters/LoRETTAAdapter.cs
  • src/LoRA/Adapters/LoftQAdapter.cs
  • src/LoRA/Adapters/LongLoRAAdapter.cs
  • src/LoRA/Adapters/MultiLoRAAdapter.cs
  • src/LoRA/Adapters/PiSSAAdapter.cs
  • src/LoRA/Adapters/QALoRAAdapter.cs
  • src/LoRA/Adapters/QLoRAAdapter.cs
  • src/LoRA/Adapters/ReLoRAAdapter.cs
  • src/LoRA/Adapters/SLoRAAdapter.cs
  • src/LoRA/Adapters/StandardLoRAAdapter.cs
  • src/LoRA/Adapters/TiedLoRAAdapter.cs
  • src/LoRA/Adapters/VBLoRAAdapter.cs
  • src/LoRA/Adapters/VeRAAdapter.cs
  • src/LoRA/Adapters/XLoRAAdapter.cs
  • src/LoRA/LoRALayer.cs
  • src/LossFunctions/APNet2GeneratorLoss.cs
  • src/LossFunctions/PerceptualLoss.cs
  • src/LossFunctions/WeightedCrossEntropyLoss.cs
  • src/MetaLearning/Algorithms/ANILAlgorithm.cs
  • src/MetaLearning/Algorithms/ANPAlgorithm.cs
  • src/MetaLearning/Algorithms/ATAMLAlgorithm.cs
  • src/MetaLearning/Algorithms/AdaptedMetaModel.cs
  • src/MetaLearning/Algorithms/AutoLoRAAlgorithm.cs
  • src/MetaLearning/Algorithms/BOILAlgorithm.cs
  • src/MetaLearning/Algorithms/BayProNetAlgorithm.cs
  • src/MetaLearning/Algorithms/BayTransProtoAlgorithm.cs
  • src/MetaLearning/Algorithms/CAMLAlgorithm.cs
  • src/MetaLearning/Algorithms/CAVIAAlgorithm.cs
  • src/MetaLearning/Algorithms/CNPAlgorithm.cs
  • src/MetaLearning/Algorithms/ConstellationNetAlgorithm.cs
  • src/MetaLearning/Algorithms/ContextMetaRLAlgorithm.cs
  • src/MetaLearning/Algorithms/ConvCNPAlgorithm.cs
  • src/MetaLearning/Algorithms/ConvNPAlgorithm.cs
  • src/MetaLearning/Algorithms/DKTAlgorithm.cs
  • src/MetaLearning/Algorithms/DPGNAlgorithm.cs
  • src/MetaLearning/Algorithms/DREAMAlgorithm.cs
  • src/MetaLearning/Algorithms/DiscoRLAlgorithm.cs
  • src/MetaLearning/Algorithms/ETPNAlgorithm.cs
  • src/MetaLearning/Algorithms/EquivCNPAlgorithm.cs
  • src/MetaLearning/Algorithms/FEATAlgorithm.cs
  • src/MetaLearning/Algorithms/FewTUREAlgorithm.cs
  • src/MetaLearning/Algorithms/FreqPromptAlgorithm.cs
  • src/MetaLearning/Algorithms/GNNMetaAlgorithm.cs
  • src/MetaLearning/Algorithms/HyperCLIPAlgorithm.cs
  • src/MetaLearning/Algorithms/HyperMAMLAlgorithm.cs
  • src/MetaLearning/Algorithms/HyperNeRFMetaAlgorithm.cs
  • src/MetaLearning/Algorithms/HyperNetMetaRLAlgorithm.cs
  • src/MetaLearning/Algorithms/HyperShotAlgorithm.cs
  • src/MetaLearning/Algorithms/ICMFusionAlgorithm.cs
  • src/MetaLearning/Algorithms/InContextRLAlgorithm.cs
  • src/MetaLearning/Algorithms/LBANPAlgorithm.cs
  • src/MetaLearning/Algorithms/LEOAlgorithm.cs
  • src/MetaLearning/Algorithms/LFTAlgorithm.cs
  • src/MetaLearning/Algorithms/LoRARecycleAlgorithm.cs
  • src/MetaLearning/Algorithms/MAMLAlgorithm.cs
  • src/MetaLearning/Algorithms/MAMLPlusPlusAlgorithm.cs
  • src/MetaLearning/Algorithms/MANNAlgorithm.cs
  • src/MetaLearning/Algorithms/MCLAlgorithm.cs
  • src/MetaLearning/Algorithms/MPTSAlgorithm.cs
  • src/MetaLearning/Algorithms/MbPAAdaptedModel.cs
  • src/MetaLearning/Algorithms/MbPAAlgorithm.cs
  • src/MetaLearning/Algorithms/MbPAHeadLoss.cs
  • src/MetaLearning/Algorithms/MetaDDPMAlgorithm.cs
  • src/MetaLearning/Algorithms/MetaDMAlgorithm.cs
  • src/MetaLearning/Algorithms/MetaDiffAlgorithm.cs
  • src/MetaLearning/Algorithms/MetaLoRAAlgorithm.cs
  • src/MetaLearning/Algorithms/MetaLoRABankAlgorithm.cs
  • src/MetaLearning/Algorithms/MetaOptNetAlgorithm.cs
  • src/MetaLearning/Algorithms/MetaPACOHAlgorithm.cs
  • src/MetaLearning/Algorithms/MetaSGDAlgorithm.cs
  • src/MetaLearning/Algorithms/NPAlgorithm.cs
  • src/MetaLearning/Algorithms/NPBMLAlgorithm.cs
  • src/MetaLearning/Algorithms/NTMAlgorithm.cs
  • src/MetaLearning/Algorithms/NeuralProcessBase.cs
  • src/MetaLearning/Algorithms/OpenMAMLPlusAlgorithm.cs
  • src/MetaLearning/Algorithms/PACOHAlgorithm.cs
  • src/MetaLearning/Algorithms/PEARLAlgorithm.cs
  • src/MetaLearning/Algorithms/ProtoNetsAlgorithm.cs
  • src/MetaLearning/Algorithms/RCNPAlgorithm.cs
  • src/MetaLearning/Algorithms/RecurrentHyperNetAlgorithm.cs
  • src/MetaLearning/Algorithms/ReptileAlgorithm.cs
  • src/MetaLearning/Algorithms/SDCLAlgorithm.cs
  • src/MetaLearning/Algorithms/SetFeatAlgorithm.cs
  • src/MetaLearning/Algorithms/SparseMAMLAlgorithm.cs
  • src/MetaLearning/Algorithms/SteerCNPAlgorithm.cs
  • src/MetaLearning/Algorithms/SwinTNPAlgorithm.cs
  • src/MetaLearning/Algorithms/TADAMAlgorithm.cs
  • src/MetaLearning/Algorithms/TETNPAlgorithm.cs
  • src/MetaLearning/Algorithms/TNPAlgorithm.cs
  • src/MetaLearning/Algorithms/TaskCondHyperNetAlgorithm.cs
  • src/MetaLearning/Algorithms/VERSAAlgorithm.cs
  • src/MetaLearning/Algorithms/iMAMLAlgorithm.cs
  • src/MetaLearning/Components/ImplicitPosteriorGenerator.cs
  • src/MetaLearning/MetaLearnerBase.cs
  • src/MetaLearning/Models/ANILModel.cs
  • src/MetaLearning/Models/BOILModel.cs
  • src/MetaLearning/Models/LEOModel.cs
  • src/MetaLearning/Models/LinearVectorModel.cs
  • src/MetaLearning/Models/MetaOptNetModel.cs
  • src/MetaLearning/Models/TADAMModel.cs
  • src/MetaLearning/Modules/RelationModule.cs
  • src/Models/CloneEngine.cs
  • src/Models/CloneMode.cs
  • src/Models/CloneOptions.cs
  • src/Models/ClonePlan.cs
  • src/Models/CloneRegistry.cs
  • src/Models/IConfigurationCloneable.cs
  • src/Models/ModelBase.cs
  • src/Models/ModelOptionsCloneExtensions.cs
  • src/Models/ModelStateRegistry.cs
  • src/Models/ModelWrapperBase.cs
  • src/Models/Options/LocallyWeightedRegressionOptions.cs
  • src/Models/Options/MultilayerPerceptronRegressionOptions.cs
  • src/Models/Options/TabTransformerOptions.cs
  • src/Models/Parameters/FieldParameterSources.cs
  • src/Models/Parameters/GeneratedParameterDiscovery.cs
  • src/Models/Parameters/ModelParameterSources.cs
  • src/Models/Parameters/ParameterComponentRegistry.cs
  • src/Models/Parameters/ParameterManifest.cs
  • src/Models/VectorModel.cs
  • src/NER/NERNeuralNetworkBase.cs
  • src/NER/SequenceLabeling/BiLSTMCRF.cs
  • src/NER/SequenceLabeling/CNNBiLSTMCRF.cs
  • src/NER/SequenceLabeling/LSTMCRF.cs
  • src/NER/SequenceLabeling/SequenceLabelingNERBase.cs
  • src/NER/SequenceLabeling/WordCharBiLSTMCRF.cs
  • src/NER/SpanBased/BiaffineNER.cs
  • src/NER/SpanBased/PURENER.cs
  • src/NER/SpanBased/PyramidNER.cs
  • src/NER/SpanBased/SpERTNER.cs
  • src/NER/SpanBased/SpanBasedNERBase.cs
  • src/NER/SpanBased/TriaffineNER.cs
  • src/NER/SpanBased/W2NER.cs
  • src/NER/TransformerBased/BERTNER.cs
  • src/NER/TransformerBased/BLINKNER.cs
  • src/NER/TransformerBased/BioBERTNER.cs
  • src/NER/TransformerBased/ClinicalBERTNER.cs
  • src/NER/TransformerBased/DeBERTaNER.cs
  • src/NER/TransformerBased/DistilBERTNER.cs
  • src/NER/TransformerBased/ELECTRANER.cs
  • src/NER/TransformerBased/FinBERTNER.cs
  • src/NER/TransformerBased/InstructionNER.cs
  • src/NER/TransformerBased/LegalBERTNER.cs
  • src/NER/TransformerBased/ONNXNER.cs
  • src/NER/TransformerBased/PromptNER.cs
  • src/NER/TransformerBased/PubMedBERTNER.cs
  • src/NER/TransformerBased/RELNER.cs
  • src/NER/TransformerBased/RoBERTaNER.cs
  • src/NER/TransformerBased/SECBertNER.cs
  • src/NER/TransformerBased/SciBERTNER.cs
  • src/NER/TransformerBased/SpanBERTNER.cs
  • src/NER/TransformerBased/TemplateNER.cs
  • src/NER/TransformerBased/TinyBERTNER.cs
  • src/NER/TransformerBased/TransformerNERBase.cs
  • src/NER/TransformerBased/XLMRoBERTaNER.cs
  • src/NestedLearning/AssociativeMemory.cs
  • src/NeuralNetworks/ACGAN.cs
  • src/NeuralNetworks/AttentionNetwork.cs
  • src/NeuralNetworks/AudioVisualCorrespondenceNetwork.cs
  • src/NeuralNetworks/AudioVisualEventLocalizationNetwork.cs
  • src/NeuralNetworks/Autoencoder.cs
  • src/NeuralNetworks/BGE.cs
  • src/NeuralNetworks/BigGAN.cs
  • src/NeuralNetworks/Blip2NeuralNetwork.cs
  • src/NeuralNetworks/BlipNeuralNetwork.cs
  • src/NeuralNetworks/CapsuleNetwork.cs
  • src/NeuralNetworks/ClipNeuralNetwork.cs
  • src/NeuralNetworks/ColBERT.cs
  • src/NeuralNetworks/ConditionalGAN.cs
  • src/NeuralNetworks/ConvolutionalNeuralNetwork.cs
  • src/NeuralNetworks/CycleGAN.cs
  • src/NeuralNetworks/DCGAN.cs
  • src/NeuralNetworks/DeclaredModelLayoutBases.cs
  • src/NeuralNetworks/DeepBeliefNetwork.cs
  • src/NeuralNetworks/DeepBoltzmannMachine.cs
  • src/NeuralNetworks/DeepQNetwork.cs
  • src/NeuralNetworks/DenseNetNetwork.cs
  • src/NeuralNetworks/DifferentiableNeuralComputer.cs
  • src/NeuralNetworks/EagleLanguageModel.cs
  • src/NeuralNetworks/EchoStateNetwork.cs
  • src/NeuralNetworks/EfficientNetNetwork.cs
  • src/NeuralNetworks/ExtremeLearningMachine.cs
  • src/NeuralNetworks/FalconMambaLanguageModel.cs
  • src/NeuralNetworks/FastText.cs
  • src/NeuralNetworks/FeedForwardNeuralNetwork.cs
  • src/NeuralNetworks/FinchLanguageModel.cs
  • src/NeuralNetworks/FlamingoNeuralNetwork.cs
  • src/NeuralNetworks/GLALanguageModel.cs
  • src/NeuralNetworks/GRUNeuralNetwork.cs
  • src/NeuralNetworks/GatedDeltaNetLanguageModel.cs
  • src/NeuralNetworks/GenerativeAdversarialNetwork.cs
  • src/NeuralNetworks/GloVe.cs
  • src/NeuralNetworks/Gpt4VisionNeuralNetwork.cs
  • src/NeuralNetworks/GraphAttentionNetwork.cs
  • src/NeuralNetworks/GraphGenerationModel.cs
  • src/NeuralNetworks/GraphIsomorphismNetwork.cs
  • src/NeuralNetworks/GraphNeuralNetwork.cs
  • src/NeuralNetworks/GraphSAGENetwork.cs
  • src/NeuralNetworks/GriffinLanguageModel.cs
  • src/NeuralNetworks/HTMNetwork.cs
  • src/NeuralNetworks/HawkLanguageModel.cs
  • src/NeuralNetworks/HopeNetwork.cs
  • src/NeuralNetworks/HopfieldNetwork.cs
  • src/NeuralNetworks/HyperbolicNeuralNetwork.cs
  • src/NeuralNetworks/ImageBindNeuralNetwork.cs
  • src/NeuralNetworks/InfoGAN.cs
  • src/NeuralNetworks/InstructorEmbedding.cs
  • src/NeuralNetworks/JambaLanguageModel.cs
  • src/NeuralNetworks/LLaVANeuralNetwork.cs
  • src/NeuralNetworks/LSTMNeuralNetwork.cs
  • src/NeuralNetworks/Layers/ALiBiPositionalBiasLayer.cs
  • src/NeuralNetworks/Layers/ActivationLayer.cs
  • src/NeuralNetworks/Layers/AdaptiveAveragePoolingLayer.cs
  • src/NeuralNetworks/Layers/AddLayer.cs
  • src/NeuralNetworks/Layers/AnomalyDetectorLayer.cs
  • src/NeuralNetworks/Layers/AttentionLayer.cs
  • src/NeuralNetworks/Layers/AttentiveTransformerLayer.cs
  • src/NeuralNetworks/Layers/AveragePoolingLayer.cs
  • src/NeuralNetworks/Layers/BasicBlock.cs
  • src/NeuralNetworks/Layers/BatchEnsembleLayer.cs
  • src/NeuralNetworks/Layers/BatchNormalizationLayer.cs
  • src/NeuralNetworks/Layers/BiaffineSpanScorerLayer.cs
  • src/NeuralNetworks/Layers/BidirectionalLayer.cs
  • src/NeuralNetworks/Layers/BottleneckBlock.cs
  • src/NeuralNetworks/Layers/BranchformerBlock.cs
  • src/NeuralNetworks/Layers/CapsuleLayer.cs
  • src/NeuralNetworks/Layers/CifAlignmentLayer.cs
  • src/NeuralNetworks/Layers/ClozeAttentionLayer.cs
  • src/NeuralNetworks/Layers/CohereDecoderBlock.cs
  • src/NeuralNetworks/Layers/ConcatenateLayer.cs
  • src/NeuralNetworks/Layers/ConditionalRandomFieldLayer.cs
  • src/NeuralNetworks/Layers/Conv1DLayer.cs
  • src/NeuralNetworks/Layers/Conv3DLayer.cs
  • src/NeuralNetworks/Layers/ConvLSTMLayer.cs
  • src/NeuralNetworks/Layers/ConvNeXtV2Block.cs
  • src/NeuralNetworks/Layers/ConvolutionalLayer.cs
  • src/NeuralNetworks/Layers/CroppingLayer.cs
  • src/NeuralNetworks/Layers/CrossAttentionLayer.cs
  • src/NeuralNetworks/Layers/DbrxDecoderBlock.cs
  • src/NeuralNetworks/Layers/DecoderLayer.cs
  • src/NeuralNetworks/Layers/DeconvolutionalLayer.cs
  • src/NeuralNetworks/Layers/DeformableConvolutionalLayer.cs
  • src/NeuralNetworks/Layers/DenseBlock.cs
  • src/NeuralNetworks/Layers/DenseBlockLayer.cs
  • src/NeuralNetworks/Layers/DenseLayer.cs
  • src/NeuralNetworks/Layers/DepthwiseSeparableConvolutionalLayer.cs
  • src/NeuralNetworks/Layers/DiffusionConvLayer.cs
  • src/NeuralNetworks/Layers/DigitCapsuleLayer.cs
  • src/NeuralNetworks/Layers/DilatedConvolutionalLayer.cs
  • src/NeuralNetworks/Layers/DirectionalGraphLayer.cs
  • src/NeuralNetworks/Layers/DropoutLayer.cs
  • src/NeuralNetworks/Layers/DuelingCombinationLayer.cs
  • src/NeuralNetworks/Layers/EdgeConditionalConvolutionalLayer.cs
  • src/NeuralNetworks/Layers/EmbeddingLayer.cs
  • src/NeuralNetworks/Layers/ExpertLayer.cs
  • src/NeuralNetworks/Layers/FeatureTransformerLayer.cs
  • src/NeuralNetworks/Layers/FeedForwardLayer.cs
  • src/NeuralNetworks/Layers/FlashAttentionLayer.cs
  • src/NeuralNetworks/Layers/FlattenLayer.cs
  • src/NeuralNetworks/Layers/FullyConnectedLayer.cs
  • src/NeuralNetworks/Layers/GRULayer.cs
  • src/NeuralNetworks/Layers/GandalfGFLULayer.cs
  • src/NeuralNetworks/Layers/GatedFeatureLearningUnitLayer.cs
  • src/NeuralNetworks/Layers/GatedFusionLayer.cs
  • src/NeuralNetworks/Layers/GatedLinearUnitLayer.cs
  • src/NeuralNetworks/Layers/GaussianNoiseLayer.cs
  • src/NeuralNetworks/Layers/Gemma2DecoderBlock.cs
  • src/NeuralNetworks/Layers/GlobalPoolingLayer.cs
  • src/NeuralNetworks/Layers/GraphAttentionLayer.cs
  • src/NeuralNetworks/Layers/GraphConvolutionalLayer.cs
  • src/NeuralNetworks/Layers/GraphIsomorphismLayer.cs
  • src/NeuralNetworks/Layers/GraphSAGELayer.cs
  • src/NeuralNetworks/Layers/GraphTransformerLayer.cs
  • src/NeuralNetworks/Layers/GroupNormalizationLayer.cs
  • src/NeuralNetworks/Layers/GroupedQueryAttentionLayer.cs
  • src/NeuralNetworks/Layers/HeterogeneousGraphLayer.cs
  • src/NeuralNetworks/Layers/HighwayLayer.cs
  • src/NeuralNetworks/Layers/HyperbolicLinearLayer.cs
  • src/NeuralNetworks/Layers/InstanceNormalizationLayer.cs
  • src/NeuralNetworks/Layers/InteractingLayer.cs
  • src/NeuralNetworks/Layers/InternImageBlockLayer.cs
  • src/NeuralNetworks/Layers/IntersampleAttentionLayer.cs
  • src/NeuralNetworks/Layers/InvertedResidualBlock.cs
  • src/NeuralNetworks/Layers/LSTMLayer.cs
  • src/NeuralNetworks/Layers/LambdaLayer.cs
  • src/NeuralNetworks/Layers/LayerBase.cs
  • src/NeuralNetworks/Layers/LayerCloning.cs
  • src/NeuralNetworks/Layers/LayerNormalizationLayer.cs
  • src/NeuralNetworks/Layers/LocallyConnectedLayer.cs
  • src/NeuralNetworks/Layers/LogVarianceLayer.cs
  • src/NeuralNetworks/Layers/MLPMixerBlockLayer.cs
  • src/NeuralNetworks/Layers/MaskingLayer.cs
  • src/NeuralNetworks/Layers/MaxPool3DLayer.cs
  • src/NeuralNetworks/Layers/MaxPoolingLayer.cs
  • src/NeuralNetworks/Layers/MeanLayer.cs
  • src/NeuralNetworks/Layers/MeasurementLayer.cs
  • src/NeuralNetworks/Layers/MemoryReadLayer.cs
  • src/NeuralNetworks/Layers/MemoryWriteLayer.cs
  • src/NeuralNetworks/Layers/MeshEdgeConvLayer.cs
  • src/NeuralNetworks/Layers/MeshPoolLayer.cs
  • src/NeuralNetworks/Layers/MessagePassingLayer.cs
  • src/NeuralNetworks/Layers/MixtureOfExpertsLayer.cs
  • src/NeuralNetworks/Layers/MoEDecoderBlock.cs
  • src/NeuralNetworks/Layers/MoEFeedForwardLayer.cs
  • src/NeuralNetworks/Layers/MultiHeadAttentionLayer.cs
  • src/NeuralNetworks/Layers/MultiplyLayer.cs
  • src/NeuralNetworks/Layers/NoisyDenseLayer.cs
  • src/NeuralNetworks/Layers/ObliviousDecisionTreeLayer.cs
  • src/NeuralNetworks/Layers/OccupancyNetworkDecoder.cs
  • src/NeuralNetworks/Layers/OctonionLinearLayer.cs
  • src/NeuralNetworks/Layers/PReLULayer.cs
  • src/NeuralNetworks/Layers/PaddingLayer.cs
  • src/NeuralNetworks/Layers/ParallelStreamsLayer.cs
  • src/NeuralNetworks/Layers/PatchEmbeddingLayer.cs
  • src/NeuralNetworks/Layers/PatchGANDiscriminator.cs
  • src/NeuralNetworks/Layers/PiecewiseLinearEncodingLayer.cs
  • src/NeuralNetworks/Layers/PixelShuffleLayer.cs
  • src/NeuralNetworks/Layers/PoolingLayer.cs
  • src/NeuralNetworks/Layers/PreLNTransformerBlock.cs
  • src/NeuralNetworks/Layers/PrependCLSTokenLayer.cs
  • src/NeuralNetworks/Layers/PrimaryCapsuleLayer.cs
  • src/NeuralNetworks/Layers/PrincipalNeighbourhoodAggregationLayer.cs
  • src/NeuralNetworks/Layers/QuantumLayer.cs
  • src/NeuralNetworks/Layers/RBFLayer.cs
  • src/NeuralNetworks/Layers/RBMLayer.cs
  • src/NeuralNetworks/Layers/RMSNormalizationLayer.cs
  • src/NeuralNetworks/Layers/RRDBLayer.cs
  • src/NeuralNetworks/Layers/RRDBNetGenerator.cs
  • src/NeuralNetworks/Layers/ReadoutLayer.cs
  • src/NeuralNetworks/Layers/ReconstructionLayer.cs
  • src/NeuralNetworks/Layers/RecurrentLayer.cs
  • src/NeuralNetworks/Layers/RepParameterizationLayer.cs
  • src/NeuralNetworks/Layers/ReshapeLayer.cs
  • src/NeuralNetworks/Layers/ResidualDenseBlock.cs
  • src/NeuralNetworks/Layers/ResidualLayer.cs
  • src/NeuralNetworks/Layers/SSM/ABCLayer.cs
  • src/NeuralNetworks/Layers/SSM/BASEDLayer.cs
  • src/NeuralNetworks/Layers/SSM/DeltaFormerLayer.cs
  • src/NeuralNetworks/Layers/SSM/DeltaNetLayer.cs
  • src/NeuralNetworks/Layers/SSM/DeltaProductLayer.cs
  • src/NeuralNetworks/Layers/SSM/ExtendedLSTMLayer.cs
  • src/NeuralNetworks/Layers/SSM/GatedDeltaNetLayer.cs
  • src/NeuralNetworks/Layers/SSM/GatedDeltaProductLayer.cs
  • src/NeuralNetworks/Layers/SSM/GatedLinearAttentionLayer.cs
  • src/NeuralNetworks/Layers/SSM/GatedSlotAttentionLayer.cs
  • src/NeuralNetworks/Layers/SSM/HGRN2Layer.cs
  • src/NeuralNetworks/Layers/SSM/HGRNLayer.cs
  • src/NeuralNetworks/Layers/SSM/HedgehogLayer.cs
  • src/NeuralNetworks/Layers/SSM/HippoMemoryCellLayer.cs
  • src/NeuralNetworks/Layers/SSM/HybridBlockScheduler.cs
  • src/NeuralNetworks/Layers/SSM/HyenaLayer.cs
  • src/NeuralNetworks/Layers/SSM/KimiLinearAttentionLayer.cs
  • src/NeuralNetworks/Layers/SSM/LinearRecurrentUnitLayer.cs
  • src/NeuralNetworks/Layers/SSM/LogLinearAttentionLayer.cs
  • src/NeuralNetworks/Layers/SSM/LonghornLayer.cs
  • src/NeuralNetworks/Layers/SSM/MEGALayer.cs
  • src/NeuralNetworks/Layers/SSM/Mamba2Block.cs
  • src/NeuralNetworks/Layers/SSM/MambaBlock.cs
  • src/NeuralNetworks/Layers/SSM/MegalodonLayer.cs
  • src/NeuralNetworks/Layers/SSM/MesaNetLayer.cs
  • src/NeuralNetworks/Layers/SSM/MinGRULayer.cs
  • src/NeuralNetworks/Layers/SSM/MinLSTMLayer.cs
  • src/NeuralNetworks/Layers/SSM/MixtureOfMambaLayer.cs
  • src/NeuralNetworks/Layers/SSM/MixtureOfMemoriesLayer.cs
  • src/NeuralNetworks/Layers/SSM/MultiLatentAttentionLayer.cs
  • src/NeuralNetworks/Layers/SSM/PaTHAttentionLayer.cs
  • src/NeuralNetworks/Layers/SSM/RWKV7Block.cs
  • src/NeuralNetworks/Layers/SSM/RWKVLayer.cs
  • src/NeuralNetworks/Layers/SSM/RealGatedLinearRecurrenceLayer.cs
  • src/NeuralNetworks/Layers/SSM/RebasedLayer.cs
  • src/NeuralNetworks/Layers/SSM/RetNetLayer.cs
  • src/NeuralNetworks/Layers/SSM/RodimusLayer.cs
  • src/NeuralNetworks/Layers/SSM/Rwkv7Stack.cs
  • src/NeuralNetworks/Layers/SSM/S4DLayer.cs
  • src/NeuralNetworks/Layers/SSM/S5Layer.cs
  • src/NeuralNetworks/Layers/SSM/TTTLayer.cs
  • src/NeuralNetworks/Layers/SSM/TransNormerLLMLayer.cs
  • src/NeuralNetworks/Layers/STCConnectorLayer.cs
  • src/NeuralNetworks/Layers/SVTRMixingBlockLayer.cs
  • src/NeuralNetworks/Layers/SelfAttentionLayer.cs
  • src/NeuralNetworks/Layers/SeparableConvolutionalLayer.cs
  • src/NeuralNetworks/Layers/SoftTreeLayer.cs
  • src/NeuralNetworks/Layers/SparseLinearLayer.cs
  • src/NeuralNetworks/Layers/SpatialPoolerLayer.cs
  • src/NeuralNetworks/Layers/SpatialTransformerLayer.cs
  • src/NeuralNetworks/Layers/SpectralNormalizationLayer.cs
  • src/NeuralNetworks/Layers/SpikingLayer.cs
  • src/NeuralNetworks/Layers/SpikingNetworkCore.cs
  • src/NeuralNetworks/Layers/SpiralConvLayer.cs
  • src/NeuralNetworks/Layers/SplitLayer.cs
  • src/NeuralNetworks/Layers/SpyNetLayer.cs
  • src/NeuralNetworks/Layers/SqueezeAndExcitationLayer.cs
  • src/NeuralNetworks/Layers/StarCoder2DecoderBlock.cs
  • src/NeuralNetworks/Layers/SubpixelConvolutionalLayer.cs
  • src/NeuralNetworks/Layers/SwinPatchEmbeddingLayer.cs
  • src/NeuralNetworks/Layers/SwinPatchMergingLayer.cs
  • src/NeuralNetworks/Layers/SwinTransformerBlockLayer.cs
  • src/NeuralNetworks/Layers/SynapticPlasticityLayer.cs
  • src/NeuralNetworks/Layers/T5RelativeBiasAttentionLayer.cs
  • src/NeuralNetworks/Layers/TabNetEncoderLayer.cs
  • src/NeuralNetworks/Layers/TemporalConv3DLayer.cs
  • src/NeuralNetworks/Layers/TemporalMemoryLayer.cs
  • src/NeuralNetworks/Layers/TemporalProcessorModule.cs
  • src/NeuralNetworks/Layers/TimeDistributedLayer.cs
  • src/NeuralNetworks/Layers/TimeEmbeddingLayer.cs
  • src/NeuralNetworks/Layers/TimeSformerBlockLayer.cs
  • src/NeuralNetworks/Layers/TransformerDecoderBlock.cs
  • src/NeuralNetworks/Layers/TransformerDecoderLayer.cs
  • src/NeuralNetworks/Layers/TransformerEncoderLayer.cs
  • src/NeuralNetworks/Layers/TransitionLayer.cs
  • src/NeuralNetworks/Layers/UNetDiscriminator.cs
  • src/NeuralNetworks/Layers/Upsample3DLayer.cs
  • src/NeuralNetworks/Layers/UpsamplingLayer.cs
  • src/NeuralNetworks/Layers/VGGishAudioEmbedding.cs
  • src/NeuralNetworks/Layers/VocosGeneratorLayer.cs
  • src/NeuralNetworks/Layers/WordCharEmbeddingLayer.cs
  • src/NeuralNetworks/LiquidStateMachine.cs
  • src/NeuralNetworks/Mamba2LanguageModel.cs
  • src/NeuralNetworks/MambaLanguageModel.cs
  • src/NeuralNetworks/MatryoshkaEmbedding.cs
  • src/NeuralNetworks/MemoryNetwork.cs
  • src/NeuralNetworks/MeshCNN.cs
  • src/NeuralNetworks/MixtureOfExpertsNeuralNetwork.cs
  • src/NeuralNetworks/MobileNetV2Network.cs
  • src/NeuralNetworks/MobileNetV3Network.cs
  • src/NeuralNetworks/NEAT.cs
  • src/NeuralNetworks/NeuralNetwork.cs
  • src/NeuralNetworks/NeuralNetworkArchitecture.cs
  • src/NeuralNetworks/NeuralNetworkBase.cs
  • src/NeuralNetworks/NeuralTuringMachine.cs
  • src/NeuralNetworks/OccupancyNeuralNetwork.cs
  • src/NeuralNetworks/OctonionNeuralNetwork.cs
  • src/NeuralNetworks/Pix2Pix.cs
  • src/NeuralNetworks/ProgressiveGAN.cs
  • src/NeuralNetworks/QuantumNeuralNetwork.cs
  • src/NeuralNetworks/RWKV4LanguageModel.cs
  • src/NeuralNetworks/RWKV7LanguageModel.cs
  • src/NeuralNetworks/RadialBasisFunctionNetwork.cs
  • src/NeuralNetworks/RecurrentGemmaLanguageModel.cs
  • src/NeuralNetworks/RecurrentNeuralNetwork.cs
  • src/NeuralNetworks/ResNetNetwork.cs
  • src/NeuralNetworks/ResidualNeuralNetwork.cs
  • src/NeuralNetworks/RestrictedBoltzmannMachine.cs
  • src/NeuralNetworks/SAGAN.cs
  • src/NeuralNetworks/SGPT.cs
  • src/NeuralNetworks/SPLADE.cs
  • src/NeuralNetworks/SambaLanguageModel.cs
  • src/NeuralNetworks/SelfOrganizingMap.cs
  • src/NeuralNetworks/SiameseNetwork.cs
  • src/NeuralNetworks/SiameseNeuralNetwork.cs
  • src/NeuralNetworks/SimCSE.cs
  • src/NeuralNetworks/SparseNeuralNetwork.cs
  • src/NeuralNetworks/SpikingNeuralNetwork.cs
  • src/NeuralNetworks/SpiralNet.cs
  • src/NeuralNetworks/StyleGAN.cs
  • src/NeuralNetworks/SuperNet.cs
  • src/NeuralNetworks/SyntheticData/AIMGenerator.cs
  • src/NeuralNetworks/SyntheticData/AutoDiffTabGenerator.cs
  • src/NeuralNetworks/SyntheticData/CTABGANPlusGenerator.cs
  • src/NeuralNetworks/SyntheticData/CTGANGenerator.cs
  • src/NeuralNetworks/SyntheticData/CausalGANGenerator.cs
  • src/NeuralNetworks/SyntheticData/ColumnMetadata.cs
  • src/NeuralNetworks/SyntheticData/CopulaGANGenerator.cs
  • src/NeuralNetworks/SyntheticData/DPCTGANGenerator.cs
  • src/NeuralNetworks/SyntheticData/FinDiffGenerator.cs
  • src/NeuralNetworks/SyntheticData/GOGGLEGenerator.cs
  • src/NeuralNetworks/SyntheticData/MedGANGenerator.cs
  • src/NeuralNetworks/SyntheticData/MisGANGenerator.cs
  • src/NeuralNetworks/SyntheticData/OCTGANGenerator.cs
  • src/NeuralNetworks/SyntheticData/PATEGANGenerator.cs
  • src/NeuralNetworks/SyntheticData/REaLTabFormerGenerator.cs
  • src/NeuralNetworks/SyntheticData/SMOTENCGenerator.cs
  • src/NeuralNetworks/SyntheticData/TVAEGenerator.cs
  • src/NeuralNetworks/SyntheticData/TabDDPMGenerator.cs
  • src/NeuralNetworks/SyntheticData/TabFlowGenerator.cs
  • src/NeuralNetworks/SyntheticData/TabLLMGenGenerator.cs
  • src/NeuralNetworks/SyntheticData/TabSynGenerator.cs
  • src/NeuralNetworks/SyntheticData/TabTransformerGenGenerator.cs
  • src/NeuralNetworks/SyntheticData/TableGANGenerator.cs
  • src/NeuralNetworks/SyntheticData/TabularDataTransformer.cs
  • src/NeuralNetworks/SyntheticData/TimeGANGenerator.cs
  • src/NeuralNetworks/Tabular/AutoIntBase.cs
  • src/NeuralNetworks/Tabular/AutoIntClassifier.cs
  • src/NeuralNetworks/Tabular/AutoIntNetwork.cs
  • src/NeuralNetworks/Tabular/AutoIntRegression.cs
  • src/NeuralNetworks/Tabular/CLSToken.cs
  • src/NeuralNetworks/Tabular/ColumnEmbedding.cs
  • src/NeuralNetworks/Tabular/ContextEncoder.cs
  • src/NeuralNetworks/Tabular/ContrastivePretraining.cs
  • src/NeuralNetworks/Tabular/FTTransformerBase.cs
  • src/NeuralNetworks/Tabular/FTTransformerClassifier.cs
  • src/NeuralNetworks/Tabular/FTTransformerNetwork.cs
  • src/NeuralNetworks/Tabular/FTTransformerRegression.cs
  • src/NeuralNetworks/Tabular/FeatureTokenizer.cs
  • src/NeuralNetworks/Tabular/GANDALFBase.cs
  • src/NeuralNetworks/Tabular/GANDALFClassifier.cs
  • src/NeuralNetworks/Tabular/GANDALFNetwork.cs
  • src/NeuralNetworks/Tabular/GANDALFRegression.cs
  • src/NeuralNetworks/Tabular/GhostBatchNormalization.cs
  • src/NeuralNetworks/Tabular/MambularBase.cs
  • src/NeuralNetworks/Tabular/MambularClassifier.cs
  • src/NeuralNetworks/Tabular/MambularNetwork.cs
  • src/NeuralNetworks/Tabular/MambularRegression.cs
  • src/NeuralNetworks/Tabular/NODEBase.cs
  • src/NeuralNetworks/Tabular/NODEClassifier.cs
  • src/NeuralNetworks/Tabular/NODENetwork.cs
  • src/NeuralNetworks/Tabular/NODERegression.cs
  • src/NeuralNetworks/Tabular/SAINTBase.cs
  • src/NeuralNetworks/Tabular/SAINTClassifier.cs
  • src/NeuralNetworks/Tabular/SAINTNetwork.cs
  • src/NeuralNetworks/Tabular/SAINTRegression.cs
  • src/NeuralNetworks/Tabular/TabDPTBase.cs
  • src/NeuralNetworks/Tabular/TabDPTClassifier.cs
  • src/NeuralNetworks/Tabular/TabDPTNetwork.cs
  • src/NeuralNetworks/Tabular/TabDPTRegression.cs
  • src/NeuralNetworks/Tabular/TabMBase.cs
  • src/NeuralNetworks/Tabular/TabMClassifier.cs
  • src/NeuralNetworks/Tabular/TabMNetwork.cs
  • src/NeuralNetworks/Tabular/TabMRegression.cs
  • src/NeuralNetworks/Tabular/TabNetNetwork.cs
  • src/NeuralNetworks/Tabular/TabPFNBase.cs
  • src/NeuralNetworks/Tabular/TabPFNClassifier.cs
  • src/NeuralNetworks/Tabular/TabPFNNetwork.cs
  • src/NeuralNetworks/Tabular/TabPFNRegression.cs
  • src/NeuralNetworks/Tabular/TabRBase.cs
  • src/NeuralNetworks/Tabular/TabRClassifier.cs
  • src/NeuralNetworks/Tabular/TabRNetwork.cs
  • src/NeuralNetworks/Tabular/TabRRegression.cs
  • src/NeuralNetworks/Tabular/TabTransformerBase.cs
  • src/NeuralNetworks/Tabular/TabTransformerClassifier.cs
  • src/NeuralNetworks/Tabular/TabTransformerNetwork.cs
  • src/NeuralNetworks/Tabular/TabTransformerRegression.cs
  • src/NeuralNetworks/Tasks/Graph/GraphClassificationModel.cs
  • src/NeuralNetworks/Tasks/Graph/LinkPredictionModel.cs
  • src/NeuralNetworks/Tasks/Graph/NodeClassificationModel.cs
  • src/NeuralNetworks/Transformer.cs
  • src/NeuralNetworks/TransformerEmbeddingNetwork.cs
  • src/NeuralNetworks/UNet3D.cs
  • src/NeuralNetworks/UnifiedMultimodalNetwork.cs
  • src/NeuralNetworks/VGGNetwork.cs
  • src/NeuralNetworks/VariationalAutoencoder.cs
  • src/NeuralNetworks/VideoCLIPNeuralNetwork.cs
  • src/NeuralNetworks/VisionMambaModel.cs
  • src/NeuralNetworks/VisionTransformer.cs
  • src/NeuralNetworks/VoxelCNN.cs
  • src/NeuralNetworks/WGAN.cs
  • src/NeuralNetworks/WGANGP.cs
  • src/NeuralNetworks/Word2Vec.cs
  • src/NeuralNetworks/XLSTMLanguageModel.cs
  • src/NeuralNetworks/Zamba2LanguageModel.cs
  • src/NeuralNetworks/ZambaLanguageModel.cs
  • src/NeuralRadianceFields/Models/GaussianSplatting.cs
  • src/NeuralRadianceFields/Models/InstantNGP.cs
  • src/NeuralRadianceFields/Models/NeRF.cs
  • src/OnlineLearning/OnlineLearningModelBase.cs
  • src/OnlineLearning/OnlinePassiveAggressiveClassifier.cs
  • src/OnlineLearning/OnlinePassiveAggressiveRegressor.cs
  • src/OnlineLearning/OnlineSGDClassifier.cs
  • src/OnlineLearning/OnlineSGDRegressor.cs
  • src/Optimizers/ADMMOptimizer.cs
  • src/Optimizers/AMSGradOptimizer.cs
  • src/Optimizers/ASGDOptimizer.cs
  • src/Optimizers/AdaDeltaOptimizer.cs
  • src/Optimizers/AdaMaxOptimizer.cs
  • src/Optimizers/AdagradOptimizer.cs
  • src/Optimizers/Adam8BitOptimizer.cs
  • src/Optimizers/AdamOptimizer.cs
  • src/Optimizers/AdamWOptimizer.cs
  • src/Optimizers/AntColonyOptimizer.cs
  • src/Optimizers/BFGSOptimizer.cs
  • src/Optimizers/BayesianOptimizer.cs
  • src/Optimizers/CMAESOptimizer.cs
  • src/Optimizers/ConjugateGradientOptimizer.cs
  • src/Optimizers/CoordinateDescentOptimizer.cs
  • src/Optimizers/DFPOptimizer.cs
  • src/Optimizers/DifferentialEvolutionOptimizer.cs
  • src/Optimizers/FTRLOptimizer.cs
  • src/Optimizers/GeneticAlgorithmOptimizer.cs
  • src/Optimizers/GradientBasedOptimizerBase.cs
  • src/Optimizers/GradientDescentOptimizer.cs
  • src/Optimizers/LAMBOptimizer.cs
  • src/Optimizers/LARSOptimizer.cs
  • src/Optimizers/LBFGSOptimizer.cs
  • src/Optimizers/LevenbergMarquardtOptimizer.cs
  • src/Optimizers/LionOptimizer.cs
  • src/Optimizers/MiniBatchGradientDescentOptimizer.cs
  • src/Optimizers/MomentumOptimizer.cs
  • src/Optimizers/NadamOptimizer.cs
  • src/Optimizers/NelderMeadOptimizer.cs
  • src/Optimizers/NesterovAcceleratedGradientOptimizer.cs
  • src/Optimizers/NewtonMethodOptimizer.cs
  • src/Optimizers/NormalOptimizer.cs
  • src/Optimizers/OptimizerBase.cs
  • src/Optimizers/ParticleSwarmOptimizer.cs
  • src/Optimizers/PowellOptimizer.cs
  • src/Optimizers/ProximalGradientDescentOptimizer.cs
  • src/Optimizers/RAdamOptimizer.cs
  • src/Optimizers/RootMeanSquarePropagationOptimizer.cs
  • src/Optimizers/RpropOptimizer.cs
  • src/Optimizers/SimulatedAnnealingOptimizer.cs
  • src/Optimizers/StochasticGradientDescentOptimizer.cs
  • src/Optimizers/TabuSearchOptimizer.cs
  • src/Optimizers/TrustRegionOptimizer.cs
  • src/PhysicsInformed/NeuralOperators/DeepOperatorNetwork.cs
  • src/PhysicsInformed/NeuralOperators/FourierNeuralOperator.cs
  • src/PhysicsInformed/NeuralOperators/GraphNeuralOperator.cs
  • src/PhysicsInformed/PINNs/DeepRitzMethod.cs
  • src/PhysicsInformed/PINNs/DomainDecompositionPINN.cs
  • src/PhysicsInformed/PINNs/InverseProblemPINN.cs
  • src/PhysicsInformed/PINNs/MultiScalePINN.cs
  • src/PhysicsInformed/PINNs/PhysicsInformedNeuralNetwork.cs
  • src/PhysicsInformed/PINNs/VariationalPINN.cs
  • src/PhysicsInformed/ScientificML/HamiltonianNeuralNetwork.cs
  • src/PhysicsInformed/ScientificML/LagrangianNeuralNetwork.cs
  • src/PhysicsInformed/ScientificML/SymbolicPhysicsLearner.cs
  • src/PhysicsInformed/ScientificML/UniversalDifferentialEquations.cs
  • src/PointCloud/Layers/PointConvolutionLayer.cs
  • src/PointCloud/Layers/TNetLayer.cs
  • src/PointCloud/Models/DGCNN.cs
  • src/PointCloud/Models/PointNet.cs
  • src/PointCloud/Models/PointNetPlusPlus.cs
  • src/Preprocessing/Imputers/KNNImputer.cs
  • src/Preprocessing/Imputers/SimpleImputer.cs
  • src/Preprocessing/OutlierHandling/DetectorBasedFilter.cs
  • src/Preprocessing/PowerTransforms/PowerTransformer.cs
  • src/Preprocessing/Scalers/DecimalScaler.cs
  • src/Preprocessing/Scalers/GlobalContrastScaler.cs
  • src/Preprocessing/Scalers/LogMeanVarianceScaler.cs
  • src/Preprocessing/Scalers/LogScaler.cs
  • src/Preprocessing/Scalers/LpNormScaler.cs
  • src/Preprocessing/Scalers/MaxAbsScaler.cs
  • src/Preprocessing/Scalers/MinMaxScaler.cs
  • src/Preprocessing/Scalers/RobustScaler.cs
  • src/Preprocessing/Scalers/StandardScaler.cs
  • src/ProgramSynthesis/Engines/CodeBERT.cs
  • src/ProgramSynthesis/Engines/CodeModelBase.cs
  • src/ProgramSynthesis/Engines/CodeT5.cs
  • src/ProgramSynthesis/Engines/GraphCodeBERT.cs
  • src/ProgramSynthesis/Engines/NeuralProgramSynthesizer.cs
  • src/Pruning/PruningMask.cs
  • src/Reasoning/Training/PolicyGradientTrainer.cs
  • src/Regression/AdaBoostR2Regression.cs
  • src/Regression/BayesianRegression.cs
  • src/Regression/BetaRegression.cs
  • src/Regression/ConditionalInferenceTreeRegression.cs
  • src/Regression/DARTRegression.cs
  • src/Regression/DecisionTreeAsyncRegressionBase.cs
  • src/Regression/DecisionTreeRegression.cs
  • src/Regression/DecisionTreeRegressionBase.cs
  • src/Regression/DeepHit.cs
  • src/Regression/DeepSurv.cs
  • src/Regression/ElasticNetRegression.cs
  • src/Regression/ExplainableBoostingMachineRegression.cs
  • src/Regression/ExtremelyRandomizedTreesRegression.cs
  • src/Regression/GAMLSSRegression.cs
  • src/Regression/GammaRegression.cs
  • src/Regression/GaussianProcessRegression.cs
  • src/Regression/GeneralizedAdditiveModelRegression.cs
  • src/Regression/GeneticAlgorithmRegression.cs
  • src/Regression/GradientBoostingRegression.cs
  • src/Regression/HistGradientBoostingRegression.cs
  • src/Regression/InverseGaussianRegression.cs
  • src/Regression/IsotonicRegression.cs
  • src/Regression/KNearestNeighborsRegression.cs
  • src/Regression/KernelRidgeRegression.cs
  • src/Regression/LassoRegression.cs
  • src/Regression/LocallyWeightedRegression.cs
  • src/Regression/LogisticRegression.cs
  • src/Regression/M5ModelTreeRegression.cs
  • src/Regression/MixedEffects/GeneralizedLinearMixedModel.cs
  • src/Regression/MixedEffects/LinearMixedModel.cs
  • src/Regression/MixedEffectsModel.cs
  • src/Regression/MultilayerPerceptronRegression.cs
  • src/Regression/MultinomialLogisticRegression.cs
  • src/Regression/MultipleRegression.cs
  • src/Regression/MultivariateRegression.cs
  • src/Regression/NGBoostRegression.cs
  • src/Regression/NegativeBinomialRegression.cs
  • src/Regression/NeuralNetworkRegression.cs
  • src/Regression/NonLinearRegressionBase.cs
  • src/Regression/OrthogonalRegression.cs
  • src/Regression/PartialLeastSquaresRegression.cs
  • src/Regression/PoissonRegression.cs
  • src/Regression/PolynomialRegression.cs
  • src/Regression/PrincipalComponentRegression.cs
  • src/Regression/QuantileRegression.cs
  • src/Regression/QuantileRegressionForests.cs
  • src/Regression/RadialBasisFunctionRegression.cs
  • src/Regression/RandomForestRegression.cs
  • src/Regression/RegressionBase.cs
  • src/Regression/RidgeRegression.cs
  • src/Regression/RobustRegression.cs
  • src/Regression/SimpleRegression.cs
  • src/Regression/SplineRegression.cs
  • src/Regression/StepwiseRegression.cs
  • src/Regression/SuperLearner.cs
  • src/Regression/SupportVectorRegression.cs
  • src/Regression/SymbolicRegression.cs
  • src/Regression/TimeSeriesRegression.cs
  • src/Regression/TweedieRegression.cs
  • src/Regression/WeightedRegression.cs
  • src/Regression/ZeroInflatedRegression.cs
  • src/ReinforcementLearning/Agents/A2CAgent.cs
  • src/ReinforcementLearning/Agents/A3CAgent.cs
  • src/ReinforcementLearning/Agents/CQLAgent.cs
  • src/ReinforcementLearning/Agents/DDPGAgent.cs
  • src/ReinforcementLearning/Agents/DQNAgent.cs
  • src/ReinforcementLearning/Agents/DecisionTransformerAgent.cs
  • src/ReinforcementLearning/Agents/DeepReinforcementLearningAgentBase.cs
  • src/ReinforcementLearning/Agents/DoubleDQNAgent.cs
  • src/ReinforcementLearning/Agents/DoubleQLearningAgent.cs
  • src/ReinforcementLearning/Agents/DreamerAgent.cs
  • src/ReinforcementLearning/Agents/DuelingDQNAgent.cs
  • src/ReinforcementLearning/Agents/DynaQAgent.cs
  • src/ReinforcementLearning/Agents/DynaQPlusAgent.cs
  • src/ReinforcementLearning/Agents/EpsilonGreedyBanditAgent.cs
  • src/ReinforcementLearning/Agents/EveryVisitMonteCarloAgent.cs
  • src/ReinforcementLearning/Agents/ExpectedSARSAAgent.cs
  • src/ReinforcementLearning/Agents/FirstVisitMonteCarloAgent.cs
  • src/ReinforcementLearning/Agents/GradientBanditAgent.cs
  • src/ReinforcementLearning/Agents/IQLAgent.cs
  • src/ReinforcementLearning/Agents/LSPIAgent.cs
  • src/ReinforcementLearning/Agents/LSTDAgent.cs
  • src/ReinforcementLearning/Agents/LinearQLearningAgent.cs
  • src/ReinforcementLearning/Agents/LinearSARSAAgent.cs
  • src/ReinforcementLearning/Agents/MADDPGAgent.cs
  • src/ReinforcementLearning/Agents/ModifiedPolicyIterationAgent.cs
  • src/ReinforcementLearning/Agents/MonteCarloExploringStartsAgent.cs
  • src/ReinforcementLearning/Agents/MuZeroAgent.cs
  • src/ReinforcementLearning/Agents/NStepQLearningAgent.cs
  • src/ReinforcementLearning/Agents/NStepSARSAAgent.cs
  • src/ReinforcementLearning/Agents/OffPolicyMonteCarloAgent.cs
  • src/ReinforcementLearning/Agents/OnPolicyMonteCarloAgent.cs
  • src/ReinforcementLearning/Agents/PPOAgent.cs
  • src/ReinforcementLearning/Agents/PolicyIterationAgent.cs
  • src/ReinforcementLearning/Agents/PrioritizedSweepingAgent.cs
  • src/ReinforcementLearning/Agents/QLambdaAgent.cs
  • src/ReinforcementLearning/Agents/QMIXAgent.cs
  • src/ReinforcementLearning/Agents/REINFORCEAgent.cs
  • src/ReinforcementLearning/Agents/RainbowDQNAgent.cs
  • src/ReinforcementLearning/Agents/ReinforcementLearningAgentBase.cs
  • src/ReinforcementLearning/Agents/SACAgent.cs
  • src/ReinforcementLearning/Agents/SARSAAgent.cs
  • src/ReinforcementLearning/Agents/SARSALambdaAgent.cs
  • src/ReinforcementLearning/Agents/TD3Agent.cs
  • src/ReinforcementLearning/Agents/TRPOAgent.cs
  • src/ReinforcementLearning/Agents/TabularActorCriticAgent.cs
  • src/ReinforcementLearning/Agents/TabularQLearningAgent.cs
  • src/ReinforcementLearning/Agents/ThompsonSamplingAgent.cs
  • src/ReinforcementLearning/Agents/UCBBanditAgent.cs
  • src/ReinforcementLearning/Agents/ValueIterationAgent.cs
  • src/ReinforcementLearning/Agents/WatkinsQLambdaAgent.cs
  • src/ReinforcementLearning/Agents/WorldModelsAgent.cs
  • src/ReinforcementLearning/Environments/DeterministicBanditEnvironment.cs
  • src/ReinforcementLearning/Policies/Exploration/OrnsteinUhlenbeckNoise.cs
  • src/ReinforcementLearning/Policies/PolicyBase.cs
  • src/RetrievalAugmentedGeneration/Embeddings/SentenceTransformersFineTuner.cs
  • src/RetrievalAugmentedGeneration/Embeddings/StaticWordEmbeddingModel.cs
  • src/Safety/Adversarial/AdversarialImageEvaluator.cs
  • src/SelfSupervisedLearning/CenteringMechanism.cs
  • src/SelfSupervisedLearning/Evaluation/KNNEvaluator.cs
  • src/SelfSupervisedLearning/LinearProjector.cs
  • src/SelfSupervisedLearning/MLPProjector.cs
  • src/SelfSupervisedLearning/SelfSupervisedLearningSession.cs
  • src/SelfSupervisedLearning/SymmetricProjector.cs
  • src/Serialization/DelegateState.cs
  • src/Serialization/ExpressionState.cs
  • src/Serialization/GraphTrace.cs
  • src/Serialization/LayerFactoryRegistry.cs
  • src/Serialization/LayerStateBag.cs
  • src/SpeechRecognition/AlibabaASR/FunASRNano.cs
  • src/SpeechRecognition/AlibabaASR/Paraformer.cs
  • src/SpeechRecognition/AlibabaASR/ParaformerLarge.cs
  • src/SpeechRecognition/AlibabaASR/Qwen3ASR.cs
  • src/SpeechRecognition/AlibabaASR/Qwen3ASRSmall.cs
  • src/SpeechRecognition/AlibabaASR/SeACo.cs
  • src/SpeechRecognition/AlibabaASR/SenseVoice.cs
  • src/SpeechRecognition/AlibabaASR/SenseVoiceLarge.cs
  • src/SpeechRecognition/CTCVariants/Branchformer.cs
  • src/SpeechRecognition/CTCVariants/CIFDecoder.cs
  • src/SpeechRecognition/CTCVariants/CTCSegmentation.cs
  • src/SpeechRecognition/CTCVariants/EBranchformer.cs
  • src/SpeechRecognition/CTCVariants/InterCTC.cs
  • src/SpeechRecognition/CTCVariants/SelfConditionedCTC.cs
  • src/SpeechRecognition/ConformerFamily/Branchformer.cs
  • src/SpeechRecognition/ConformerFamily/CIFEncoder.cs
  • src/SpeechRecognition/ConformerFamily/ConformerCTC.cs
  • src/SpeechRecognition/ConformerFamily/ConformerTransducer.cs
  • src/SpeechRecognition/ConformerFamily/ContextNet.cs
  • src/SpeechRecognition/ConformerFamily/ConvTransformer.cs
  • src/SpeechRecognition/ConformerFamily/EBranchformer.cs
  • src/SpeechRecognition/ConformerFamily/EfficientConformer.cs
  • src/SpeechRecognition/ConformerFamily/RWKVTransducer.cs
  • src/SpeechRecognition/ConformerFamily/Squeezeformer.cs
  • src/SpeechRecognition/Foundation/BESTRQ.cs
  • src/SpeechRecognition/Foundation/Data2VecASR.cs
  • src/SpeechRecognition/Foundation/HuBERTASR.cs
  • src/SpeechRecognition/Foundation/SPIRAL.cs
  • src/SpeechRecognition/Foundation/UniSpeech.cs
  • src/SpeechRecognition/Foundation/W2vBERT.cs
  • src/SpeechRecognition/Foundation/Wav2Vec2ASR.cs
  • src/SpeechRecognition/Foundation/WavLMASR.cs
  • src/SpeechRecognition/LLMIntegrated/AudioPaLM.cs
  • src/SpeechRecognition/LLMIntegrated/FireRedASR.cs
  • src/SpeechRecognition/LLMIntegrated/FireRedASRLLM.cs
  • src/SpeechRecognition/LLMIntegrated/GraniteSpeech.cs
  • src/SpeechRecognition/LLMIntegrated/OLMoASR.cs
  • src/SpeechRecognition/LLMIntegrated/Phi4Audio.cs
  • src/SpeechRecognition/LLMIntegrated/SALM.cs
  • src/SpeechRecognition/LLMIntegrated/SambaASR.cs
  • src/SpeechRecognition/LLMIntegrated/SeedASR.cs
  • src/SpeechRecognition/LLMIntegrated/SpeechGPTASR.cs
  • src/SpeechRecognition/Multilingual/Chirp.cs
  • src/SpeechRecognition/Multilingual/Chirp2.cs
  • src/SpeechRecognition/Multilingual/Chirp3.cs
  • src/SpeechRecognition/Multilingual/MMS.cs
  • src/SpeechRecognition/Multilingual/OWSM.cs
  • src/SpeechRecognition/Multilingual/OmnilangualASR.cs
  • src/SpeechRecognition/Multilingual/USM.cs
  • src/SpeechRecognition/Multilingual/XLSR.cs
  • src/SpeechRecognition/NeMo/CanaryFlash.cs
  • src/SpeechRecognition/NeMo/CanaryQwen.cs
  • src/SpeechRecognition/NeMo/NeMoCitrinet.cs
  • src/SpeechRecognition/NeMo/NeMoMultitask.cs
  • src/SpeechRecognition/NeMo/NemotronSpeech.cs
  • src/SpeechRecognition/NeMo/ParakeetCTC.cs
  • src/SpeechRecognition/NeMo/ParakeetRNNT.cs
  • src/SpeechRecognition/NeMo/ParakeetTDT.cs
  • src/SpeechRecognition/ProprietaryAPI/AWSTranscribe.cs
  • src/SpeechRecognition/ProprietaryAPI/AssemblyAIUniversal2.cs
  • src/SpeechRecognition/ProprietaryAPI/AzureSpeechSTT.cs
  • src/SpeechRecognition/ProprietaryAPI/DeepgramNova2.cs
  • src/SpeechRecognition/ProprietaryAPI/GladiaASR.cs
  • src/SpeechRecognition/ProprietaryAPI/GoogleSpeechV2.cs
  • src/SpeechRecognition/ProprietaryAPI/GroqWhisper.cs
  • src/SpeechRecognition/ProprietaryAPI/RevAI.cs
  • src/SpeechRecognition/ProprietaryAPI/SarvamASR.cs
  • src/SpeechRecognition/ProprietaryAPI/SpeechmaticsASR.cs
  • src/SpeechRecognition/Robust/AVHuBERT.cs
  • src/SpeechRecognition/Robust/ESPnetASR.cs
  • src/SpeechRecognition/Robust/NoiseRobustASR.cs
  • src/SpeechRecognition/Robust/RobustConformer.cs
  • src/SpeechRecognition/Robust/SpeechBrain.cs
  • src/SpeechRecognition/Robust/WavLMRobust.cs
  • src/SpeechRecognition/Specialized/CodeSwitchingASR.cs
  • src/SpeechRecognition/Specialized/KeywordSpotting.cs
  • src/SpeechRecognition/Specialized/MedicalASR.cs
  • src/SpeechRecognition/Specialized/SpeakerDiarizedASR.cs
  • src/SpeechRecognition/Specialized/VoxtLM.cs
  • src/SpeechRecognition/Specialized/WhisperCPP.cs
  • src/SpeechRecognition/Streaming/EmformerRNNT.cs
  • src/SpeechRecognition/Streaming/FastEmit.cs
  • src/SpeechRecognition/Streaming/KyutaiMoshi.cs
  • src/SpeechRecognition/Streaming/Moonshine.cs
  • src/SpeechRecognition/Streaming/MoonshineBase.cs
  • src/SpeechRecognition/Streaming/StreamingConformer.cs
  • src/SpeechRecognition/Streaming/StreamingZipformer.cs
  • src/SpeechRecognition/Streaming/TDTDecoder.cs
  • src/SpeechRecognition/WhisperFamily/DistilWhisper.cs
  • src/SpeechRecognition/WhisperFamily/FasterWhisper.cs
  • src/SpeechRecognition/WhisperFamily/KotobaWhisper.cs
  • src/SpeechRecognition/WhisperFamily/WhisperLargeV3.cs
  • src/SpeechRecognition/WhisperFamily/WhisperLargeV3Turbo.cs
  • src/SpeechRecognition/WhisperFamily/WhisperLive.cs
  • src/SpeechRecognition/WhisperFamily/WhisperTimestamped.cs
  • src/SpeechRecognition/WhisperFamily/WhisperX.cs
  • src/Statistics/BasicStats.cs
  • src/Statistics/ModelStats.cs
  • src/SurvivalAnalysis/CoxProportionalHazards.cs
  • src/SurvivalAnalysis/KaplanMeierEstimator.cs
  • src/SurvivalAnalysis/LogNormalAFT.cs
  • src/SurvivalAnalysis/NelsonAalenEstimator.cs
  • src/SurvivalAnalysis/RandomSurvivalForest.cs
  • src/SurvivalAnalysis/SurvivalModelBase.cs
  • src/SurvivalAnalysis/WeibullAFT.cs
  • src/TextToSpeech/Classic/AdaSpeech.cs
  • src/TextToSpeech/Classic/AdaSpeech2.cs
  • src/TextToSpeech/Classic/AlignTTS.cs
  • src/TextToSpeech/Classic/DeepVoice3.cs
  • src/TextToSpeech/Classic/FastSpeech.cs
  • src/TextToSpeech/Classic/FastSpeech2.cs
  • src/TextToSpeech/Classic/ForwardTacotron.cs
  • src/TextToSpeech/Classic/GlowTTS.cs
  • src/TextToSpeech/Classic/GradTTS.cs
  • src/TextToSpeech/Classic/PortaSpeech.cs
  • src/TextToSpeech/Classic/ProDiff.cs
  • src/TextToSpeech/Classic/SpeedySpeech.cs
  • src/TextToSpeech/Classic/Tacotron.cs
  • src/TextToSpeech/Classic/Tacotron2.cs
  • src/TextToSpeech/Classic/TransformerTTS.cs
  • src/TextToSpeech/CodecBased/Amphion.cs
  • src/TextToSpeech/CodecBased/AudioLM.cs
  • src/TextToSpeech/CodecBased/Bark.cs
  • src/TextToSpeech/CodecBased/BarkModel.cs
  • src/TextToSpeech/CodecBased/CSM.cs
  • src/TextToSpeech/CodecBased/ChatTTS.cs
  • src/TextToSpeech/CodecBased/CosyVoice.cs
  • src/TextToSpeech/CodecBased/CosyVoice2.cs
  • src/TextToSpeech/CodecBased/CosyVoice3.cs
  • src/TextToSpeech/CodecBased/Dia.cs
  • src/TextToSpeech/CodecBased/FireRedTTS.cs
  • src/TextToSpeech/CodecBased/FishSpeech.cs
  • src/TextToSpeech/CodecBased/FishSpeechV15.cs
  • src/TextToSpeech/CodecBased/GPTSoVITS.cs
  • src/TextToSpeech/CodecBased/IndexTTS.cs
  • src/TextToSpeech/CodecBased/Llasa.cs
  • src/TextToSpeech/CodecBased/MARS5TTS.cs
  • src/TextToSpeech/CodecBased/NaturalSpeech.cs
  • src/TextToSpeech/CodecBased/NaturalSpeech2.cs
  • src/TextToSpeech/CodecBased/NaturalSpeech3.cs
  • src/TextToSpeech/CodecBased/OrpheusTTS.cs
  • src/TextToSpeech/CodecBased/SPEARTTS.cs
  • src/TextToSpeech/CodecBased/SeedTTS.cs
  • src/TextToSpeech/CodecBased/SoundStorm.cs
  • src/TextToSpeech/CodecBased/SparkTTS.cs
  • src/TextToSpeech/CodecBased/TortoiseTTS.cs
  • src/TextToSpeech/CodecBased/UniAudio.cs
  • src/TextToSpeech/CodecBased/VALLE.cs
  • src/TextToSpeech/CodecBased/VALLE2.cs
  • src/TextToSpeech/CodecBased/VALLEX.cs
  • src/TextToSpeech/CodecBased/VoiceCraft.cs
  • src/TextToSpeech/CodecBased/Voicebox.cs
  • src/TextToSpeech/CodecBased/Zonos.cs
  • src/TextToSpeech/DescriptionBased/ParlerTTS.cs
  • src/TextToSpeech/DescriptionBased/PromptTTS.cs
  • src/TextToSpeech/EndToEnd/Kokoro.cs
  • src/TextToSpeech/EndToEnd/MeloTTS.cs
  • src/TextToSpeech/EndToEnd/Piper.cs
  • src/TextToSpeech/EndToEnd/VITS.cs
  • src/TextToSpeech/EndToEnd/VITS2.cs
  • src/TextToSpeech/EndToEnd/YourTTS.cs
  • src/TextToSpeech/FlowDiffusion/CoMoSpeech.cs
  • src/TextToSpeech/FlowDiffusion/DiTToTTS.cs
  • src/TextToSpeech/FlowDiffusion/E2TTS.cs
  • src/TextToSpeech/FlowDiffusion/E3TTS.cs
  • src/TextToSpeech/FlowDiffusion/F5TTS.cs
  • src/TextToSpeech/FlowDiffusion/MaskGCT.cs
  • src/TextToSpeech/FlowDiffusion/MatchaTTS.cs
  • src/TextToSpeech/FlowDiffusion/VoiceFlow.cs
  • src/TextToSpeech/Latest/IndexTTS2.cs
  • src/TextToSpeech/Latest/KaniTTS.cs
  • src/TextToSpeech/Latest/KaniTTS2.cs
  • src/TextToSpeech/Latest/MegaTTS.cs
  • src/TextToSpeech/Latest/MegaTTS2.cs
  • src/TextToSpeech/Latest/MegaTTS3.cs
  • src/TextToSpeech/Latest/OuteTTS.cs
  • src/TextToSpeech/MultiModal/AudioPaLM.cs
  • src/TextToSpeech/MultiModal/GLM4Voice.cs
  • src/TextToSpeech/MultiModal/LlamaOmni.cs
  • src/TextToSpeech/MultiModal/MinMo.cs
  • src/TextToSpeech/MultiModal/Moshi.cs
  • src/TextToSpeech/MultiModal/SpeechGPT.cs
  • src/TextToSpeech/MultiModal/SpeechT5.cs
  • src/TextToSpeech/MultiModal/SpiritLM.cs
  • src/TextToSpeech/MultiModal/StepAudio.cs
  • src/TextToSpeech/MultiModal/WhisperSpeech.cs
  • src/TextToSpeech/ProprietaryAPI/AmazonPolly.cs
  • src/TextToSpeech/ProprietaryAPI/AzureNeuralTTS.cs
  • src/TextToSpeech/ProprietaryAPI/ElevenLabsTTS.cs
  • src/TextToSpeech/ProprietaryAPI/GoogleCloudTTS.cs
  • src/TextToSpeech/ProprietaryAPI/Murf.cs
  • src/TextToSpeech/ProprietaryAPI/NVIDIARivaTTS.cs
  • src/TextToSpeech/ProprietaryAPI/Pheme.cs
  • src/TextToSpeech/ProprietaryAPI/PlayHT.cs
  • src/TextToSpeech/ProprietaryAPI/WellSaidLabs.cs
  • src/TextToSpeech/StyleEmotion/EmotiVoice.cs
  • src/TextToSpeech/StyleEmotion/StyleTTS.cs
  • src/TextToSpeech/StyleEmotion/StyleTTS2.cs
  • src/TextToSpeech/StyleEmotion/StyleTTSZS.cs
  • src/TextToSpeech/TtsModelBase.cs
  • src/TextToSpeech/Vocoders/APNet.cs
  • src/TextToSpeech/Vocoders/APNet2.cs
  • src/TextToSpeech/Vocoders/BigVGAN.cs
  • src/TextToSpeech/Vocoders/DiffWave.cs
  • src/TextToSpeech/Vocoders/FreGrad.cs
  • src/TextToSpeech/Vocoders/HiFiGAN.cs
  • src/TextToSpeech/Vocoders/ISTFTNet.cs
  • src/TextToSpeech/Vocoders/MelGAN.cs
  • src/TextToSpeech/Vocoders/MultiBandMelGAN.cs
  • src/TextToSpeech/Vocoders/ParallelWaveGAN.cs
  • src/TextToSpeech/Vocoders/PriorGrad.cs
  • src/TextToSpeech/Vocoders/UnivNet.cs
  • src/TextToSpeech/Vocoders/Vocos.cs
  • src/TextToSpeech/Vocoders/WaveGlow.cs
  • src/TextToSpeech/Vocoders/WaveGrad.cs
  • src/TextToSpeech/Vocoders/WaveNet.cs
  • src/TextToSpeech/Vocoders/WaveRNN.cs
  • src/TextToSpeech/VoiceCloning/Chatterbox.cs
  • src/TextToSpeech/VoiceCloning/CosyVoiceClone.cs
  • src/TextToSpeech/VoiceCloning/MetaVoice1B.cs
  • src/TextToSpeech/VoiceCloning/OpenVoice.cs
  • src/TextToSpeech/VoiceCloning/OpenVoiceV2.cs
  • src/TextToSpeech/VoiceCloning/SeedTTSClone.cs
  • src/TextToSpeech/VoiceCloning/VALLEXClone.cs
  • src/TextToSpeech/VoiceCloning/XTTSv2.cs
  • src/TextToSpeech/VoiceCloning/XTTSv2Clone.cs
  • src/TimeSeries/ARIMAModel.cs
  • src/TimeSeries/ARIMAXModel.cs
  • src/TimeSeries/ARMAModel.cs
  • src/TimeSeries/ARModel.cs
  • src/TimeSeries/AnomalyDetection/DeepANT.cs
  • src/TimeSeries/AnomalyDetection/LSTMVAE.cs
  • src/TimeSeries/AnomalyDetection/TimeSeriesIsolationForest.cs
  • src/TimeSeries/AutoformerModel.cs
  • src/TimeSeries/BayesianStructuralTimeSeriesModel.cs
  • src/TimeSeries/ChronosFoundationModel.cs
  • src/TimeSeries/DLinearModel.cs
  • src/TimeSeries/DeepARDistributionHeads.cs
  • src/TimeSeries/DeepARModel.cs
  • src/TimeSeries/DynamicRegressionWithARIMAErrors.cs
  • src/TimeSeries/ExponentialSmoothingModel.cs
  • src/TimeSeries/GARCHModel.cs
  • src/TimeSeries/InformerModel.cs
  • src/TimeSeries/InterventionAnalysisModel.cs
  • src/TimeSeries/MAModel.cs
  • src/TimeSeries/NBEATSModel.cs
  • src/TimeSeries/NHiTSModel.cs
  • src/TimeSeries/NLinearModel.cs
  • src/TimeSeries/NeuralNetworkARIMAModel.cs
  • src/TimeSeries/ProphetModel.cs
  • src/TimeSeries/SARIMAModel.cs
  • src/TimeSeries/STLDecomposition.cs
  • src/TimeSeries/SpectralAnalysisModel.cs
  • src/TimeSeries/StateSpaceModel.cs
  • src/TimeSeries/TBATSModel.cs
  • src/TimeSeries/TFT/GatedResidualNetwork.cs
  • src/TimeSeries/TemporalFusionTransformer.cs
  • src/TimeSeries/TiDEModel.cs
  • src/TimeSeries/TimeSeriesModelBase.cs
  • src/TimeSeries/TransferFunctionModel.cs
  • src/TimeSeries/UnobservedComponentsModel.cs
  • src/TimeSeries/VARMAModel.cs
  • src/TimeSeries/VectorAutoRegressionModel.cs
  • src/Training/CompiledTapeTrainingStep.cs
  • src/Training/TapeTrainingStep.cs
  • src/TransferLearning/Algorithms/TransferRandomForest.cs
  • src/TransferLearning/DomainAdaptation/CORALDomainAdapter.cs
  • src/TransferLearning/FeatureMapping/LinearFeatureMapper.cs
  • src/UncertaintyQuantification/ConformalPrediction/ConformalClassifier.cs
  • src/UncertaintyQuantification/ConformalPrediction/SplitConformalPredictor.cs
  • src/UncertaintyQuantification/Layers/BayesianDenseLayer.cs
  • src/UncertaintyQuantification/Layers/MCDropoutLayer.cs
  • src/Video/ActionRecognition/SlowFast.cs
  • src/Video/ActionRecognition/TimeSformer.cs
  • src/Video/ActionRecognition/VideoMAE.cs
  • src/Video/Denoising/BSVD.cs
  • src/Video/Denoising/FastDVDNet.cs
  • src/Video/Denoising/FloRNN.cs
  • src/Video/Denoising/LiteDVDNet.cs
  • src/Video/Denoising/ShiftNet.cs
  • src/Video/Denoising/UDVD.cs
  • src/Video/Depth/DepthAnythingV2.cs
  • src/Video/Depth/MiDaS.cs
  • src/Video/DiffusionVideoSuperResolutionBase.cs
  • src/Video/Enhancement/BasicVSR.cs
  • src/Video/Enhancement/BasicVSRPlusPlus.cs
  • src/Video/Enhancement/DAMVSR.cs
  • src/Video/Enhancement/DOVE.cs
  • src/Video/Enhancement/DualXVSR.cs
  • src/Video/Enhancement/EDVR.cs
  • src/Video/Enhancement/FlashVSR.cs
  • src/Video/Enhancement/IART.cs
  • src/Video/Enhancement/IconVSR.cs
  • src/Video/Enhancement/MGLDVSR.cs
  • src/Video/Enhancement/MIAVSR.cs
  • src/Video/Enhancement/PSRT.cs
  • src/Video/Enhancement/RVRT.cs
  • src/Video/Enhancement/RealBasicVSR.cs
  • src/Video/Enhancement/RealBasicVSRSharp.cs
  • src/Video/Enhancement/RealESRGANVideo.cs
  • src/Video/Enhancement/RealViformer.cs
  • src/Video/Enhancement/RealisVSR.cs
  • src/Video/Enhancement/SeedVR.cs
  • src/Video/Enhancement/StableVideoSR.cs
  • src/Video/Enhancement/StreamDiffVSR.cs
  • src/Video/Enhancement/TTVSR.cs
  • src/Video/Enhancement/Upscale4KAgent.cs
  • src/Video/Enhancement/VideoGigaGAN.cs
  • src/Video/FrameInterpolation/ABME.cs
  • src/Video/FrameInterpolation/AMT.cs
  • src/Video/FrameInterpolation/BiMVFI.cs
  • src/Video/FrameInterpolation/DynamiCrafter.cs
  • src/Video/FrameInterpolation/EMAVFI.cs
  • src/Video/FrameInterpolation/FILM.cs
  • src/Video/FrameInterpolation/FLAVR.cs
  • src/Video/FrameInterpolation/Figan.cs
  • src/Video/FrameInterpolation/GIMMVFI.cs
  • src/Video/FrameInterpolation/IFRNet.cs
  • src/Video/FrameInterpolation/IQVFI.cs
  • src/Video/FrameInterpolation/InterpAnyClearer.cs
  • src/Video/FrameInterpolation/M2M.cs
  • src/Video/FrameInterpolation/MoG.cs
  • src/Video/FrameInterpolation/MoMo.cs
  • src/Video/FrameInterpolation/PerVFI.cs
  • src/Video/FrameInterpolation/RIFE.cs
  • src/Video/FrameInterpolation/STMFNet.cs
  • src/Video/FrameInterpolation/SoftSplat.cs
  • src/Video/FrameInterpolation/SwinVFI.cs
  • src/Video/FrameInterpolation/TLBVFI.cs
  • src/Video/FrameInterpolation/ToonCrafter.cs
  • src/Video/FrameInterpolation/UPRNet.cs
  • src/Video/FrameInterpolation/VFIMamba.cs
  • src/Video/FrameInterpolation/VFIT.cs
  • src/Video/FrameInterpolation/VFIformer.cs
  • src/Video/FrameInterpolation/XVFI.cs
  • src/Video/FrameInterpolationBase.cs
  • src/Video/Generation/AnimateDiff.cs
  • src/Video/Generation/CogVideo.cs
  • src/Video/Generation/OpenSora.cs
  • src/Video/Generation/StableVideoDiffusion.cs
  • src/Video/Inpainting/AVID.cs
  • src/Video/Inpainting/E2FGVI.cs
  • src/Video/Inpainting/FlowLens.cs
  • src/Video/Inpainting/FuseFormer.cs
  • src/Video/Inpainting/ProPainter.cs
  • src/Video/Inpainting/STTN.cs
  • src/Video/Matting/RVM.cs
  • src/Video/Motion/DKM.cs
  • src/Video/Motion/DPFlow.cs
  • src/Video/Motion/FlowDiffuser.cs
  • src/Video/Motion/FlowFormer.cs
  • src/Video/Motion/FlowFormerPlusPlus.cs
  • src/Video/Motion/GMFlow.cs
  • src/Video/Motion/MemFlow.cs
  • src/Video/Motion/NeuFlowV2.cs
  • src/Video/Motion/RAFT.cs
  • src/Video/Motion/RAPIDFlow.cs
  • src/Video/Motion/RPKNet.cs
  • src/Video/Motion/RoMa.cs
  • src/Video/Motion/SEARAFT.cs
  • src/Video/Motion/SKFlow.cs
  • src/Video/Motion/UFM.cs
  • src/Video/Motion/UniMatch.cs
  • src/Video/Motion/VideoFlow.cs
  • src/Video/OpticalFlowBase.cs
  • src/Video/Prediction/Mcnet.cs
  • src/Video/RealESRGAN.cs
  • src/Video/Restoration/VRT.cs
  • src/Video/Segmentation/Cutie.cs
  • src/Video/Segmentation/SAM2.cs
  • src/Video/Segmentation/XMem.cs
  • src/Video/Stabilization/DIFRINT.cs
  • src/Video/Stabilization/DUT.cs
  • src/Video/Stabilization/FuSta.cs
  • src/Video/Stabilization/GaVS.cs
  • src/Video/Stabilization/PWStableNet.cs
  • src/Video/Stabilization/StabStitch.cs
  • src/Video/Stabilization/ThreeDMF.cs
  • src/Video/Tracking/ByteTrack.cs
  • src/Video/Understanding/InternVideo2.cs
  • src/Video/Understanding/VideoCLIP.cs
  • src/Video/VideoDenoisingBase.cs
  • src/Video/VideoInpaintingBase.cs
  • src/Video/VideoNeuralNetworkBase.cs
  • src/Video/VideoStabilizationBase.cs
  • src/Video/VideoSuperResolutionBase.cs
  • src/VisionLanguage/Document/DocPedia.cs
  • src/VisionLanguage/Document/Donut.cs
  • src/VisionLanguage/Document/GOTOCR2.cs
  • src/VisionLanguage/Document/LayoutLMv3.cs
  • src/VisionLanguage/Document/MPLUGDocOwl.cs
  • src/VisionLanguage/Document/MPLUGDocOwl15.cs
  • src/VisionLanguage/Document/MPLUGDocOwl2.cs
  • src/VisionLanguage/Document/Nougat.cs
  • src/VisionLanguage/Document/Pix2Struct.cs
  • src/VisionLanguage/Document/Surya.cs
  • src/VisionLanguage/Document/TextMonkey.cs
  • src/VisionLanguage/Document/UReader.cs
  • src/VisionLanguage/Editing/EmuEdit.cs
  • src/VisionLanguage/Editing/MGIE.cs
  • src/VisionLanguage/Editing/SmartEdit.cs
  • src/VisionLanguage/Encoders/ALIGN.cs
  • src/VisionLanguage/Encoders/BASIC.cs
  • src/VisionLanguage/Encoders/BiomedCLIP.cs
  • src/VisionLanguage/Encoders/CLIPA.cs
  • src/VisionLanguage/Encoders/DFNCLIP.cs
  • src/VisionLanguage/Encoders/DINOv2.cs
  • src/VisionLanguage/Encoders/DINOv3.cs
  • src/VisionLanguage/Encoders/DeCLIP.cs
  • src/VisionLanguage/Encoders/EVACLIP.cs
  • src/VisionLanguage/Encoders/FLIP.cs
  • src/VisionLanguage/Encoders/Florence2.cs
  • src/VisionLanguage/Encoders/InternViT.cs
  • src/VisionLanguage/Encoders/LLM2CLIP.cs
  • src/VisionLanguage/Encoders/LiT.cs
  • src/VisionLanguage/Encoders/MedCLIP.cs
  • src/VisionLanguage/Encoders/MetaCLIP.cs
  • src/VisionLanguage/Encoders/OpenCLIP.cs
  • src/VisionLanguage/Encoders/PerceptionEncoder.cs
  • src/VisionLanguage/Encoders/RADIOv25.cs
  • src/VisionLanguage/Encoders/RegionCLIP.cs
  • src/VisionLanguage/Encoders/RemoteCLIP.cs
  • src/VisionLanguage/Encoders/SAM.cs
  • src/VisionLanguage/Encoders/SigLIP.cs
  • src/VisionLanguage/Encoders/SigLIP2.cs
  • src/VisionLanguage/Encoders/SigLIPSO.cs
  • src/VisionLanguage/Encoders/ViT.cs
  • src/VisionLanguage/Foundational/BridgeTower.cs
  • src/VisionLanguage/Foundational/LXMERT.cs
  • src/VisionLanguage/Foundational/METER.cs
  • src/VisionLanguage/Foundational/Oscar.cs
  • src/VisionLanguage/Foundational/UNITER.cs
  • src/VisionLanguage/Foundational/ViLBERT.cs
  • src/VisionLanguage/Foundational/ViLT.cs
  • src/VisionLanguage/Foundational/VinVL.cs
  • src/VisionLanguage/Foundational/VisualBERT.cs
  • src/VisionLanguage/Generative/BLIP3.cs
  • src/VisionLanguage/Generative/CoCa.cs
  • src/VisionLanguage/Generative/Emu.cs
  • src/VisionLanguage/Generative/Emu2.cs
  • src/VisionLanguage/Generative/Emu3.cs
  • src/VisionLanguage/Generative/GIT.cs
  • src/VisionLanguage/Generative/IDEFICS.cs
  • src/VisionLanguage/Generative/IDEFICS2.cs
  • src/VisionLanguage/Generative/IDEFICS3.cs
  • src/VisionLanguage/Generative/InstructBLIP.cs
  • src/VisionLanguage/Generative/KOSMOS1.cs
  • src/VisionLanguage/Generative/KOSMOS2.cs
  • src/VisionLanguage/Generative/OpenFlamingo.cs
  • src/VisionLanguage/Generative/PaLI.cs
  • src/VisionLanguage/Generative/PaLI3.cs
  • src/VisionLanguage/Generative/PaLIX.cs
  • src/VisionLanguage/Grounding/DINOX.cs
  • src/VisionLanguage/Grounding/Ferret.cs
  • src/VisionLanguage/Grounding/FerretV2.cs
  • src/VisionLanguage/Grounding/GLaMM.cs
  • src/VisionLanguage/Grounding/Groma.cs
  • src/VisionLanguage/Grounding/GroundedSAM2.cs
  • src/VisionLanguage/Grounding/GroundingDINO.cs
  • src/VisionLanguage/Grounding/GroundingDINO15.cs
  • src/VisionLanguage/Grounding/OWLViT.cs
  • src/VisionLanguage/Grounding/OWLv2.cs
  • src/VisionLanguage/Grounding/Shikra.cs
  • src/VisionLanguage/InstructionTuned/AquilaVL.cs
  • src/VisionLanguage/InstructionTuned/Aria.cs
  • src/VisionLanguage/InstructionTuned/Cambrian1.cs
  • src/VisionLanguage/InstructionTuned/CogVLM.cs
  • src/VisionLanguage/InstructionTuned/CogVLM2.cs
  • src/VisionLanguage/InstructionTuned/DeepSeekVL.cs
  • src/VisionLanguage/InstructionTuned/DeepSeekVL2.cs
  • src/VisionLanguage/InstructionTuned/Dragonfly.cs
  • src/VisionLanguage/InstructionTuned/Eagle.cs
  • src/VisionLanguage/InstructionTuned/Eagle25.cs
  • src/VisionLanguage/InstructionTuned/Fuyu.cs
  • src/VisionLanguage/InstructionTuned/Gemma3.cs
  • src/VisionLanguage/InstructionTuned/InternVL.cs
  • src/VisionLanguage/InstructionTuned/InternVL2.cs
  • src/VisionLanguage/InstructionTuned/InternVL25.cs
  • src/VisionLanguage/InstructionTuned/InternVL3.cs
  • src/VisionLanguage/InstructionTuned/LLaVA15.cs
  • src/VisionLanguage/InstructionTuned/LLaVANeXT.cs
  • src/VisionLanguage/InstructionTuned/LLaVAOneVision.cs
  • src/VisionLanguage/InstructionTuned/LLaVAOneVision15.cs
  • src/VisionLanguage/InstructionTuned/Llama32Vision.cs
  • src/VisionLanguage/InstructionTuned/MPLUGOwl.cs
  • src/VisionLanguage/InstructionTuned/MPLUGOwl2.cs
  • src/VisionLanguage/InstructionTuned/MPLUGOwl3.cs
  • src/VisionLanguage/InstructionTuned/Mantis.cs
  • src/VisionLanguage/InstructionTuned/Maya.cs
  • src/VisionLanguage/InstructionTuned/MiniCPMV.cs
  • src/VisionLanguage/InstructionTuned/MiniCPMo.cs
  • src/VisionLanguage/InstructionTuned/MiniGPT4.cs
  • src/VisionLanguage/InstructionTuned/MiniGPTv2.cs
  • src/VisionLanguage/InstructionTuned/Molmo.cs
  • src/VisionLanguage/InstructionTuned/Monkey.cs
  • src/VisionLanguage/InstructionTuned/Moondream.cs
  • src/VisionLanguage/InstructionTuned/NVLM.cs
  • src/VisionLanguage/InstructionTuned/Ovis.cs
  • src/VisionLanguage/InstructionTuned/Phi3Vision.cs
  • src/VisionLanguage/InstructionTuned/Phi4Multimodal.cs
  • src/VisionLanguage/InstructionTuned/Pixtral.cs
  • src/VisionLanguage/InstructionTuned/PixtralLarge.cs
  • src/VisionLanguage/InstructionTuned/Qwen25VL.cs
  • src/VisionLanguage/InstructionTuned/Qwen2VL.cs
  • src/VisionLanguage/InstructionTuned/Qwen3VL.cs
  • src/VisionLanguage/InstructionTuned/QwenVL.cs
  • src/VisionLanguage/InstructionTuned/SmolVLM.cs
  • src/VisionLanguage/InstructionTuned/VILA.cs
  • src/VisionLanguage/InstructionTuned/VILAU.cs
  • src/VisionLanguage/Medical/DragonflyMed.cs
  • src/VisionLanguage/Medical/LLaVAMed.cs
  • src/VisionLanguage/Medical/MedFlamingo.cs
  • src/VisionLanguage/Medical/PathVLM.cs
  • src/VisionLanguage/Medical/RadFM.cs
  • src/VisionLanguage/Proprietary/ClaudeVision.cs
  • src/VisionLanguage/Proprietary/GeminiVision.cs
  • src/VisionLanguage/Proprietary/GrokVision.cs
  • src/VisionLanguage/Reasoning/KimiVL.cs
  • src/VisionLanguage/Reasoning/KimiVLThinking.cs
  • src/VisionLanguage/Reasoning/LLaVACoT.cs
  • src/VisionLanguage/Reasoning/QVQ72B.cs
  • src/VisionLanguage/Reasoning/SkyworkR1V.cs
  • src/VisionLanguage/Reasoning/SkyworkR1V2.cs
  • src/VisionLanguage/RemoteSensing/GeoChat.cs
  • src/VisionLanguage/RemoteSensing/RSGPT.cs
  • src/VisionLanguage/RemoteSensing/SkyEyeGPT.cs
  • src/VisionLanguage/Robotics/GR00TN1.cs
  • src/VisionLanguage/Robotics/Helix.cs
  • src/VisionLanguage/Robotics/Octo.cs
  • src/VisionLanguage/Robotics/PaLME.cs
  • src/VisionLanguage/Robotics/PiZero.cs
  • src/VisionLanguage/Robotics/RT2.cs
  • src/VisionLanguage/Robotics/ThreeDVLA.cs
  • src/VisionLanguage/ThreeD/GPT4Point.cs
  • src/VisionLanguage/ThreeD/LEOVL.cs
  • src/VisionLanguage/ThreeD/PointLLM.cs
  • src/VisionLanguage/ThreeD/SceneLLM.cs
  • src/VisionLanguage/ThreeD/ThreeDGraphLLM.cs
  • src/VisionLanguage/ThreeD/ThreeDLLM.cs
  • src/VisionLanguage/Unified/Chameleon.cs
  • src/VisionLanguage/Unified/Janus.cs
  • src/VisionLanguage/Unified/JanusPro.cs
  • src/VisionLanguage/Unified/OmniGen2.cs
  • src/VisionLanguage/Unified/SEEDX.cs
  • src/VisionLanguage/Unified/ShowO.cs
  • src/VisionLanguage/Unified/ShowO2.cs
  • src/VisionLanguage/Unified/Transfusion.cs
  • src/VisionLanguage/VideoLanguage/LLaVANeXTVideo.cs
  • src/VisionLanguage/VideoLanguage/LLaVAVideo.cs
  • src/VisionLanguage/VideoLanguage/LongVILA.cs
  • src/VisionLanguage/VideoLanguage/PLLaVA.cs
  • src/VisionLanguage/VideoLanguage/SlowFastLLaVA.cs
  • src/VisionLanguage/VideoLanguage/VideoChat2.cs
  • src/VisionLanguage/VideoLanguage/VideoLLaMA2.cs
  • src/VisionLanguage/VideoLanguage/VideoLLaMA3.cs
  • src/VisionLanguage/VideoLanguage/VideoLLaVA.cs
  • src/VisionLanguage/VisionLanguageModelBase.cs
  • src/WaveletFunctions/BiorthogonalWavelet.cs
  • src/WaveletFunctions/DaubechiesWavelet.cs
  • src/WaveletFunctions/FejérKorovkinWavelet.cs
  • tests/AiDotNet.Tests/Generators/CloneAutomationAnalyzerTests.cs
  • tests/AiDotNet.Tests/Generators/ParameterAutomationAnalyzerTests.cs
  • tests/AiDotNet.Tests/Generators/ParameterGeneratorSemanticTests.cs
  • tests/AiDotNet.Tests/Helpers/ModelPersistenceGuardTests.cs
  • tests/AiDotNet.Tests/IntegrationTests/Cloning/AllLayersCloneTests.cs
  • tests/AiDotNet.Tests/IntegrationTests/Cloning/AllModelsCloneTests.cs
  • tests/AiDotNet.Tests/IntegrationTests/Cloning/CloneRoundTripTests.cs
  • tests/AiDotNet.Tests/IntegrationTests/Cloning/DenseLayerCloneTests.cs
  • tests/AiDotNet.Tests/IntegrationTests/Cloning/LayerConstructionStateCloneTests.cs
  • tests/AiDotNet.Tests/IntegrationTests/Cloning/ModelCloningTests.cs
  • tests/AiDotNet.Tests/IntegrationTests/DistributedTraining/DistributedTrainingIntegrationTests.cs
  • tests/AiDotNet.Tests/IntegrationTests/Document/VisionLanguageDocumentTests.cs
  • tests/AiDotNet.Tests/IntegrationTests/LayerParameterSurfaceTests.cs
  • tests/AiDotNet.Tests/IntegrationTests/MetaLearning/MetaLearningTestModels.cs
  • tests/AiDotNet.Tests/IntegrationTests/MixedPrecision/MixedPrecisionIntegrationTests.cs
  • tests/AiDotNet.Tests/IntegrationTests/NeuralNetworks/EmbeddingLayerValidatorIssues1321_1322_1323IntegrationTests.cs
  • tests/AiDotNet.Tests/IntegrationTests/NeuralNetworks/FusedOptimizerIntegrationTests.cs
  • tests/AiDotNet.Tests/IntegrationTests/NeuralNetworks/HrePaperAChainShapeValidatorTests.cs
  • tests/AiDotNet.Tests/IntegrationTests/NeuralNetworks/NeuralNetworkBaseIntegrationTests.cs
  • tests/AiDotNet.Tests/IntegrationTests/Optimizers/Issue1296LargeXTrainBatchingTests.cs
  • tests/AiDotNet.Tests/IntegrationTests/Optimizers/OptimizerTrainSkipTests.cs
  • tests/AiDotNet.Tests/IntegrationTests/Parameters/ParameterManifestTests.cs
  • tests/AiDotNet.Tests/IntegrationTests/ReinforcementLearning/BaseClassesIntegrationTests.cs
  • tests/AiDotNet.Tests/IntegrationTests/ReinforcementLearning/DeepAgentsIntegrationTests.cs
  • tests/AiDotNet.Tests/IntegrationTests/SyntheticData/SyntheticTabularGeneratorIntegrationTests.cs
  • tests/AiDotNet.Tests/IntegrationTests/Training/ConfiguredDataSplitterTests.cs
  • tests/AiDotNet.Tests/IntegrationTests/UncertaintyQuantification/UncertaintyQuantificationIntegrationTests.cs
  • tests/AiDotNet.Tests/IntegrationTests/Video/RAPIDFlowReviewRegressionIntegrationTests.cs
  • tests/AiDotNet.Tests/ModelFamilyTests/Diffusion/FluxInpaintingModelTests.cs
  • tests/AiDotNet.Tests/ModelFamilyTests/Diffusion/HiDreamModelTests.cs
  • tests/AiDotNet.Tests/ModelFamilyTests/Diffusion/SiDDiTModelTests.cs
  • tests/AiDotNet.Tests/ModelFamilyTests/Diffusion/UpscaleAVideoModelTests.cs
  • tests/AiDotNet.Tests/NeuralNetworks/Graph/SequentialActivationFoldContractTests.cs
  • tests/AiDotNet.Tests/UnitTests/Audio/AudioFrontEndContractTests.cs
  • tests/AiDotNet.Tests/UnitTests/Audio/SileroVadFramePayloadTests.cs
  • tests/AiDotNet.Tests/UnitTests/Diffusion/Models/ControlModelContractTests.cs
  • tests/AiDotNet.Tests/UnitTests/Diffusion/Models/DiffusionModelContractTests.cs
  • tests/AiDotNet.Tests/UnitTests/Diffusion/PredictorParameterStreamingTests.cs
  • tests/AiDotNet.Tests/UnitTests/NeuralNetworks/CompileForwardTests.cs
  • tests/AiDotNet.Tests/UnitTests/NeuralNetworks/WeightStreaming/AutoDetectWeightStreamingTests.cs
  • tests/AiDotNet.Tests/UnitTests/Parameters/CompositeLayerOwnershipTests.cs
  • tests/AiDotNet.Tests/UnitTests/Parameters/DeferredRestoreGateTests.cs
  • tests/AiDotNet.Tests/UnitTests/Parameters/TabularFamilySurfaceTests.cs
  • tests/AiDotNet.Tests/UnitTests/ProgramSynthesis/CodeModelBaseAdditionalCoverageTests.cs
  • tests/AiDotNet.Tests/UnitTests/ProgramSynthesis/Fakes/FakeCodeModel.cs
  • tests/AiDotNet.Tests/UnitTests/Serialization/CloneModeTests.cs
  • tests/AiDotNet.Tests/UnitTests/Serialization/ExpressionStateTests.cs
  • tests/AiDotNet.Tests/UnitTests/Serialization/ExternalLayerCloneTests.cs
  • tests/AiDotNet.Tests/UnitTests/Serialization/GraphTraceTests.cs
  • tests/AiDotNet.Tests/UnitTests/Serialization/LayerStateBagTests.cs

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

ooples and others added 25 commits August 11, 2026 15:04
…k's pinned level count

DeepCopy's layer-by-layer path resolved a freshly-constructed destination only when the
destination reported IsShapeResolved false AND the source's GetInputShape was entirely
positive. Both tests are permanently false for a layer that declares an always-free axis
with the -1 sentinel -- TransformerEncoderBlock's sequence length, say -- so the guard
skipped exactly the layers that needed it. The destination reached SetParameters with its
seven children registered but unmaterialized, reported 2,048 parameters against the
source's 3,150,848, and threw.

MaterializeDestinationLayer now runs whenever the two counts disagree and, when resolving
from the declared shape is not enough, forward-probes the destination with the free axes
filled in -- a forward pass is what materializes nested children, because the generated
EnsureSubLayersRegistered runs during lazy shape RESOLUTION rather than during parameter
materialization. Filling a free axis arbitrarily is sound precisely because a free axis is
one whose length sizes no weight. The probe helpers are LayerCloning's, promoted from
private to internal rather than copied, so there is one definition of how a lazy layer is
driven. Both mismatch messages now name the source and destination input shapes, since a
bare count pair does not say which side is wrong.

Measured on the models that failed, before -> after:
  F5TTS       DeepCopy threw  ->  300,809,216 = 300,809,216
  OWSM        DeepCopy threw  ->  356,463,258 = 356,463,258
  Qwen3ASR    DeepCopy threw  ->  820,232,576 = 820,232,576
  CanaryQwen  DeepCopy threw  ->  1,333,659,520 = 1,333,659,520
Twelve more models fail with an identical signature (Dia, UniAudio, NemotronSpeech,
ParlerTTS, FishSpeech, IndexTTS, MARS5TTS, MegaTTS3, FireRedTTS, E2TTS, ParakeetTDT,
Voicebox, CSM) and are covered by the same path; the full sweep re-run will confirm them.

Separately, ContinuumMemorySystemLayer's numFrequencyLevels was not [LayerState], so the
generated factory pinned it to the literal default 3 while reading a five-element
updateFrequencies back out of the state bag -- and the constructor's own consistency check
between the two rejected the pair, so a HopeNetwork built with five levels could not be
cloned at all. An optional argument that another recorded argument is validated against is
not optional state. HopeNetwork now rebuilds with five levels; it still mismatches on the
first MLP block's input width, which is a separate defect.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
…ckstop

LayerCloning guarded reconstruction with clone.ParameterCount !=
source.ParameterCount. Since the manifest merge, that property throws
ParameterLayoutNotReadyException when a slot's shape is deferred -- and a layer
that has just been rebuilt has not run a forward pass, so deferred is exactly
the state the backstop meets. The comparison could not be evaluated there, let
alone trusted.

It now compares ParameterLayoutSnapshots slot-wise where both sides publish one,
falling back to the scalar test only where they do not. Slot-wise is also
strictly stronger where both are resolved: two layers can hold the same number of
parameters in a different order, and an equal total hides precisely the
reordering that would restore each component's values into its neighbour.

Errors now name the first differing slot rather than two totals.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
…e bug

All four failures were the destination layer never being driven to the source's shape
before parameters were copied into it, reached by four different routes.

AudioVisualCorrespondenceNetwork and AudioVisualEventLocalizationNetwork each carried a
hand-written DeepCopy that rebuilt the model with exactly the arguments their own
CreateNewInstance already passes and then copied parameters in without resolving the
destination. Both overrides are deleted rather than repaired: the base DeepCopy now does
the resolve, so the overrides were the base path minus the one step that matters. (The
EventLocalization one also handed the copy the source's optimizer and loss function, which
its sibling's comment correctly says a copy must not share.)

CRNN legitimately overrides DeepCopy -- its CreateNewInstance handles an ONNX mode -- but
had inlined the same "unresolved AND every axis positive" test that the base used to use,
with the same consequence. MaterializeDestinationLayer is now protected so a subclass that
must override DeepCopy shares the fix instead of reproducing the bug.

BatchNormalization.SetExtraParameters computed its expected length as InputShape[0] * 2 and,
on an unresolved layer, demanded "length -2 (mean + variance for -1 features)" -- a negative
number of values no caller can supply. An empty vector from an equally unresolved source is
two sides agreeing there are no running statistics yet, so it is now accepted; a non-empty
one gets a message that says the shape is unresolved instead of quoting a negative length.

VideoInpaintingBase.ResolveLazyLayerShapes runs underneath ParameterCount, which is a READ,
and its probe threw straight out of it: E2FGVI synthesizes its one-channel hole mask only
when the input arrives with exactly _channels channels, so a probe at any other depth
reached BlendKnownPixels with too few channels and threw "Index 3 is out of range". The
probe is now best-effort; a model that refuses it keeps its layers lazy, which is a smaller
and more honest outcome than making every count, serialization and clone throw.

Measured, before -> after:
  AudioVisualCorrespondenceNetwork     threw  ->  496,898 = 496,898
  AudioVisualEventLocalizationNetwork  threw  ->  6,623,232 = 6,623,232
  E2FGVI       ParameterCount threw  ->  2,250,901 = 2,250,901
  CRNN                         threw  ->  0 = 0 (both sides unresolved; the harness cannot
                                           drive CRNN with its 1x4 probe, so this says the
                                           copy no longer throws, not that it carries weights)
HopeNetwork still fails: its rebuilt ContinuumMemorySystemLayer reports 328,960 parameters
against 264,448, because every MLP block comes back 256->256 where the first should be
4->256. That is a separate defect in what the layer records as its input shape.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
The existing AIDN080-085 catch AUTHORING mistakes -- you wrote an override, hid a field,
forgot 'partial'. This is the first CONSUMPTION rule: you asked the parameter surface the
wrong question.

A zero count means "not sized yet", not "has no parameters", and the two need opposite
handling -- the first is a no-op, the second must park the payload and replay it at
materialization. Conflating them is not hypothetical: LayerBase carried a comment saying a
zero count "is not a claim that the layer has no parameters; it is the layer saying it does
not know yet" directly above a guard that threw on exactly that, rejecting every restore
into a deferred layer. That is ~104 CI failures from one comparison, and the comment
explaining why it was wrong was already sitting on top of it. A rule is what makes that
visible at the keyboard instead of three days later in a shard.

Implemented over expressions rather than declarations, since consumption defects live in
`count == 0` branches, not in type shapes. ParameterManifest.cs and
ParameterComponentRegistry.cs are exempt: they DEFINE the readiness distinction, so they are
the two places entitled to compare against zero while implementing it.

Entered at Warning per the ADNSHAPE006/007 ladder already used in this repo -- suppressed
while the backlog is non-zero, promoted to Error at zero. Recorded in
AnalyzerReleases.Unshipped.md, which is the ratchet.

Deliberately NOT shipped yet: AIDN086 (component registered without a generator-assigned
StableId), AIDN088 (reflection over weight-typed fields outside the manifest) and AIDN089
(assignment to a weight-typed field inside Clone/DeepCopy/Deserialize). AIDN089 in particular
must land only after Phase 2 can demonstrably replace hand-rolled clone bodies -- shipping it
first would force deletion of code that still carries behaviour, which is precisely the
11c602d mistake re-run through an analyzer.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
…on-partial types

Two changes toward cloning models, and one finding that redirects the approach.

NeuralNetworkBase gains WriteConstructionState / GetConstructionState, the exact
mirror of LayerBase's, so a model can record the constructor arguments it stores
in fields and be rebuilt by calling its own constructor rather than by copying
its fields. Reconstruction is what makes a clone trustworthy: re-running the
constructor re-derives everything the constructor derives, so a stale derived
value cannot cross over.

LayerStateGenerator now REPORTS ADN0050 and stops, instead of reporting it and
emitting anyway. Emitting `partial class X` against a non-partial declaration is
CS0260 -- a raw compiler error pointing into generated source, about code the
author never wrote. Every layer is already partial, so that path had never been
exercised; 238 non-partial models found it immediately.

THE FINDING: the layer generator does not transfer to models, and the gate stays
on LayerBase. Widening it compiles, but all 3,616 model constructors then fail
ADN0053 on `architecture`. This generator rebuilds from a
Dictionary<string, string>, so every constructor argument must survive a round
trip through text. Layers take scalars, enums and child layers, which do. A model
takes a NeuralNetworkArchitecture<T>, which does not.

Cloning does not need it to: a clone holds the LIVE source, so rich arguments can
be handed across directly rather than serialized and rebuilt. Deserialization is
the case that needs text and already has SerializeNetworkSpecificData. The model
factory therefore wants a source-aware signature, not a metadata-only one. The
rationale is recorded on DerivesFromStatefulBase, which is kept unused for that
next step.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Adds ModelCloningTests: a cloned model predicts identically to its original, does
not share parameter storage with it, and DeepCopy behaves the same way. Three
pass.

Also deletes the ModelCloning adapter added earlier in this branch. It was
written on the plan's premise that models had no automated clone -- taken from
#2004's "Not done: Models on NeuralNetworkBase". They do:
NeuralNetworkBase.DeepCopy has a copy-on-write fast path and a serialize
round-trip fallback, and Clone delegates to it. An extension method could never
have been reached anyway, since an instance method always wins.

So C1 is not a missing mechanism. It is the existing one failing for deferred and
lazy layers, which is what the failure text says: "Cloned model predicts
differently from trained model after serialize/deserialize round-trip". That
round-trip restores through ParameterComponentRegistry.SetParameters -- the walk
this branch fixed to slice by the manifest snapshot rather than by each source's
own count. Adding a third clone path would have obscured whether that fix worked.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
…ption sites

Two things, and an honest correction on the first.

THE TESTS ARE NOT PHASE 0 GATES. Phase 0 asks for four characterization tests that FAIL
against today's base, one per restoration bucket, to be used as deletion gates. These four
pass immediately, so they cannot gate anything. They test the REGISTRY's contract, which the
previous commits already made hold, rather than the MODEL-level capability the buckets
describe:

  - Bucket E is about a model walking a DIFFERENT enumeration (GetAllLayers(), _convLayers,
    _branches) that is not registered at all. My test registers both sources, so the problem
    it exists to expose cannot occur.
  - Bucket C is about a model invalidating caches after its walk. The registry has no cache,
    so the assertion is vacuous there.
  - Buckets O and F are already satisfied by the registry as written.

Kept anyway because they are worth having: they pin the 1.1 restore-by-layout ordering
(registration order is deliberately the reverse of stable-ID order), the role-carrying
chunks, and write-through. They are regression tests for what now works. A real gate needs a
specific model from each bucket in e1f8fec's restoration list, with its override removed,
asserting the base covers what the override did. That is still owed.

AIDN087 IS ALREADY EARNING ITS KEEP. Enabling it surfaced seven sites that test
ParameterCount against zero as a readiness test:

  ContinualLearningStrategyBase, DecisionTreeAsyncRegressionBase, DecisionTreeRegressionBase,
  ModelParameterSources, NeuralNetworkBase, OptimizerBase, StructuredPruningStrategy

NeuralNetworkBase and OptimizerBase being on that list is the significant part: the base that
defines the surface and the optimizer that consumes it both conflate "not sized yet" with
"has none". That is the same defect just fixed in LayerBase, in two more places, and it was
invisible until a rule asked.

Added to WarningsNotAsErrors in both csproj configurations, per the ADNSHAPE006/007 ladder:
suppressed while the backlog is non-zero, promoted to Error at zero. Without this the build
fails outright -- which is also why the first D-F shard measurement produced no test summary:
it died in the build before running anything.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
… reverts

LayerStateGenerator already infers construction state from a backing field without needing
the attribute -- "a constructor argument the layer stores in a field is construction state
whether or not anyone wrote the attribute". What it did NOT do was say anything when it
could not. Any optional parameter with nothing to read it back from fell through to
`UseDefault`, and the generated factory got the literal default with no record anywhere
that a value had been dropped. A layer whose clone quietly reverts a hyperparameter looked
exactly like one that round-trips perfectly, so the only way to find out which was to sweep
every model and read the wreckage -- which is how HopeNetwork surfaced, one model at a time,
after the fact.

ADN0057 now fires at the pin site. Measured across the library on this build:

  63 layers, 80 distinct (layer, parameter) pairs

and they are not cosmetic. Among them: CohereDecoderBlock and DbrxDecoderBlock pin
layerNormEpsilon, AttentiveTransformerLayer pins epsilon, momentum AND virtualBatchSize,
BayesianDenseLayer pins randomSeed, ConvolutionalLayer pins nonlinearityForInit,
BatchEnsembleLayer pins rankInitScale, and several layers pin seed. A copy that comes back
with a different epsilon or a different init nonlinearity is a different model, and until
now nothing in the build said so.

Warning rather than Info deliberately. Info is invisible at normal verbosity, and detailed
verbosity is not an option here -- it logs all 72k discovered cases and has filled the
system drive before. The whole defect being fixed is that this class was invisible, so
hiding the report behind a verbosity flag would reproduce it.

The full list is reproducible from a build log by grepping ADN0057; each entry is a
candidate for the same one-line remedy ContinuumMemorySystemLayer took (give the parameter
a backing field), and the diagnostic message names the three field spellings the generator
will accept.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
ADN0057 (previous commit) reported 63 layers pinning a constructor argument to its literal
default. This gives a backing field to every one whose type the generator's inference can
actually read back -- non-nullable int, double and bool -- following the convention the repo
already used for CohereDecoderBlock._ffnDim:

    /// <summary>Construction state: the 'rmsNormEpsilon' the layer was built with.</summary>
    private readonly double _rmsNormEpsilon;
    ...
    _rmsNormEpsilon = rmsNormEpsilon;   // first statement in the constructor

No attribute is needed: inference already treats a constructor argument stored in a field as
construction state (LayerStateGenerator.cs:282). The field IS the fix.

MEASURED, by flipping ADN0057 to Warning and grepping a full build both times:

    distinct (layer, parameter) pairs pinned:  80  ->  38

Confirmed at the generated-code level rather than by the count alone -- the factories now
read the values instead of hardcoding them. Rwkv7Stack had four pinned arguments and all four
changed:

    modelDimension: 512      ->  state.Int32("modelDimension")
    numHeads: 8              ->  state.Int32("numHeads")
    ffnMultiplier: 4         ->  state.Double("ffnMultiplier")
    globalIclrMultiplier: 1  ->  state.Double("globalIclrMultiplier")

and likewise CohereDecoderBlock/Gemma2DecoderBlock's norm epsilons, MambaBlock's expandFactor,
SoftTreeLayer's temperature and initScale.

ADN0057 is set to Info, not Warning. This project builds with warnings-as-errors, so at
Warning the 80 pinned parameters became 84 build ERRORS and failed the build -- a diagnostic
whose job is to REPORT must not be able to do that. The cost is that Info does not surface at
normal verbosity, and detailed verbosity is not available here (it logs all 72k discovered
cases and has filled the system drive before), so counting them means flipping that one word
to Warning and grepping. The comment at the descriptor says so.

The remaining 38 are deliberately untouched, in two groups. Seven are second activation
functions (GRULayer.recurrentActivation, HighwayLayer.gateActivation,
SqueezeAndExcitationLayer.secondActivation, ...) which need the generator's activation
binding -- it binds only the first scalar and first vector activation -- and not a field.
The rest are nullable or non-round-trippable types (int?, int[]?, T[]?, Tensor<T>?, Random?,
PNAScaler[]?) that inference declines by design: "a nullable backing member DECLINES inference
rather than erroring". Both groups need a generator change, not an edit per layer.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
…count

NeuralNetworkBase.SetParameters walked `Layers.Where(l => l.ParameterCount > 0)`. A lazily
sized layer reports 0 until its shape is known, so the filter SKIPPED precisely the layers a
restore exists to populate — the clone kept its random initialization and the restore
reported success. That is the model-level half of the clone/serialize weight loss.

AIDN087, added two commits ago, named NeuralNetworkBase as one of its seven sites. This is
what it was pointing at. The rule found a real defect in the base on its first run, which is
the argument for consumption rules over authoring rules: nothing about this line looks wrong
until you know that a zero count means "ask me later".

Materialization now happens before the walk. That is not a new capability — DCCRN,
DeepFilterNet, SAM and ViMUNet each carry a hand-written UpdateParameters whose FIRST
statement is ResolveLazyLayerShapes(), for exactly this reason. DCCRN's own comment spells it
out: "a bare Layers walk would see 0 parameters, skip every layer, and leave the clone on its
own random initialization". Four models independently solving a base-class problem is the signal that it
belongs in the base, and moving it here is what makes those overrides deletable under the
Phase 3 gate rather than deleted on faith.

Also correcting an error from the previous turn: I reported that the base never invalidates
weight caches after a restore. It does — InvalidateWeightCachesAfterSuccessfulWeightUpdate
followed by OnParametersRestored, at the end of this same method. My grep had
maxMatchesPerFile=2 and I read a truncated result as the complete set. Bucket C's capability
already exists; the missing one was materialization, not invalidation.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
My previous Phase 0 attempt produced four tests that all passed, which gates nothing. This
one is validated the only way a gate can be: by reverting the fix and confirming it goes red.

  LayerBase at f48540b^ :  2 failed / 1 passed
  LayerBase at HEAD       :  3 passed

The two that flip are the two halves of the deferred-restore capability, and they have to be
separate tests because they fail for opposite reasons:

  DeferredLayer_AcceptsRestore_InsteadOfRejectingItForAZeroCount — the B1 guard threw
  "Expected 0 parameters, but got N" at a layer whose zero count meant "not sized yet".

  DeferredLayer_ParksTheWholePayload_WithoutTruncatingToAPlaceholder — the half that relaxing
  the guard ALONE would have broken, by dropping the layer into the slicing path and cutting
  the payload down to placeholder length.

The third, ConstructionSizedLayer_StillRejectsAWrongLengthRestore, passes in both states by
design. It is the anti-regression clamp: it fails if someone "fixes" the guard by deleting it
rather than by making it ask about readiness, which would convert every genuine restore-size
bug into silent weight loss.

Driven at the LAYER level deliberately. A model-level test runs through whichever
hand-written UpdateParameters is still present and proves nothing about the base;
DenseLayer(outputSize) declares its input as [-1], so it is genuinely deferred and exercises
the base path directly.

This is the gate for the DCCRN / DeepFilterNet / SAM / ViMUNet overrides, each of which opens
with ResolveLazyLayerShapes(). Under the governing rule those may now be deleted one at a
time, each with its own commit and a full model-family run — never two in one commit, which
is how 11c602d lost the ability to attribute breakage.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
LayerBase.SetParameters threw "Expected 0 parameters, but got 16 (layer
BatchNormalizationLayer, own 0, tensors 2, buffers 0, sub-layers 0)" on every
deserialize into a layer whose shape comes from its input. The layer HAS two
declared tensors; it just cannot size them until it has seen a channel count.
EnsureMaterializedForParameterSurface runs first and still cannot size them, so
ParameterCount stays 0 and the guard rejected the restore.

The comment directly above that guard already said a zero count "is not a claim
that the layer has no parameters; it is the layer saying it does not know yet".
The guard did not honour it. A layer with declarations but no resolved size now
takes the same wholesale path an unregistered layer takes: the vector is parked
in Parameters and handed to ApplyResolvedParameters when the shape arrives --
what load_state_dict does for a lazy module in PyTorch, and what Conv1DLayer
already depended on.

Measured on Serialize_Deserialize_ShouldPreserveBehavior, 173 tests:
45 failures before, 38 after. The "Expected 0 parameters" signature -- 29 of the
45, and the largest single signature in the clone/serialize bucket -- is gone.
What remains are genuine count mismatches (8, 16, 75, 98, 576) that name a real
disagreement rather than a false zero.

Also makes an absent-storage restore refuse rather than silently return in the
three field-backed sources. Those accessors have no setter, so a null field meant
the values were dropped and the round trip reported success -- a model restored
with its declared shape and none of its weights. An empty vector is still nothing
to do.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
…class

TransformerEncoderLayer had hand-written flags and branches to construct cheaply and
allocate later. Twenty-nine other composites allocate their children eagerly the same
way, and copying that machinery into each of them is the wrong shape of fix: the
policy -- WHEN to allocate -- is identical everywhere, and only the wiring differs.

The base now owns the policy:

  DeclaredSubLayerShapes()            a composite says which child takes which shape
  InitializeShapesWithoutAllocating() a constructor brings the layer up without weights
  BringUpDeclaredSubLayers()          shapes or weights, decided by who is asking
  IsConstructingShapesOnly            the constructor's counterpart to IsResolvingShapesOnly
  DeclaredSubLayerWeightsMaterialized what makes the initializer re-enterable

A composite is left declaring DATA. TransformerEncoderLayer's three private flags become
one, its branch disappears, and what remains is the single fact the base cannot derive:
the children take the embedding width, except the second feed-forward, which consumes the
feed-forward width the first projected up to, and self-attention, which wants a sequence
axis in front.

Shapes are TensorShape, not int[]. TensorShape is the library's shape type and a readonly
struct, so passing it is free -- but its public constructor defensively clones and
ToArray() clones again, so the obvious spelling would pay two copies per child per call to
describe something that never changes. It is built through the internal wrap constructor
(AiDotNet is an InternalsVisibleTo friend) and read back through the internal dimensions
field, which is the same escape hatch ADNPERF001's own message points callers at when it
rejects a throwaway Shape.ToArray(). The declaration is then cached, because
EnsureInitialized deliberately re-enters -- construction resolves shapes, a later caller
allocates -- so a per-call rebuild would allocate the shapes and the list again every time.
Net effect: allocated once per layer instead of once per call, and no clones at all.

Behaviour is unchanged, measured on the same binary as the commit before it:

    VideoCLIP family              1 failed / 58 passed   (unchanged, = baseline)
    LLaVANeXTVideo construction   0.09 s / 19.2 MB       (unchanged)
    TransformerEncoderLayer       round trip EXACT       (unchanged)

Emu3 is deliberately NOT addressed here and is not a composite problem: it builds a flat
stack from LayerHelper.CreateDefaultUnifiedGenerationLayers -- MultiHeadAttentionLayer,
DenseLayer, LayerNormalizationLayer -- so its 16.5 GB is a construction-sized LEAF
allocating eagerly, plus a float mirror of every parameter (11.0 GB double[] + 5.5 GB
float[], exactly one float per double). Both are tracked separately.

The other 28 composites are not migrated in this commit; each needs its own wiring and its
own verification, and the base is what they will migrate onto.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
…tead of resolving them

Second migration onto the base-class deferral, and the first that was not already
deferring, so it exercises the mechanism rather than restating it.

EnsureInitialized called ResolveFromShape on each of the four children behind an
`if (!child.IsShapeResolved)` guard. The guard was redundant -- ResolveFromShape opens
with exactly that check -- and ResolveFromShape ALLOCATES, so a shape walker or a
deferring constructor had no way to ask this block for dimensions without paying for
weights. Declaring the shapes and going through BringUpDeclaredSubLayers gives the
caller that choice, and the block keeps stating the one fact it alone knows: its children
are sized by the block's hidden width, not by the tensor arriving at its input.

The declaration is cached, and its shapes are TensorShape built through the non-copying
wrap, so describing the block costs one allocation for its lifetime rather than four
int[] per call.

Verified on the same binary:
    TimeMoE + VideoCLIP families    2 failed / 101 passed
Both failures are pre-existing and were confirmed by re-running with this change stashed:
VideoCLIP NamedLayerActivations_ShouldBeNonEmpty (dual-tower, unrelated), and
TimeMoE Gradients_MatchFiniteDifference, which fails identically at the parent commit
with numeric=0.0000E+000 on 4/4 sampled parameters.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
…ingle chain

Folding Layers[0..n] in order assumes the model IS that chain. A dual-tower model is
not: VideoCLIP keeps a video stack and a text stack in one Layers list, so the fold
pushed image activations into the text tower's EmbeddingLayer, which refused them --
"element 0 is 0.5967621803283691, which is not a token index in [0, 49408)". The
diagnostic could not answer at all for that model. 902 of the library's models override
PredictCore, so the chain assumption is not safe in general.

The fold stays the fast path, because for a plain chain it is both correct and the
cheapest thing available. When it throws, the model is asked to run itself under the
LayerForwardObserver already wired into LayerBase.Forward, and the activations are read
off what actually executed -- right for a branched model, a custom PredictCore, and a
plain chain alike. Keys keep their existing Layer_{index}_{Type} form, using the position
in Layers when the recorded layer is one of them and call order otherwise, which is the
only index a second tower or a sub-layer has; a layer that runs more than once gets a
suffix instead of overwriting its earlier activation.

Measured on the hand-written neural-network families (99 tests), same binary otherwise:

    fold only (before)          7 failed / 92 passed    4 m 36 s
    observed Predict always     7 failed / 92 passed    5 m 29 s
    fold, then observe          7 failed / 92 passed    4 m 19 s

Replacing the fold outright was tried first and rejected on that measurement: identical
results and slower, because Predict on a generative model is a whole generation loop
where the fold is one pass. The seven remaining failures are the same seven in all three
runs (EchoStateNetwork, FastText, FeedForwardNeuralNetwork, GrokVision, InfoGAN,
Phi3Vision, Transfusion) and are pre-existing; Transfusion and ClaudeVision were
confirmed to time out identically with and without this change.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
The fold over Layers falls back to an observed forward when it THROWS, which covers a
dual-tower model. It did not cover the other way the fold fails: Layers is empty, the
loop runs zero times, and the method returns an empty dictionary without throwing.

Layers is empty for every model that keeps its real layers somewhere else -- an echo
state network's reservoir and readout are plain matrices, InfoGAN holds a generator, a
discriminator and a Q network. Those models reported no activations at all, and the
caller could not tell "this model exposes none" from "the collection did not work".

Treating an empty result the same as a throw fixes three models with no per-model code:

    hand-written neural-network families, NamedLayerActivations, 99 tests
      before   7 failed / 92 passed
      after    4 failed / 95 passed
    now passing: EchoStateNetwork, FeedForwardNeuralNetwork, InfoGAN

The four that remain are two separate problems, and neither is this one:

  FastText          its OWN Predict throws -- "EmbeddingLayer is in Indices mode but
                    element 0 is -0.02822100557386875, which is not a token index in
                    [0, 2000000)". The fixture feeds continuous features to a model whose
                    contract is token indices, so no activation collector can help.
  GrokVision        timed out at the 120 s per-test ceiling
  Phi3Vision        timed out at the 120 s per-test ceiling
  Transfusion       timed out at the 120 s per-test ceiling

MEASUREMENT NOTE, because the earlier numbers on this were wrong. Runs using --no-build
after building only src/ were reading a STALE AiDotNet.dll: an orphaned testhost from a
killed background run held a lock on tests/.../bin, MSBuild gave up after ten retries,
and the copy silently never happened. That is why an earlier pass reported "the same 7
failures" for a change that in fact fixes three. Separately, those killed runs left five
aidotnet-streaming-pool directories holding 32 GB, which filled the disk to 0 bytes free
and made GrokVision and Phi3Vision fail with IOException instead of their real timeout.
Both were cleaned up and every number above was re-measured with a full build and 32 GB
free, twice.

Regression check, clean build: Serialization + LayerContract + ShapeContract
526 passed / 0 failed.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
…h layer

Upstream 3ab1699 put "parameters were restored before the first forward, do not
overwrite them" inside DenseLayer.EnsureInitialized. It is correct, but it is a rule,
and ConvolutionalLayer, FeedForwardLayer and RBMLayer have the same private-latch shape
and would each need their own copy of it.

The rule now lives in LayerBase.TryAdoptRestoredParameters, with three outcomes:
nothing supplied means initialize normally; every tensor supplied AND conforming means
keep what arrived and register it; anything else -- a half-delivered set, or shapes that
disagree with the resolved geometry -- throws with expected against actual.

The middle outcome is why this cannot be a blanket "the tensors exist, so skip". An
earlier attempt did exactly that in EnsureInitializedFromInput and swallowed
CopyOnWriteCloneTests.FreshDense_RejectsIncompatibleReboundWeightsOnFirstForward: the
base can see THAT tensors are present but not whether their shapes are right, because
[inputSize, outputSize] is knowledge only the layer has. So the layer declares its
expected shapes and the base decides what to do about them -- the same division of labour
DeclaredSubLayerShapes already uses in this file for child layers.

DenseLayer's 30-line block is deleted and replaced by a DeclaredParameterShapes override
carrying the two shapes and their roles. The role doubles as the name in the failure
message, so the wording that test pins ("Expected weights [4, 3]" / "received weights
[5, 3]") is reproduced from the declaration rather than hand-written per layer.

STILL HAND-WRITTEN, AND SHOULD NOT BE: the DeclaredParameterShapes override itself. The
fields are already annotated [TrainableParameter(Role = ...)], so the generator knows the
field and the role and only lacks the shape; teaching TrainableParameterAttribute a shape
expression and emitting DeclaredParameterShapes from it would remove the last hand-written
line and cover every lazy layer at once. Tracked.

FeedForwardLayer was migrated too and REVERTED: it resizes its own weights when a
caller's feature width disagrees (EnsureWeightShapeForInput), so a shape mismatch is a
normal state for it rather than a broken restore, and the base's throw fired on healthy
layers -- 10+ VideoCLIP failures. Adopting it needs different semantics, not the same
declaration. ConvolutionalLayer and RBMLayer are untouched for the same reason: neither
has been measured yet.

Verified, full build, same binary:
    CopyOnWriteClone + TransformerLogitsLoss + VideoCLIP family
        + Serialization + LayerContract + ShapeContract     564 passed / 0 failed

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
…declaration

The restored-parameter rule already lived in LayerBase, but the shapes it needs were
reaching it through an override I hand-wrote in DenseLayer. The gap was in the generator,
so that is where this fixes it.

[TrainableParameter] gains a Shape argument -- a comma-separated list of expressions in
the layer's own scope:

    [TrainableParameter(Role = PersistentTensorRole.Weights, Shape = "InputShape[0], OutputShape[0]")]
    [TrainableParameter(Role = PersistentTensorRole.Biases,  Shape = "OutputShape[0]")]

TrainableParameterGenerator emits DeclaredParameterShapes() from those annotations, so no
layer implements it. The generator already knew the field and its role; the shape was the
only missing input. DenseLayer's override is deleted -- 23 lines out, 2 attribute arguments
in -- and any lazy layer now opts in by annotation alone, including ones written later,
which is the case a hand-written check always misses.

An axis written as * becomes -2 and means "this layer adapts this axis". That exists
because FeedForwardLayer was migrated with a fixed first axis and REVERTED: its
EnsureWeightShapeForInput resizes the first axis of its weights when a caller's feature
width disagrees, so a mismatch there is normal operation and the base's throw fired on
healthy layers, taking out 10+ VideoCLIP tests. LayerBase.ShapeMatchesDeclared now skips
-2 axes, so that layer can be annotated as "*, OutputShape[0]" when someone measures it.
The unresolved -1 lazy sentinel keeps its own meaning: any declared axis still negative
(and not -2) makes the generated method return empty, which is the base's signal that the
layer cannot answer yet.

Verified, full build, same binary:
    CopyOnWriteClone + TransformerLogitsLoss + VideoCLIP family
        + Serialization + LayerContract + ShapeContract     564 passed / 0 failed
FreshDense_RejectsIncompatibleReboundWeightsOnFirstForward passes against the GENERATED
declaration, including its pinned wording ("Expected weights [4, 3]" / "received weights
[5, 3]"), which the base builds from the role plus the declared shape.

STILL HAND-WRITTEN IN DenseLayer, and the next thing to remove: the one-line
`if (TryAdoptRestoredParameters())` guard inside its own EnsureInitialized. It stays for
now because it covers all seven entry points into that method, where the base's forward
choke point covers only one. Removing it means having the generator emit the whole lazy
allocation from the same Shape annotations -- at which point DenseLayer has no
EnsureInitialized at all. ConvolutionalLayer and RBMLayer are deliberately unannotated
until each is measured.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
…e FeedForwardLayer

Two things, and the first is why the second was previously impossible.

TryAdoptRestoredParameters decided "was this tensor supplied?" with Length > 0. That is
wrong for a rank-0 placeholder: the product of no dimensions is 1, so an unallocated
tensor reports Length 1 and was counted as delivered. FeedForwardLayer constructs its
fields that way, so the partial-set throw fired during ORDINARY CONSTRUCTION --
"received weights [] and biases []" -- and took out 10+ VideoCLIP tests. DenseLayer never
showed it because its placeholders are [0, 0]. The test is now rank AND length.

That was the real blocker on FeedForwardLayer, not the resizing. With it fixed the layer
annotates cleanly:

    [TrainableParameter(Role = Weights, Shape = "*, _outputSize")]
    [TrainableParameter(Role = Biases,  Shape = "1, _outputSize")]

The * is still needed and still earns its place: EnsureWeightShapeForInput rebuilds the
weights as [actualInputSize, outputSize] when a caller's feature width disagrees, so the
FIRST axis genuinely adapts and pinning it would report a broken restore on a healthy
layer. The second axis and the [1, outputSize] biases are fixed and are checked.

An earlier commit message said this layer could not be annotated because a shape mismatch
is normal for it. Half right: the adapting axis needed the wildcard, but what actually
broke the migration was the rank-0 miscount above, which was a base-class defect that
would have mis-fired on any layer with rank-0 placeholders.

Verified, full build, same binary:
    CopyOnWriteClone + TransformerLogitsLoss + VideoCLIP family
        + Serialization + LayerContract + ShapeContract     564 passed / 0 failed

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
…rotection

ConvolutionalLayer and RBMLayer carried the same defect DenseLayer and FeedForwardLayer
had: a restore binds real tensors into a layer whose private latch is still false, and the
first forward allocates over them. Both now declare their shapes on the fields, so the
generator emits DeclaredParameterShapes and LayerBase.TryAdoptRestoredParameters keeps
what a restore delivered.

    ConvolutionalLayer  _kernels  "OutputDepth, KernelInChannels, KernelSize, KernelSize"
                        _biases   "OutputDepth"
    RBMLayer            _weights        "_hiddenUnits, _visibleUnits"
                        _visibleBiases  "_visibleUnits"

Shapes read off each layer's own allocation, not guessed: ConvolutionalLayer allocates
[OutputDepth, KernelInChannels, KernelSize, KernelSize] and [OutputDepth]; RBMLayer
allocates [_hiddenUnits, _visibleUnits] and [_visibleUnits]. Both leave the visible/input
count at a negative sentinel until resolved, which the generated guard already turns into
an empty declaration.

All four lazy layers in the library are now covered by annotation rather than by any
hand-written rule.

Verified, full build:
    CopyOnWriteClone + TransformerLogitsLoss + VideoCLIP family
        + Serialization + LayerContract + ShapeContract        564 passed / 0 failed
    ConvolutionalNeuralNetwork + RestrictedBoltzmannMachine
        + ConvNetFusedStemPredict                              55 passed / 1 failed

That one failure is RestrictedBoltzmannMachineTests.ParameterGradientAccessor_IsPopulated-
OrExplicitlyUnsupported, and it is PRE-EXISTING: it fails identically with these two files
stashed.

RBMLayer._hiddenBiases is deliberately left unannotated. It carries no [TrainableParameter]
and is picked up by the generator's inverted default instead, so it has nowhere to put a
shape; the declared set is therefore the two annotated tensors, which is sound because the
adopt decision is all-or-nothing across whatever is declared.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
LayerBase.Serialize wrote a bare value count and Deserialize read one, so a layer
saved while materialized could not be loaded into a fresh one: the reader had 784
values and a target declaring 16, with no way to tell "wrong data" from "not
allocated yet". It rejected the restore.

NeuralNetworkBase already solved this -- it calls WriteParameterLayout before the
values and ApplyParameterLayout before pouring them in, so the target is sized to
exactly what was saved. LayerBase had both methods and used neither. The comment
on EnsureMaterializedForParameterSurface even says restore "is told what to
allocate instead of having to infer it"; that was true of models only.

The standalone layer round trip now does the same, in the same order. Format is
distinguished by a negative marker rather than a version field, since a legacy
stream begins with a value count that can never be negative -- so older streams
still load.

Measured on Serialize_Deserialize_ShouldPreserveBehavior, 173 tests:
45 failures at the start of this branch, 38 after deferred layers stopped being
rejected, 17 now.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
The wholesale path puts the entire incoming vector into this layer's own
Parameters. That is right for a lazy leaf and wrong for a parent whose values
belong to its children: it would accept the restore and then predict
differently, which is worse than refusing it.

No measurable change in failure count -- 17 either way on
Serialize_Deserialize_ShouldPreserveBehavior -- so this is a safety change, not
a numbers one. A composite that cannot be sized now fails loudly at the guard
instead of silently mis-distributing.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
… weights

A restore into a lazy layer landed correctly and was then destroyed by the
layer's own first forward. Measured on a GRU round trip: the parameter vectors
were bit-identical immediately after Deserialize, and differed at index 0 after a
single Forward. That is why 15 round-trip tests reported "Output[N] differs"
while the weights had in fact arrived intact -- the failure was downstream of
serialization entirely.

EnsureInitializedFromInput runs OnFirstForward when the shape is unresolved, and
that initializes weights. It cannot simply be skipped for a restored layer:
OnFirstForward is also where derived configuration resolves -- GRULayer sets
_inputSize there and EnsureInitialized throws without it.

So SetParameters holds the vector when the layer has not resolved its shape, and
EnsureInitializedFromInput replays it after initialization has run. Replay is
conditional on the materialized surface being the size the restore was validated
against; a different size means the layer resolved to something the checkpoint
did not describe, and pouring the old values in would be worse than leaving it
initialized.

Serialize_Deserialize_ShouldPreserveBehavior, 173 tests: 17 failures before,
14 after. Branch total so far: 45 -> 14.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
t and others added 2 commits August 19, 2026 18:14
…lean build

A clean build was FAILING and the incremental one hid it. dotnet build skipped
the offending files and left a stale AiDotNet.dll in the test output, so several
test runs measured an assembly that predated the changes under test -- which is
why the declared child widths looked inert at restore when they were simply not
in the binary.

The ten errors were all code the merge brought in that this branch's analyzers
reject, which is the same thing the PR exists to remove: ASGDOptimizer,
RAdamOptimizer and RpropOptimizer carried hand-written Serialize/Deserialize
pairs and were not partial (ADN0060, ADN0061), and two CreateNewInstance
overrides only reconstructed their type (ADN0058). Declaring the state and
deleting the overrides is what the diagnostics ask for.

With the real assembly under test, six Serialize_Deserialize failures became
one, and that one was a distinct defect: a block declaring its input as
[-1, hiddenSize] publishes exactly that shape, and Deserialize tried to resolve
from it, then retried with a batch axis prepended and threw again on the same
-1, uncaught. A shape carrying a free axis is not a resolution, so it now leaves
the layer lazy for the first forward to size.

Layer sweep 220 checked, 0 violations. Serialization 130/130, Parameters 81/81,
and the seven newly scaffolded blocks 77/77.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Two faults that made declaring SOME children worse than declaring none.

The chain returned outright the moment any declaration existed, so a composite
that can state a few widths and genuinely cannot state the rest lost the rest.
VGGish is the case in point: its own input is [-1, -1], so the convolutions are
unknowable, while the two dense layers after the flatten read a width fixed at
construction. It now chains only the children the declaration does not cover, and
a declared child still contributes its output width to whatever follows.

The counting latch stamped its epoch BEFORE doing the work, which conflated "an
attempt was made" with "there is nothing left to resolve". A composite consulted
once before its declaration was ready -- during construction, when an int field
still reads zero -- was locked out of every later attempt in that epoch. Re-entry
is now guarded by its own flag and the epoch is stamped only once every child is
resolved.

VGGish declares the widths it knows, and gains FullyConnectedWidth to name one.
Its two dense layers were shape-deferred, contributing nothing to the count while
GetParameters materialized them.

Layer sweep 220 checked / 0 violations, models 8/8, Serialization 130/130,
Parameters 81/81 all unchanged.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
t and others added 7 commits August 19, 2026 19:45
AutogradFunction.Apply records its tape entry as Output = whatever Forward
returned, and the gradient map is keyed by TENSOR IDENTITY. An identity function
returns one of its own inputs, so output and input are the same key, and the
backward pass found an existing entry and accumulated onto it -- adding the
gradient to itself. Megatron's copy region is exactly that shape, and it made the
analytical input VJP exactly 2x the finite-difference one on every sampled
scalar of ColumnParallelLinear and Stage3ShardedLinear.

The input's gradient IS what Backward returned, already carrying whatever the
function does to it -- the all-reduce, in this case -- so on a self-aliased key
it replaces rather than accumulates. Distinct inputs still accumulate, which is
what a function receiving the same tensor twice needs.

Returning a fresh tensor from Forward instead was tried and is wrong twice over:
it breaks the alias callers rely on, and it disconnected the input from the
graph entirely.

ColumnParallelLinear, RowParallelLinear, Stage3ShardedLinear and
TemporalConv3DLayer now declare scaffold arguments, which is how the defect
became visible: 44/44 across the four, autodiff 25/25, layer sweep unchanged.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
ExpertLayer, MixtureOfExpertsLayer, ParallelStreamsLayer, SpectralNormalization,
TimeDistributed and WordCharEmbedding now declare scaffold arguments, taking the
sweep from 220 measured layers to 227.

Three real defects came out of it.

WordCharEmbedding declared no tensor port at all, so a generated test fed random
continuous values -- negatives included -- into what are token ids, and it failed
on "Packed indices must be non-negative". EmbeddingLayer has declared the same
thing all along. Its two embedding projections also read one-hot vocabularies
rather than the packed id tensor, which chained sizing had no way to know.

TimeDistributed built its output by renting a buffer and filling it with SetSlice
per timestep. That records no tape node, so the inner layer's weights were
unreachable from the loss and every trainable parameter took a zero gradient --
the layer trained not at all while looking healthy. The steps are now joined
through the engine instead.

ParallelStreams splits its input between the two streams, so its declared stream
layers are half the input width.

Layer sweep 227 checked / 0 violations; Serialization 130/130.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
… built

DeclaredSubLayerShapes returns empty for two unrelated reasons and only
HasDeclaredSubLayerStructure tells them apart: the layer declares nothing, or it
declares widths and one of the declared children is still null. The second is the
ordinary state PART-WAY THROUGH THE CONSTRUCTOR, and registration happens there,
so the chain ran at exactly that moment, sized whichever children already existed
from the composite's own input, and those wrong widths stuck for the life of the
layer.

WordCharEmbedding shows it plainly: its word projection reads a one-hot
vocabulary, but the chain caught it mid-construction and sized it to 7, the
packed id width, against the 10-wide vocabulary its checkpoint holds.

Waiting costs nothing, because whoever needs the shapes asks again once the
declaration is ready. This also fixed TimeDistributed's two tape-gradient
failures, whose inner layer had been sized the same way.

Layer sweep 227 checked / 0 violations, Serialization 130/130, Parameters 81/81.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
…vectors

Three faults, one layer, all of them the kind that leaves a reloaded model
predicting differently from the one that was saved.

The inner weights were restored only when the forward THREW. After an ordinary
forward the layer kept the normalized values, so every pass divided them by the
spectral norm again: the weights decayed pass over pass, GetParameters handed
back the shrunken numbers, and a checkpoint written after a forward reloaded into
a layer that normalized them once more. Restoring in a finally ends that.

The power iteration vectors were marked [Scratch], so they were dropped from the
checkpoint. They are not scratch: iteration starts from a RANDOM vector, and with
a single power iteration by default the norm it lands on depends heavily on where
it started -- the reloaded layer computed a different norm and its output moved
from 0.664 to 0.355. They are buffers, which is what PyTorch registers them as.

Declaring them was not enough on its own, because a buffer is registered only
when it is non-null and these were built on the first forward. A freshly
constructed layer therefore had no slot to restore into and silently kept its own
random vectors. They are now built in the constructor whenever the inner layer
can already say how many weights it holds.

Serialize round-trip passes. The remaining tape-gradient failure is a separate
and deeper matter: normalization is applied by writing values through
SetParameters, so the tape never sees the division and the analytical gradient
misses what finite differences measure.

Layer sweep 227 checked / 0 violations, Serialization 130/130, Parameters 81/81.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
…tion

Matches the design PyTorch's spectral_norm parametrization uses: the inner
layer's LIVE weight tensor is divided by sigma and the quotient is bound in its
place for the duration of the forward, rather than copying the weights into a
Vector, dividing the numbers with NumOps and writing them back through
SetParameters.

The old form put the division outside the graph entirely. Sigma depends on W, so
the analytical gradient was missing that dependence while finite differences
measured it, and the layer mutated the module it wraps as a side effect of
running.

Power iteration is separated out and left outside the gradient: it estimates the
singular vectors rather than being a function under differentiation, which is
what every reference implementation detaches. It refines only while training, so
inference is reproducible, and the originals are rebound in a finally so the
wrapped layer keeps the weights it came with.

Ten of the layer's eleven generated tests pass, including the serialize round
trip. The gradient check still disagrees, 0.311 analytical against 0.483
numerical, with u and v frozen by the harness's eval mode -- so the remaining
suspect is the VJP of a broadcast divide with respect to its broadcast
denominator, which has to sum over the broadcast axes.

Layer sweep 227 checked / 0 violations, Serialization 130/130.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
…training

Two faults left after moving the normalization onto the tape.

Dividing by a broadcast sigma gave the wrong gradient. Expressing the same thing
as a multiply by its reciprocal makes the analytical gradient agree with finite
differences, which points at the backward of a broadcast divide with respect to
its broadcast denominator -- it has to sum over the broadcast axes. Worth
chasing on its own; the layer takes the form that is demonstrably correct.

Power iteration starts at a RANDOM vector, and u^T W v on a random pair is an
arbitrary bilinear form, as easily near zero or negative as not, so dividing by
it normalizes nothing. The vectors are frozen outside training on purpose, which
means a layer used for inference before it ever trained divided its weights by
that arbitrary number: output swung between -1.99 and 3.15 across a serialize
round trip on nothing but which random pair each instance drew. They are now
refined once at construction, so sigma is a real estimate from the start whatever
mode the layer runs in. PyTorch leaves them random until the first training
forward and inherits the same hole.

All eleven of the layer's generated tests pass. Layer sweep 227 checked / 0
violations, Serialization 130/130, Parameters 81/81.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
…tribution

The previous commit blamed the backward of a broadcast divide for the gradient
mismatch. That was wrong, and the reasoning behind it was confounded: sigma was
still being computed from unseeded random iteration vectors at the time, so
swapping the divide for a reciprocal and a multiply changed two things at once.
Divide plus seeding passes all eleven tests, so the divide backward was never at
fault and no Tensors change is warranted. The whole defect was the random
vectors, which the following commit already fixed.

The explicit Broadcast* spelling is also the older one. AiDotNet.Tensors #919
made the element-wise operators broadcast on their own, and the pinned 0.128.0
contains it, so TensorAdd and TensorDivide say the same thing more plainly.

Layer sweep 227 checked / 0 violations, Serialization 130/130.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Comment thread src/Audio/VoiceActivity/SileroVad.cs Fixed
Comment thread src/Audio/VoiceActivity/SileroVad.cs Fixed
franklinic and others added 8 commits August 20, 2026 08:34
Addresses the two CodeQL findings on PR #2004 (code-scanning 20876 and
20877, undisposed Tensor<T> at SileroVad.cs:447 and :510), and a larger
defect found at the same two lines.

Both frame loops built a per-frame tensor and then assigned the samples
into frameTensor.ToVector(). That method ALLOCATES A NEW VECTOR AND
COPIES (Tensor.cs:662), so the write landed in a throwaway and the
tensor handed to the model stayed all zeros: GetFrameProbabilities and
DetectSpeechSegments scored every frame as silence, and their output did
not depend on the audio at all.

This is not a new diagnosis. PreprocessAudio in the same file already
carries a comment describing exactly this defect - "the bug that made
the conv frontend see a zero signal and emit a constant 0.5 for every
input" - and writes through Data.Span instead. These two loops were
surviving instances of it, and they had no test coverage, which is why
they survived. Both now use the same Data.Span idiom.

The disposal CodeQL asked for is applied as `using` per frame. It is
safe here because PreprocessAudio allocates its own result tensor, so
nothing downstream retains the per-frame tensor once
GetSpeechProbability returns.

Two tests. FrameProbabilities_DependOnTheAudio asserts the property a
caller cares about rather than the mechanism, and restoring the
ToVector() write fails it with "every frame probability was identical
for silence and for a loud signal". The determinism test still passes
under that mutation - zeros are perfectly deterministic - which is
exactly why determinism alone could never have caught this.

Verified: builds clean on net10.0. New tests 2/2 and mutation-proven.
VoiceActivity + SileroVad 34 passed, 1 skipped, 1 failed -
TrainingError_ShouldNotExceedTestError, which fails identically with
this change stashed and is therefore pre-existing.
The build gate reported "Generated test classes are not covered by any shard filter:
RowParallelLinearTests". Declaring RowParallelLinear for the scaffold generator produced a test
class under a prefix no shard selects, and an unselected class does not fail -- it silently never
runs, which is what check-shard-coverage.ps1 exists to catch.

Row joins the shard that already carries RoM, Robu, Rod, Roo and Rot.
… them

CodeQL flagged two undisposed Tensor<T> locals in DetectSpeechSegments and
GetFrameProbabilities. Reading them showed a second defect at the same lines: both wrote the frame
samples into the result of frameTensor.ToVector(), which returns a COPY. The tensor stayed all
zeros, so both methods scored silence no matter what audio the caller passed.

PreprocessAudio in this same file already documents that exact bug and writes through Data.Span
instead; these two sites were never updated. They now do the same, and each frame tensor is scoped
with using so the per-frame allocations are released rather than left to the finalizer.
A graph layer's adjacency matrix is [numNodes, numNodes] for whatever graph the caller handed in,
so declaring it [FittedParameter] put a caller-sized tensor in the flat parameter vector and made
ParameterCount change under a forward pass. GraphGenerationModel was the visible casualty: its
optimizer built an update from the trainable view while the restore read the full one, and the two
disagreed by exactly the adjacency's width.

[FittedParameter(InputSized = true)] separates "persist this" from "count this". Such a member
registers as a buffer -- so it is written and read by name in the serialized buffer block -- but is
never declared as a parameter component, leaving ParameterCount determined by construction alone.

Three places had to agree for that to hold, and each was its own silent hole:

  - The generated AppendDeclaredParameterComponents omits it. On its own this achieved nothing,
    because GetOrderedParameterComponents sweeps every REGISTERED buffer and re-declares whatever
    the declaration left out. The base now skips the new InputSizedState role there, which is what
    actually keeps the slot out.
  - ReadRegisteredBuffers skipped any name with no live tensor, so a member that only exists once
    the caller supplies it could never be restored -- the payload had nowhere to land. Buffers are
    now rebuilt from the saved shape and installed through a generated name-to-field map, because
    registering a tensor without writing the field leaves the layer computing with the old one.
  - LayerCloning copied GetTrainableParameters, which is the optimizer view and holds no buffers at
    all; clones only ever carried them by riding the vector. Buffer values are now copied by name.

RegisterBuffer's default state role is Buffer, so registering a restored slot from the call site
promoted it back into the vector. The generated map registers under the member's own role instead,
and ApplyParameterLayout routes through the same map rather than allocating with the default.

Readonly buffer fields are left out of the map: they are assigned once by the constructor, are
therefore always live for the write-through path, and cannot be assigned anyway.
The sixteen tensors that carry graph structure -- adjacency on ten layers, GraphTransformer's
structural bias, MessagePassing's and EdgeConditional's edge features, DiffusionConv's laplacian,
mass matrix and eigenvectors -- are all sized by the caller's graph, not by construction. They now
say so with [FittedParameter(InputSized = true)], so they still serialize and deep-copy while
ParameterCount stops moving when a graph arrives.

GraphGenerationModel had two more of the same mistake:

  _autoAdjacencyMatrix was [TrainableParameter]. It is the self-loop identity matrix
  EnsureAdjacencyMatrix derives when a caller predicts without supplying a graph, and it is rebuilt
  whenever the node count changes, so a checkpoint has nothing to carry. Declaring it trainable
  handed a graph to the optimizer. It is [Scratch].

  Train built its gradient vector by walking ITrainableLayer.GetTrainableParameters and pairing the
  result with GetParameters(). Those are two different views and the walk was a second ordering
  written by hand -- exactly what FillParameterGradients exists to prevent, and its own remarks warn
  that such a walk "will drift the first time either side gains a member". It did. The tape is now
  published through the base surface, which scatters each layer by mirroring FillParameters.

The hand-written GetParameterGradients override went with it: it appended _meanWeights and
_logVarWeights to base.GetParameterGradients(), which already folds every tensor
GetExtraTrainableTensors declares, so the extras were counted twice.

Measured on GraphGenerationModelTests: 25 passed, 7 failed, and origin/master run under the same
filter fails those same 7 with the same pre-existing NaN in the VGAE backward. The perf census
fixture that the CI gate reported as failed now records status ok at 2,624 parameters.
… cache

Two corrections to the input-sized work.

ParameterSlotRole.InputSizedState was inserted after LearnedState, which renumbered every role after
it. Appended instead, so existing ordinals keep their meaning.

LinkPredictionModel's _cachedAdjacencyMatrix was [Buffer] while GraphClassificationModel and
NodeClassificationModel mark the identically named field for the identical purpose [Scratch]. It
only started to matter when the class became partial and the model-level generator began reading it:
a nullable buffer with no initializer is derived as fit-produced, so the registry refused to report
parameters until the model was "fit", and the caller's [numNodes, numNodes] graph landed in
GetParameters() while ParameterCount left it out. It caches what the caller supplied, and #1593 made
supplying it the contract, so it joins its two siblings as [Scratch].

Measured: the thirteen graph-layer and graph-task fixtures run 394 tests, 380 passed and 7 failed,
and origin/master under the same filter fails the same 7 with the same pre-existing NaN. Layer
surface sweep 227 checked / 0 violations; Serialization 130/130; Parameters 81/81.
…land

The collaborator fixed the two CodeQL findings in SileroVad while I was fixing the same two, and
reached the same diagnosis: the samples were being written into the ToVector() copy, so both frame
loops handed the model an all-zero tensor. The code is identical on both sides; theirs is kept
because it also adds SileroVadFramePayloadTests, which pins the property a caller cares about
(probabilities depend on the audio) and is mutation-proven against restoring the ToVector() write.
Mine had no test.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants