Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 2,145 for pass2 (0.26 sec)

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

    #include <memory>
    #include <string>
    #include <vector>
    
    #include "llvm/ADT/StringRef.h"
    #include "mlir/Dialect/Func/IR/FuncOps.h"  // from @llvm-project
    #include "mlir/Pass/Pass.h"  // from @llvm-project
    #include "mlir/Pass/PassManager.h"  // from @llvm-project
    #include "mlir/Support/LLVM.h"  // from @llvm-project
    #include "mlir/Transforms/Passes.h"  // from @llvm-project
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 06 18:45:51 UTC 2024
    - 25.5K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/stablehlo/transforms/passes.td

      let dependentDialects = ["mlir::stablehlo::StablehloDialect"];
    }
    
    def UnfoldSplatConstantPass : Pass<"unfold-splat-constant-pass", "ModuleOp"> {
      let summary = "Replaces a splat constant tensor with a BroadcastInDim op.";
      let constructor = "mlir::odml::CreateUnfoldSplatConstantPass()";
    }
    
    def CompositeLoweringPass : Pass<"composite-lowering", "ModuleOp"> {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 21:59:06 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/quantization/stablehlo/passes/testing/passes.td

    ==============================================================================*/
    
    // Passes only used for testing purposes.
    
    include "mlir/Pass/PassBase.td"
    
    def TestPreCalibrationComponentPass : Pass<"stablehlo-test-pre-calibration-component", "mlir::ModuleOp"> {
      let summary = "Test-only pass to test the PreCalibrationComponent.";
      let description = [{
        Runs the pre calibration passes for post-training quantization with default
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Mar 28 23:21:42 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/transforms/tf_graph_optimization_pass.cc

      options.graph = &graph;
      options.flib_def = &flib_def;
      options.session_options = &sess_options;
    
      for (auto pass : passes_) {
        assert(pass != nullptr);
        Status status = pass->Run(options);
        if (!status.ok()) {
          mlir::emitError(mlir::UnknownLoc::get(&ctx))
              << pass->name() << ": " << status.message();
          return signalPassFailure();
        }
      }
    
      // Convert Graph to MLIR
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 22:19:26 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  5. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/errorsas/errorsas.go

    			pass.ReportRangef(call, "%v", err)
    		}
    	})
    	return nil, nil
    }
    
    var errorType = types.Universe.Lookup("error").Type()
    
    // checkAsTarget reports an error if the second argument to errors.As is invalid.
    func checkAsTarget(pass *analysis.Pass, e ast.Expr) error {
    	t := pass.TypesInfo.Types[e].Type
    	if it, ok := t.Underlying().(*types.Interface); ok && it.NumMethods() == 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 20 21:52:54 UTC 2023
    - 2.9K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/lite/experimental/tac/transforms/tac_pass.h

    #include "mlir/Pass/Pass.h"  // from @llvm-project
    #include "tensorflow/compiler/mlir/lite/experimental/tac/hardwares/target_hardware.h"
    #include "tensorflow/compiler/mlir/lite/experimental/tac/tac_module.h"
    
    namespace mlir {
    namespace TFL {
    namespace tac {
    // An OperationPass<> with access to the TAC module instance that the
    // pass is running part of.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 06 03:08:33 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  7. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/defers/defers.go

    	Run:      run,
    }
    
    func run(pass *analysis.Pass) (interface{}, error) {
    	if !analysisutil.Imports(pass.Pkg, "time") {
    		return nil, nil
    	}
    
    	checkDeferCall := func(node ast.Node) bool {
    		switch v := node.(type) {
    		case *ast.CallExpr:
    			if analysisutil.IsFunctionNamed(typeutil.StaticCallee(pass.TypesInfo, v), "time", "Since") {
    				pass.Reportf(v.Pos(), "call to time.Since is not deferred")
    			}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/lite/metrics/error_collector_inst.cc

        }
      };
    
      for (auto &region : module->getRegions()) {
        region.walk(collectOps);
      }
    
      pass_name_ = extract_pass_name(pass->getName().str());
      error_collector_->Clear();
    }
    
    void ErrorCollectorInstrumentation::runAfterPass(Pass *pass,
                                                     Operation *module) {
      loc_to_name_.clear();
      pass_name_.clear();
      common_error_message_.clear();
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Mar 25 01:48:36 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  9. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/testng/AbstractTestNGFilteringIntegrationTest.groovy

                ${testFrameworkImports}
                public class FooTest {
                    @Test public void pass() {}
                }
            """
            file("src/test/java/BarTest.java") << """
                ${testFrameworkImports}
                public class BarTest {
                    @Test public void pass() {}
                }
            """
            file("src/test/java/BazTest.java") << """
                ${testFrameworkImports}
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 3.5K bytes
    - Viewed (0)
  10. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/ctrlflow/ctrlflow.go

    			if fn, ok := pass.TypesInfo.Defs[n.Name].(*types.Func); ok {
    				funcDecls[fn] = &declInfo{decl: n}
    				decls = append(decls, fn)
    			}
    		case *ast.FuncLit:
    			funcLits[n] = new(litInfo)
    			lits = append(lits, n)
    		}
    	})
    
    	c := &CFGs{
    		defs:      pass.TypesInfo.Defs,
    		funcDecls: funcDecls,
    		funcLits:  funcLits,
    		pass:      pass,
    	}
    
    	// Pass 2. Build CFGs.
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 09 01:28:01 UTC 2023
    - 6.6K bytes
    - Viewed (0)
Back to top