Skip to content

Commit

Permalink
Formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
lilleswing committed Mar 29, 2017
1 parent ab1975b commit a43e5e5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion deepchem/models/tensorgraph/layers.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@


class Layer(object):

def __init__(self, **kwargs):
if "name" not in kwargs:
self.name = "%s%s" % (self.__class__.__name__, self._random_name())
Expand Down Expand Up @@ -174,6 +175,7 @@ def __call__(self, *parents):


class Input(Layer):

def __init__(self, shape, pre_queue=False, **kwargs):
self.shape = shape
self.pre_queue = pre_queue
Expand All @@ -200,7 +202,6 @@ def get_pre_q_name(self):
return "%s_pre_q" % self.name



class LossLayer(Layer):

def __init__(self, **kwargs):
Expand Down

0 comments on commit a43e5e5

Please sign in to comment.