code: def getActivationsDict(self, nameList):
          
          retval = {}
          for name in nameList:
              retval[name] = self.layersByName[name].getActivationsList()
          return retval
docs: Returns a dictionary of layer names that map to a list of activations.