Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for getDefinedAttributeNames (0.36 sec)

  1. tensorflow/compiler/mlir/tfr/passes/decompose.cc

        auto compose_func_signature =
            table.lookup<TFRFuncOp>(compose_func_name + "_");
        if (!compose_func_signature) compose_func_signature = compose_func;
        auto defined_attrs = compose_func_signature.getDefinedAttributeNames();
        if (failed(ValidateAttrs(op, defined_attrs))) {
          return WalkResult::interrupt();
        }
    
        tensorflow::IncreaseOpExpansionExecuteCounterByOne(
            op->getName().getStringRef().str());
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 14.6K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tfr/ir/tfr_ops.td

        ArrayRef<Type> getResultTypes() { return getFunctionType().getResults(); }
    
        // Get the names of all defined attributes, including both derived and
        // non-derived ones.
        llvm::StringSet<> getDefinedAttributeNames() {
          llvm::StringSet<> all_attrs;
          for (auto& attr : (*this)->getAttrs()) {
            all_attrs.insert(attr.getName().strref());
          }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Apr 22 10:54:29 UTC 2024
    - 17.4K bytes
    - Viewed (0)
Back to top