mirror of
https://github.com/gryf/coach.git
synced 2025-12-17 11:10:20 +01:00
Unify base class using new-style (object).
This commit is contained in:
@@ -17,7 +17,7 @@
|
||||
import tensorflow as tf
|
||||
|
||||
|
||||
class InputEmbedder:
|
||||
class InputEmbedder(object):
|
||||
def __init__(self, input_size, activation_function=tf.nn.relu, name="embedder"):
|
||||
self.name = name
|
||||
self.input_size = input_size
|
||||
|
||||
Reference in New Issue
Block a user