Shortcuts

InceptionTime

class torchtime.models.InceptionTime(n_inputs: Optional[int] = None, n_classes: Optional[int] = None, use_residual=True, use_bottleneck=True, depth=6, n_convolutions: int = 3, n_filters: int = 32, kernel_size=32, initialization='kaiming_uniform', **kwargs)[source]

InceptionTime model definition

Parameters:
forward(x: Tensor)[source]

Define the computation performed at every call.

Should be overridden by all subclasses.

Note

Although the recipe for forward pass needs to be defined within this function, one should call the Module instance afterwards instead of this since the former takes care of running the registered hooks while the latter silently ignores them.

Parameters:

x (Tensor) –