示例#1
0
文件: _ml.py 项目: cs394-s20/Aqua
 def __init__(self, nM=None, nC=None, **kwargs):
     Model.__init__(self, **kwargs)
     self.nM = nM
     self.nC = nC
示例#2
0
文件: _ml.py 项目: cs394-s20/Aqua
 def __init__(self, out_sizes, nI=None, **kwargs):
     Model.__init__(self, **kwargs)
     self.out_sizes = out_sizes
     self.nO = sum(out_sizes)
     self.nI = nI
示例#3
0
文件: _ml.py 项目: cs394-s20/Aqua
 def __init__(self, nO=None, nI=None, nF=None, nP=None, **kwargs):
     Model.__init__(self, **kwargs)
     self.nO = nO
     self.nP = nP
     self.nI = nI
     self.nF = nF
示例#4
0
文件: _ml.py 项目: cs394-s20/Aqua
 def __init__(self, ngram_size, attr=LOWER):
     Model.__init__(self)
     self.ngram_size = ngram_size
     self.attr = attr
示例#5
0
文件: _ml.py 项目: spacy-io/spaCy
 def __init__(self, nO=None, nI=None, nF=None, nP=None, **kwargs):
     Model.__init__(self, **kwargs)
     self.nO = nO
     self.nP = nP
     self.nI = nI
     self.nF = nF
示例#6
0
文件: _ml.py 项目: spacy-io/spaCy
 def __init__(self, ngram_size, attr=LOWER):
     Model.__init__(self)
     self.ngram_size = ngram_size
     self.attr = attr