Skip to content

Commit

Permalink
rename drmmmodel as drmm
Browse files Browse the repository at this point in the history
  • Loading branch information
faneshion committed Dec 14, 2018
1 parent 014daec commit ec8f1b5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
1 change: 1 addition & 0 deletions matchzoo/models/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
from .conv_knrm_model import ConvKNRMModel
from .duet_model import DUETModel
from .drmmtks_model import DRMMTKSModel
from .drmm import DRMM

import matchzoo
def list_available():
Expand Down
7 changes: 2 additions & 5 deletions matchzoo/models/drmm_model.py → matchzoo/models/drmm.py
Original file line number Diff line number Diff line change
@@ -1,22 +1,19 @@
"""An implementation of DRMM Model."""
import typing
import logging

import keras
import keras.backend as K
from keras.activations import softmax

from matchzoo import engine

logger = logging.getLogger(__name__)


class DRMMModel(engine.BaseModel):
class DRMM(engine.BaseModel):
"""
DRMM Model.
Examples:
>>> model = DRMMModel()
>>> model = DRMM()
>>> model.guess_and_fill_missing_params(verbose=0)
>>> model.build()
Expand Down

0 comments on commit ec8f1b5

Please sign in to comment.