Exemple #1
0
 def extract(cls, node):
     Pow.update_node_stat(node)
     return cls.enabled
Exemple #2
0
 def extract(cls, node):
     Pow.update_node_stat(
         node, {'data_type': tf_dtype_extractor(node.pb.attr["T"].type)})
     return cls.enabled
 def extract(node: Node):
     Pow.update_node_stat(node)
     return __class__.enabled