davidaf3 commited on
Commit
bf8a52d
1 Parent(s): 79a66df

Removed relative imports

Browse files
Files changed (2) hide show
  1. tfing.py +1 -1
  2. tfport.py +1 -1
tfing.py CHANGED
@@ -1,6 +1,6 @@
1
  import tensorflow as tf
2
  from tensorflow import keras
3
- from .transformer import TransformerDecoder
4
  import tensorflow_probability as tfp
5
 
6
  class TFIng(keras.Model):
 
1
  import tensorflow as tf
2
  from tensorflow import keras
3
+ from transformer import TransformerDecoder
4
  import tensorflow_probability as tfp
5
 
6
  class TFIng(keras.Model):
tfport.py CHANGED
@@ -1,6 +1,6 @@
1
  import tensorflow as tf
2
  from tensorflow import keras
3
- from .transformer import TransformerEncoder, TransformerDecoderLayer, get_look_ahead_mask, get_padding_mask
4
 
5
  class TFPort(keras.Model):
6
  def __init__(self, crop_size, embed_dim, encoder_layers, decoder_layers, input_seq_length,
 
1
  import tensorflow as tf
2
  from tensorflow import keras
3
+ from transformer import TransformerEncoder, TransformerDecoderLayer, get_look_ahead_mask, get_padding_mask
4
 
5
  class TFPort(keras.Model):
6
  def __init__(self, crop_size, embed_dim, encoder_layers, decoder_layers, input_seq_length,