Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for match_node_name (0.21 sec)

  1. tensorflow/compiler/mlir/quantization/tensorflow/python/integration_test/quantize_model_test_base.py

          'attr_name' is given.
        """
    
        def match_node_name(name):
          if not node_name:
            return True
          compiled_regex = re.compile(node_name)
          match = re.fullmatch(compiled_regex, name)
          return match is not None
    
        return any(
            node.attr.get(attr_name) == attr_val
            for node in nodes
            if node.op == op_name and match_node_name(node.name)
        )
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Mar 21 08:51:46 UTC 2024
    - 51.2K bytes
    - Viewed (0)
Back to top