torch_frame.nn.encoder.StackEncoder
- class StackEncoder(out_channels: Optional[int] = None, stats_list: Optional[list[dict[torch_frame.data.stats.StatType, Any]]] = None, stype: Optional[stype] = None, post_module: Optional[Module] = None, na_strategy: Optional[NAStrategy] = None)[source]
Bases:
StypeEncoderSimply stack input numerical features of shape
[batch_size, num_cols]into[batch_size, num_cols, out_channels].