Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for getTraits (0.12 sec)

  1. tensorflow/compiler/mlir/lite/converter_gen.cc

                                 "operand");
        GenOperandResultVerifier(os, def->getValueAsDag("results")->getArgs(),
                                 "result");
    
        for (auto &trait : op.getTraits()) {
          if (!trait.getDef().isSubClassOf("GenInternalOpTrait")) {
            continue;
          }
          if (trait.getDef().getValueAsString("trait") !=
              "::mlir::OpTrait::TFLRuntimeOpTrait") {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Dec 19 15:05:28 UTC 2023
    - 23.7K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/quantization/tools/tflite_op_coverage_spec_getters_gen.cc

      os.indent(4) << "new std::set<std::string>({\n";
    
      // Retrieve all the ops that have DynamicRangeQuantizedOpInterface trait.
      for (const auto *def : defs) {
        Operator op(def);
        if (!op.getTrait("DynamicRangeQuantizedOpInterface::Trait")) continue;
    
        auto op_name = op.getCppClassName();
        auto op_extra_declaration = op.getExtraClassDeclaration().str();
    
        bool kernel_support = absl::StrContains(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Sep 06 19:12:29 UTC 2023
    - 12.7K bytes
    - Viewed (0)
Back to top