'.. deprecated:: 1.1.4
Use :func:`load_params` instead
Arguments:
weight_path:'

def load_weights(self, weight_path):

    logger.warning('Calling    deprecated    load_weights    function.        Use    load_params    instead')
    self.load_params(weight_path)
