src/nupic/algorithms/temporal_memory_shim.py
def write(self, proto):
    """Populate serialization proto instance.

    :param proto: (TemporalMemoryShimProto) the proto instance to populate
    """
    super(TemporalMemoryShim, self).write(proto.baseTM)
    proto.connections.write(self.connections)
    proto.predictiveCells = self.predictiveCells
def write(self, proto):
    """Populate serialization proto instance.

    :param proto: (TemporalMemoryShimProto) the proto instance to populate
    """
    super(TemporalMemoryShim, self).write(proto.baseTM)
    proto.connections.write(self.connections)
    proto.predictiveCells = self.predictiveCells
Populate serialization proto instance.

    :param proto: (TemporalMemoryShimProto) the proto instance to populate