Skip to content

Instantly share code, notes, and snippets.

from paddle import v2 as paddle
from paddle.v2.attr import ParamAttr
from utils import TaskType, logger, ModelType, ModelArch, load_dic
from paddle.trainer_config_helpers import *
class DSSM(object):
def __init__(self,
dnn_dims=[],
vocab_sizes=[],