Skip to content

Commit

Permalink
fix relative import
Browse files Browse the repository at this point in the history
  • Loading branch information
atiorh committed Aug 9, 2022
1 parent 4b37184 commit da64000
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion ane_transformers/_version.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "0.1.2"
__version__ = "0.1.3"
2 changes: 1 addition & 1 deletion ane_transformers/reference/decoder.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
import torch
import torch.nn as nn

from layer_norm import LayerNormANE
from .layer_norm import LayerNormANE


class TransformerDecoder(nn.Module):
Expand Down
2 changes: 1 addition & 1 deletion ane_transformers/reference/ffn.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
import torch
import torch.nn as nn

from layer_norm import LayerNormANE
from .layer_norm import LayerNormANE


class FFN(nn.Module):
Expand Down
2 changes: 1 addition & 1 deletion ane_transformers/reference/multihead_attention.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
import torch
import torch.nn as nn

from layer_norm import LayerNormANE
from .layer_norm import LayerNormANE


class MultiHeadAttention(nn.Module):
Expand Down
2 changes: 1 addition & 1 deletion ane_transformers/reference/transformer.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
import torch
import torch.nn as nn

import encoder, decoder, multihead_attention, ffn
from . import encoder, decoder, multihead_attention, ffn


class AppleNeuralEngineTransformer(nn.Module):
Expand Down

0 comments on commit da64000

Please sign in to comment.