def claModelControlDisableTPLearningCb(claModel):
 assert isinstance(claModel, CLAModel)
 claModel._getTPRegion().setParameter('learningMode', False)
 return

def claModelControlDisableTPLearningCb ( claModel ) : assert isinstance ( claModel , CLAModel ) claModel . _getTPRegion ( ) . setParameter ( 'learningMode' , False ) return
disables learning in the cla models temporal pooler .