Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for createCheckAcceptedOpsPass (0.26 sec)

  1. tensorflow/compiler/mlir/lite/stablehlo/transforms/check_accepted_ops_pass.h

    // Based on the list of dialect and op names, it signals failure or not.
    // If some ops are in the `optional_accepted_dialects`, then it warns them.
    std::unique_ptr<Pass> createCheckAcceptedOpsPass(
        const std::vector<std::string> &optional_accepted_dialects = {});
    
    }  // namespace odml
    }  // namespace mlir
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Sep 02 19:10:29 UTC 2022
    - 1.4K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/stablehlo/transforms/check_accepted_ops_pass.cc

        } else {
          // The other ops are not accepted.
          return signalPassFailure();
        }
      });
    }
    
    }  // namespace odml
    }  // namespace mlir
    
    std::unique_ptr<mlir::Pass> mlir::odml::createCheckAcceptedOpsPass(
        const std::vector<std::string> &optional_accepted_dialects) {
      return std::make_unique<mlir::odml::CheckAcceptedOpsPass>(
          optional_accepted_dialects);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Aug 24 21:06:11 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/lite/stablehlo/odml_to_stablehlo.cc

          // This `allow_tf` logic should be removed after the backend supports tf.
          optional_accepted_dialects.push_back("tf");
        }
        pm.addPass(
            mlir::odml::createCheckAcceptedOpsPass(optional_accepted_dialects));
      }
    
      mlir::odml::AddStablehloOptimizationPasses(pm);
    
      if (verbose) {
        // Print out a detailed report of non-converted stats.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 03 18:16:49 UTC 2024
    - 14.1K bytes
    - Viewed (0)
Back to top