Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. tensorflow/compiler/mlir/quantization/stablehlo/passes/quantization_patterns.cc

    // 2. `xla_call_module_op` should have the `kQuantTraitAttrName` attribute.
    // 3. It should also have the `kEntryFuncAttrName` attribute, which points to
    //    the function that `xla_call_module_op` represents.
    bool IsQuantizedXlaCallModuleOp(TF::XlaCallModuleOp xla_call_module_op) {
      return !IsOpNotQuantized(xla_call_module_op) &&
             xla_call_module_op->hasAttr(kQuantTraitAttrName) &&
             xla_call_module_op->hasAttr(kEntryFuncAttrName);
    }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 03 06:04:36 UTC 2024
    - 41.7K bytes
    - Viewed (0)
Back to top