src/nupic/regions/record_sensor.py
def writeToProto(self, proto):
    """
    Overrides :meth:`nupic.bindings.regions.PyRegion.PyRegion.writeToProto`.
    """
    self.encoder.write(proto.encoder)
    if self.disabledEncoder is not None:
      self.disabledEncoder.write(proto.disabledEncoder)
    proto.topDownMode = int(self.topDownMode)
    proto.verbosity = self.verbosity
    proto.numCategories = self.numCategories
def writeToProto(self, proto):
    """
    Overrides :meth:`nupic.bindings.regions.PyRegion.PyRegion.writeToProto`.
    """
    self.encoder.write(proto.encoder)
    if self.disabledEncoder is not None:
      self.disabledEncoder.write(proto.disabledEncoder)
    proto.topDownMode = int(self.topDownMode)
    proto.verbosity = self.verbosity
    proto.numCategories = self.numCategories
def writeToProto ( self , proto ) : self . encoder . write ( proto . encoder ) if self . disabledEncoder is not None : self . disabledEncoder . write ( proto . disabledEncoder ) proto . topDownMode = int ( self . topDownMode ) proto . verbosity = self . verbosity proto . numCategories = self . numCategories
Overrides :meth:`nupic.bindings.regions.PyRegion.PyRegion.writeToProto`.
Overrides : meth : nupic . bindings . regions . PyRegion . PyRegion . writeToProto .