Skip to content

Commit

Permalink
Merge branch 'master' of github.com:nicolay-r/AREnets
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolay-r committed Jan 23, 2023
2 parents f7dd651 + e791dbd commit e943c30
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions docs/tutorial_attention.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,9 +59,6 @@ import tensorflow as tf

class AttentionSelfPZhouCNNConfig(CNNConfig):

def __init__(self):
super(AttentionSelfPZhouCNNConfig, self).__init__()

@property
def BiasInitializer(self):
return tf.constant_initializer(0.1)
Expand All @@ -71,4 +68,4 @@ class AttentionSelfPZhouCNNConfig(CNNConfig):
return tf.contrib.layers.xavier_initializer()
```

Finally the developed model and configuration could be passed into `train(...)` function in oder to use it.
Finally the developed model and configuration could be passed into `train(...)` function in oder to use it.

0 comments on commit e943c30

Please sign in to comment.