Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for literal_eval (0.26 sec)

  1. tensorflow/compiler/mlir/quantization/tensorflow/gen_quantized_function_library.py

          re.MULTILINE | re.DOTALL)
      while True:
        func_match = re.search(compiled_regex, module)
        if func_match is None:
          break
    
        try:
          arg_name = func_match.group(1)
          arg_values = ast.literal_eval(func_match.group(2))
          loop_template = string.Template(func_match.group(3))
        except Exception as e:  # pylint: disable=broad-except
          raise ValueError('The loop template is in wrong format') from e
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Dec 20 01:38:06 UTC 2022
    - 8.4K bytes
    - Viewed (0)
Back to top