mirror of
https://github.com/wassname/pytorch-ts.git
synced 2026-06-27 18:06:19 +08:00
added unit interval domain map
This commit is contained in:
@@ -515,6 +515,7 @@ class ImplicitQuantileOutput(IndependentDistributionOutput):
|
||||
available_domain_map_cls = {
|
||||
"Positive": nn.Softplus,
|
||||
"Real": nn.Identity,
|
||||
"Unit": nn.Softmax,
|
||||
}
|
||||
assert (
|
||||
output_domain in available_domain_map_cls.keys()
|
||||
|
||||
Reference in New Issue
Block a user