CNNParamsΒΆ

class pytext.config.module_config.CNNParams[source]

Bases: ConfigBase

All Attributes (including base classes)

kernel_num: int = 100
kernel_sizes: List[int] = [3, 4]

Default JSON

{
    "kernel_num": 100,
    "kernel_sizes": [
        3,
        4
    ]
}