Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for getTrait (0.11 sec)

  1. 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)
  2. tensorflow/compiler/mlir/lite/converter_gen.cc

      llvm::sort(defs, LessRecord());
    
      // Iterate through all the ops defined.
      for (const auto *def : defs) {
        mlir::tblgen::Operator op(*def);
        if (!op.getTrait("TflRuntimeVerifyOpInterface::Trait")) continue;
    
        mlir::tblgen::FmtContext verify_ctx;
        os << "::mlir::LogicalResult " << op.getCppClassName()
           << "::VerifyTflRuntimeConstraints(::mlir::Operation *op, bool "
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Dec 19 15:05:28 UTC 2023
    - 23.7K bytes
    - Viewed (0)
Back to top