Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for _empty_node (0.1 sec)

  1. tensorflow/compiler/mlir/quantization/tensorflow/tests/add_dump_tensor_op_stablehlo.mlir

    // WholeModel-DAG: %[[matmul1_q:.*]] = "tf.XlaCallModule"(%[[matmul0_q]], %[[w0]], %[[b0]]) <{Sout = [#tf_type.shape<?x2>], module = "", version = 9 : i64}> {_entry_function = @composite_dot_general_with_bias_an...
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Mar 22 22:55:22 UTC 2024
    - 18K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/quantization/tensorflow/passes/add_dump_tensor_op.cc

    constexpr StringRef kCompositeFuncPrefix = "composite_";
    constexpr StringRef kEmptyNodeName = "_empty_node";
    
    // Returns a pair: `func_name` and `node_name` for the lifted function. In TF
    // quantizer, both are filled. For StableHLO quantizer, the func_name is only
    // filled and node_name is always set to "_empty_node".
    std::pair<std::string, std::string> GetFuncNameAndNodeName(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Mar 22 22:55:22 UTC 2024
    - 13K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/quantization/tensorflow/python/integration_test/quantize_model_test.py

          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:
          assert False, f'Please add assertion for the op_set: {target_opset}.'
    
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 17 03:36:50 UTC 2024
    - 235.6K bytes
    - Viewed (0)
Back to top