class_docstr: Class containing all attributes of a given layer.
  
  Instances of this class behave like a dictionary. Upon insertion, the key/value may trigger additional actions,
  such as registering variables or modifying the key name to ensure it follows the convention.
  
  Specific "views" (mappings) of this class can be used to filter desired attributes via the ``AttributeMapping`` class.
class_docstr_tok: ["Class","containing","all","attributes","of","a","given","layer",".","Instances","of","this","class","behave","like","a","dictionary",".","Upon","insertion",",","the","key\/value","may","trigger","additional","actions",",","such","as","registering","variables","or","modifying","the","key","name","to","ensure","it","follows","the","convention",".","Specific","``","views","''","(","mappings",")","of","this","class","can","be","used","to","filter","desired","attributes","via","the","``","AttributeMapping","``","class","."]
code: def __len__(self):
      return len(self.attributes)
  
imports: from collections.abc import MutableMapping
  from numbers import Integral
  from hls4ml.model.types import NamedType, Source, TensorVariable, WeightVariable
  from hls4ml.utils.string_utils import convert_to_pascal_case
label_desc: Use image node_id 3 for calling the AttributeDict obj's underlying member method code with example usage: obj.__len__() and returns: len