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]
weight_norm: bool = False
dilated: bool = False
causal: bool = False

Default JSON

{
    "kernel_num": 100,
    "kernel_sizes": [
        3,
        4
    ],
    "weight_norm": false,
    "dilated": false,
    "causal": false
}