- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for assertRegex (0.11 sec)
-
tensorflow/compiler/mlir/quantization/stablehlo/python/integration_test/quantize_model_test.py
# and stablehlo.maximum for relu. if activation_fn is nn_ops.relu6: self.assertRegex(module_str, r'stablehlo.clamp.*\n.*return') elif activation_fn is nn_ops.relu: self.assertRegex(module_str, r'stablehlo.maximum.*\n.*return') else: # Check activation functions are implicit.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue May 14 06:31:57 UTC 2024 - 51.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/tensorflow/python/integration_test/quantize_model_test.py
) if target_opset == quant_opts_pb2.XLA: self.assertEqual(quant_unit.node_name, 'Conv2D') self.assertRegex(quant_unit.func_name, r'^__inference_conv_\d+') elif target_opset == quant_opts_pb2.STABLEHLO: self.assertEqual(quant_unit.node_name, '_empty_node') self.assertRegex( quant_unit.func_name, r'^composite_conv_([a-zA-Z_0-9]+_)*fn_\d+' ) else:
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 17 03:36:50 UTC 2024 - 235.6K bytes - Viewed (0)