Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 344 for rewrite (0.18 sec)

  1. tensorflow/compiler/aot/codegen.cc

          count *= shape.dimensions(dim);
        }
      }
      rewrites->push_back({"{{I}}", absl::StrCat(i)});
      rewrites->push_back({"{{TYPE}}", type});
      rewrites->push_back({"{{DIM_VARS}}", absl::StrJoin(dim_vars, ", ")});
      rewrites->push_back({"{{DIM_SIZES}}", dim_sizes});
      rewrites->push_back({"{{INDICES}}", indices});
      rewrites->push_back({"{{COUNT}}", absl::StrCat(count)});
      return absl::OkStatus();
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 01:20:01 UTC 2024
    - 36.8K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/transforms/sparsecore/sparsecore_passes.h

    #include "mlir/Pass/Pass.h"  // from @llvm-project
    
    namespace mlir {
    namespace TFDevice {
    
    // For architectures that support accelerated embedding lookups, this pass will
    // rewrite the graph to use pipelining for better device utilization.
    std::unique_ptr<OperationPass<ModuleOp>> CreateEmbeddingSequencingPass();
    
    // This is a strictly sequential and formally correct fallback option for the
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Mar 28 23:42:09 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  3. pilot/pkg/networking/core/listener_waypoint.go

    	// nolint: staticcheck
    	action.MaxGrpcTimeout = action.Timeout
    
    	out.Action = &route.Route_Route{Route: action}
    
    	if in.Rewrite != nil {
    		action.PrefixRewrite = in.Rewrite.GetUri()
    		if in.Rewrite.GetAuthority() != "" {
    			authority = in.Rewrite.GetAuthority()
    		}
    	}
    	if authority != "" {
    		action.HostRewriteSpecifier = &route.RouteAction_HostRewriteLiteral{
    			HostRewriteLiteral: authority,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 14 04:34:37 UTC 2024
    - 27.6K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/quantization/stablehlo/passes/remove_sharding_custom_call.cc

    #include "mlir/IR/MLIRContext.h"  // from @llvm-project
    #include "mlir/IR/PatternMatch.h"  // from @llvm-project
    #include "mlir/Pass/Pass.h"  // from @llvm-project  // IWYU pragma: keep
    #include "mlir/Rewrite/FrozenRewritePatternSet.h"  // from @llvm-project
    #include "mlir/Support/LogicalResult.h"  // from @llvm-project
    #include "mlir/Transforms/GreedyPatternRewriteDriver.h"  // from @llvm-project
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Mar 13 07:04:47 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  5. src/cmd/buildid/buildid.go

    	}
    
    	if len(matches) == 0 {
    		return
    	}
    
    	f, err = os.OpenFile(file, os.O_RDWR, 0)
    	if err != nil {
    		log.Fatal(err)
    	}
    	if err := buildid.Rewrite(f, matches, newID); err != nil {
    		log.Fatal(err)
    	}
    	if err := f.Close(); err != nil {
    		log.Fatal(err)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 14 19:41:17 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tf2xla/transforms/legalize_tf_with_tf2xla_passes.h

    namespace mhlo {
    
    /// Converter to be used along with the fallback Tf2Xla patterns below.
    class Tf2XlaTypeConverter : public TypeConverter {
     public:
      Tf2XlaTypeConverter();
    };
    
    /// Adds the TF to XLA via TF2XLA rewrite patterns to the pattern list.
    /// `prefer_tf2xla` means an op will be included iff it is not in
    /// `MlirLegalizedUnderPreferTf2XlaSet`. `!prefer_tf2xla` mean an op will be
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 28 21:49:50 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/transforms/host_runtime/runtime_passes.td

    ==============================================================================*/
    
    include "mlir/Pass/PassBase.td"
    
    def TPURewritePass : Pass<"tf-tpu-rewrite", "mlir::ModuleOp"> {
      let summary = "Rewrites a `tf_device.cluster_func` on TPUs into TPU runtime operations.";
    
      let description = [{
        This pass rewrites a `tf_device.cluster_func` operation into a sequence of `tf._TPUCompileMlir`
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jan 10 18:58:57 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  8. operator/pkg/util/progress/progress_test.go

    	foo := p.NewComponent(string(cnp))
    	foo.ReportProgress()
    	expect(`- Processing resources for ` + cnpo + `.`)
    
    	bar := p.NewComponent(string(cnb))
    	bar.ReportProgress()
    	// string buffer won't rewrite, so we append
    	expect(`- Processing resources for ` + cnbo + `, ` + cnpo + `.`)
    	bar.ReportProgress()
    	bar.ReportProgress()
    
    	bar.ReportWaiting([]string{"deployment"})
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 14 19:23:44 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  9. tensorflow/compiler/jit/encapsulate_xla_computations_pass.h

      //    XlaLaunch.
      static Status Encapsulate(std::unique_ptr<Graph>* graph,
                                FunctionLibraryDefinition* flib_def);
    
      // b) we rewrite the function calls generated in phase (a) into XlaLaunch
      //    operators. We also convert the XlaClusterOutput output nodes of the
      //    function call into the outputs of the XlaLaunch operator.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 22 06:59:07 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tensorflow/transforms/host_runtime/tpu_rewrite_pass.cc

        return signalPassFailure();
    
      // Eliminate TPUCompilationResultOp now that the rewrite is complete.
      for (auto& it : compilation_results) {
        for (auto op : it.second) {
          if (!op.use_empty()) {
            mlir::InFlightDiagnostic err = op.emitError("uses remain post rewrite");
            for (auto user : op->getUsers())
              err.attachNote(user->getLoc()) << "remaining user";
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 30 21:25:12 UTC 2024
    - 29.7K bytes
    - Viewed (0)
Back to top