def _createTMs(numCols, cellsPerColumn=<NUM_LIT:4>, checkSynapseConsistency=True):
<EOL>minThreshold = <NUM_LIT:4><EOL>activationThreshold = <NUM_LIT:4><EOL>newSynapseCount = <NUM_LIT:5><EOL>initialPerm = <NUM_LIT><EOL>connectedPerm = <NUM_LIT:0.5><EOL>permanenceInc = <NUM_LIT:0.1><EOL>permanenceDec = <NUM_LIT><EOL>globalDecay = <NUM_LIT:0.0><EOL>if VERBOSITY > <NUM_LIT:1>:<EOL><INDENT>print("<STR_LIT>")<EOL><DEDENT>cppTm = BacktrackingTMCPP(numberOfCols=numCols, cellsPerColumn=cellsPerColumn,<EOL>initialPerm=initialPerm, connectedPerm=connectedPerm,<EOL>minThreshold=minThreshold, newSynapseCount=newSynapseCount,<EOL>permanenceInc=permanenceInc, permanenceDec=permanenceDec,<EOL>activationThreshold=activationThreshold,<EOL>globalDecay=globalDecay, burnIn=<NUM_LIT:1>,<EOL>seed=SEED, verbosity=VERBOSITY,<EOL>checkSynapseConsistency=checkSynapseConsistency,<EOL>pamLength=<NUM_LIT:1000>)<EOL>if VERBOSITY > <NUM_LIT:1>:<EOL><INDENT>print("<STR_LIT>")<EOL><DEDENT>pyTm = BacktrackingTM(numberOfCols=numCols, cellsPerColumn=cellsPerColumn,<EOL>initialPerm=initialPerm, connectedPerm=connectedPerm,<EOL>minThreshold=minThreshold, newSynapseCount=newSynapseCount,<EOL>permanenceInc=permanenceInc, permanenceDec=permanenceDec,<EOL>activationThreshold=activationThreshold,<EOL>globalDecay=globalDecay, burnIn=<NUM_LIT:1>,<EOL>seed=SEED, verbosity=VERBOSITY,<EOL>pamLength=<NUM_LIT:1000>)<EOL>return cppTm, pyTm<EOL>
Create TM and BacktrackingTMCPP instances with identical parameters.