chore: Absolute imports

This commit is contained in:
Alexander Engelsberger 2021-10-15 13:07:08 +02:00
parent b49b7a2d41
commit 3d3d27fbab
No known key found for this signature in database
GPG Key ID: BE3F5909FF0D83E3
3 changed files with 4 additions and 3 deletions

View File

@ -6,7 +6,8 @@ from typing import Union
import torch
from torch.nn.parameter import Parameter
from ..utils import parse_distribution
from prototorch.utils import parse_distribution
from .initializers import (
AbstractClassAwareCompInitializer,
AbstractComponentsInitializer,

View File

@ -11,7 +11,7 @@ from typing import (
import torch
from ..utils import parse_data_arg, parse_distribution
from prototorch.utils import parse_data_arg, parse_distribution
# Components

View File

@ -2,7 +2,7 @@
import torch
from ..nn.activations import get_activation
from prototorch.nn.activations import get_activation
# Helpers