def htmPredictionModelControlDisableTPLearningCb(htmPredictionModel):
assert isinstance(htmPredictionModel, HTMPredictionModel)<EOL>htmPredictionModel._getTPRegion().setParameter('<STR_LIT>', False)<EOL>return<EOL>
Disables learning in the HTMPredictionModel's Temporal Pooler, while
    retaining the ability to re-enable TM learning in the future.

    See also: htmPredictionModelControlEnableTPLearningCb.
    See also: model_callbacks.modelControlFinishLearningCb.

    htmPredictionModel:  pointer to a HTMPredictionModel instance

    Returns: nothing