daanet
daanet copied to clipboard
ValueError: You can only pass an initializer function
I'm interested in dual ask-answer model too much. I weired error in below
File "/Users/sunu/IdeaProjects/QAZeroToAll/daanet/daanet/basic.py", line 169, in _embed trainable=True) File "/Users/sunu/IdeaProjects/QAZeroToAll/daanet/nlp/nn.py", line 91, in get_var regularizer=regularizer_fn, **kwargs) ... ValueError: You can only pass an initializer function that expects no arguments to its callable when the shape is not fully defined. The given initializer function expects the following args ['shape', 'dtype', 'partition_info']
I wondered why daanet / basic.py only use the get_var () method in self.char_emb