pub trait FeatureMapShape {
// Required method
fn feature_dim(&self) -> usize;
}Expand description
Helper trait for kinds of feature extractor whose output dimension
matches the base kernel’s expected input dimension. Implemented
automatically for every NeuralFeatureMap; exists purely as a
documentation anchor.
Required Methods§
Sourcefn feature_dim(&self) -> usize
fn feature_dim(&self) -> usize
Output dimension of the feature map — i.e. the dimension the base kernel will see.