def _getModelCheckpointDir(experimentDir, checkpointLabel):
 checkpointDir = os.path.join(getCheckpointParentDir(experimentDir), (checkpointLabel + g_defaultCheckpointExtension))
 checkpointDir = os.path.abspath(checkpointDir)
 return checkpointDir

def _getModelCheckpointDir ( experimentDir , checkpointLabel ) : checkpointDir = os . path . join ( getCheckpointParentDir ( experimentDir ) , ( checkpointLabel + g_defaultCheckpointExtension ) ) checkpointDir = os . path . abspath ( checkpointDir ) return checkpointDir
creates directory for serialization of the model checkpointlabel: checkpoint label returns: absolute path to the serialization directory .