tempor.models.constants module¶
Common constants for the models package directory.
-
tempor.models.constants.DEVICE =
device(type='cpu')¶ torch.deviceto use for computation, defaults to"cuda:0"if available, else"cpu".
- tempor.models.constants.ModelTaskType¶
Possible values specifying a model task type.
alias of
Literal[classification, regression]
- tempor.models.constants.ODEBackend¶
Possible values specifying an ODE backend.
alias of
Literal[ode, cde, laplace]
- tempor.models.constants.Nonlin¶
Possible values specifying a nonlinearity.
alias of
Literal[none, elu, relu, leaky_relu, selu, tanh, sigmoid, softmax, gumbel_softmax]
- tempor.models.constants.Samp¶
Possible values specifying a Sampler.
alias of
Literal[BatchSampler, RandomSampler, Sampler, SequentialSampler, SubsetRandomSampler, WeightedRandomSampler]