Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for FunctionOpInterface (0.27 sec)

  1. tensorflow/compiler/mlir/tfr/ir/tfr_ops.td

    // Function related classes
    //===----------------------------------------------------------------------===//
    
    def TFR_TFRFuncOp : TFR_Op<"func", [HasParent<"ModuleOp">,
                                        FunctionOpInterface,
                                        IsolatedFromAbove, Symbol]> {
      let summary = "TFR Function defines a composition of other ops";
    
      let description = [{
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Apr 22 10:54:29 UTC 2024
    - 17.4K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/quantization/tensorflow/passes/insert_main_function.cc

        StringRef attr_name = attr.getName().getValue();
        if (attr_name.starts_with("tf_saved_model.")) {
          func->removeAttr(attr_name);
        }
      }
    
      auto iface = cast<FunctionOpInterface>(func.getOperation());
      for (int i = 0; i < func.getNumArguments(); ++i) {
        for (auto& attr : iface.getArgAttrs(i)) {
          const StringAttr& attr_name = attr.getName();
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 16.5K bytes
    - Viewed (0)
Back to top