TemporalFrameSplicingLayer<T>

Layers ยท AiDotNet.NeuralNetworks.Layers

Concatenates adjacent temporal frames along the feature axis.

Inheritance: LayerBase<T> โ†’ TemporalFrameSplicingLayer<T>

Implements: IShapeContract

How It Works

For an input shaped [batch, time, features] and a factor S, the output is [batch, floor(time / S), features * S]. As in the released FireRedASR adapter, an incomplete trailing group is discarded. Slicing and reshaping remain connected to the gradient tape through the tensor engine.

Constructors

Constructor Summary
TemporalFrameSplicingLayer()
TemporalFrameSplicingLayer(int factor)

Properties

Property Summary
bool SupportsTraining { get; }

Methods

Method Summary
IReadOnlyList<OutputAxisContract> OutputAxesFor(int inputRank)
void ResetState()