class_docstr: Base class for properties.
  
  Parameters
  ----------
  default : object
      Default property value. Defaults to ``None``.
  
  required : bool
      If parameter equal to ``True`` and value is not defined
      after initialization then exception will be triggered.
      Defaults to ``False``.
  
  allow_none : bool
      When value is equal to ``True`` than ``None`` is a valid
      value for the parameter. Defaults to ``False``.
  
  Attributes
  ----------
  name : str or None
      Name of the property. ``None`` in case if name
      wasn't specified.
  
  expected_type : tuple or object
      Expected data types of the property.
class_docstr_tok: ["Base","class","for","properties",".","Parameters","--","--","--","--","--","default",":","object","Default","property","value",".","Defaults","to","``","None","``",".","required",":","bool","If","parameter","equal","to","``","True","``","and","value","is","not","defined","after","initialization","then","exception","will","be","triggered",".","Defaults","to","``","False","``",".","allow_none",":","bool","When","value","is","equal","to","``","True","``","than","``","None","``","is","a","valid","value","for","the","parameter",".","Defaults","to","``","False","``",".","Attributes","--","--","--","--","--","name",":","str","or","None","Name","of","the","property",".","``","None","``","in","case","if","name","was","n't","specified",".","expected_type",":","tuple","or","object","Expected","data","types","of","the","property","."]
code: def __set__(self, instance, value):
      if not self.allow_none or value is not None:
          self.validate(value)
  
      instance.__dict__[self.name] = value
  
imports: import numbers
  import inspect
  import numpy
  import tensorflow
  from neupy import init
  from neupy.utils import as_tuple
  from neupy.core.docs import SharedDocs
label_desc: Use image node_id 2 for calling the BaseProperty obj's underlying member method code with example usage: obj.__set__(instance, value) without return types