Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 336 for rewrite (0.35 sec)

  1. tensorflow/compiler/mlir/lite/transforms/dilated_conv.h

          PatternRewriter& rewriter) const;
    
     public:
      LogicalResult matchAndRewrite(Conv2dOpTy op,
                                    PatternRewriter& rewriter) const override;
    };
    
    template <typename Conv2dOpTy>
    LogicalResult ConvertTFDilatedConvOp<Conv2dOpTy>::matchAndRewrite(
        Conv2dOpTy op, PatternRewriter& rewriter) const {
      if (!op.getResult().hasOneUse()) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 20K bytes
    - Viewed (0)
  2. subprojects/core/src/main/java/org/gradle/internal/classpath/CallInterceptionClosureInstrumentingClassVisitor.java

             */
            RENAME_ORIGINAL_DO_CALL("doCall", null, false, (clazz, methodData) -> {
                // A Closure implementation may have an abstract doCall method. It makes no sense to rewrite that.
                boolean isValidDoCallMethod = !methodData.isAbstract() && methodData.name.equals("doCall");
                String methodNameToVisit = isValidDoCallMethod ? "doCall$original" : methodData.name;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Mar 20 01:16:36 UTC 2024
    - 16.9K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/ir/tf_device.cc

      // canonical.
      if (cluster_vals.size() == num_results) return failure();
    
      // Rewrite return op in the cluster.
      rewriter.setInsertionPoint(return_op);
      auto new_return =
          rewriter.replaceOpWithNewOp<tf_device::ReturnOp>(return_op, cluster_vals);
    
      // Rewrite the cluster op.
      rewriter.setInsertionPoint(op);
      auto new_op = rewriter.create<tf_device::ClusterOp>(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 33.4K bytes
    - Viewed (0)
  4. testing/performance/src/templates/native-dependents-resources/googleTest/libs/googleTest/1.7.0/include/gtest/gtest-death-test.h

    //     xy    matches x followed by y
    //
    //   If you accidentally use PCRE or POSIX extended regex features
    //   not implemented by us, you will get a run-time failure.  In that
    //   case, please try to rewrite your regular expression within the
    //   above syntax.
    //
    //   This implementation is *not* meant to be as highly tuned or robust
    //   as a compiled regex library, but should perform well enough for a
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 11.3K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tf2xla/transforms/legalize_tf_collective.cc

            assign_group->getLoc(), assign_group.getResult(0).getType(),
            group_size);
        auto const_group_key = rewriter.create<TF::ConstOp>(
            assign_group->getLoc(), assign_group.getResult(1).getType(), group_key);
        rewriter.replaceAllUsesWith(assign_group.getResult(0), const_group_size);
        rewriter.replaceAllUsesWith(assign_group.getResult(1), const_group_key);
        rewriter.eraseOp(assign_group);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 16K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/lite/transforms/optimize.cc

            loc, GetI64ElementsAttr(new_broadcast_shape, &rewriter));
    
        auto new_broadcast_to_op = rewriter.create<TFL::BroadcastToOp>(
            loc, RankedTensorType::get(new_broadcast_shape, rewriter.getF32Type()),
            new_inner_reshape_op.getOutput(), new_broadcast_shape_value);
    
        // Create a new broadcast_op to replace the old broadcast_op.
        rewriter.replaceOp(tfl_broadcast_to_op, new_broadcast_to_op.getResult());
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 30 00:40:15 UTC 2024
    - 102.3K bytes
    - Viewed (0)
  7. src/cmd/go/internal/workcmd/edit.go

    The editing flags specify a sequence of editing operations.
    
    The -fmt flag reformats the go.work file without making other changes.
    This reformatting is also implied by any other modifications that use or
    rewrite the go.mod file. The only time this flag is needed is if no other
    flags are specified, as in 'go work edit -fmt'.
    
    The -godebug=key=value flag adds a godebug key=value line,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 13:52:10 UTC 2024
    - 11K bytes
    - Viewed (0)
  8. pkg/kubelet/util/manager/watch_based_manager.go

    	go i.startReflector()
    }
    
    func (i *objectCacheItem) startReflector() {
    	i.waitGroup.Wait()
    	i.waitGroup.Add(1)
    	defer i.waitGroup.Done()
    	i.reflector.Run(i.stopCh)
    }
    
    // cacheStore is in order to rewrite Replace function to mark initialized flag
    type cacheStore struct {
    	cache.Store
    	lock        sync.Mutex
    	initialized bool
    }
    
    func (c *cacheStore) Replace(list []interface{}, resourceVersion string) error {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 11.6K bytes
    - Viewed (0)
  9. tensorflow/compiler/jit/increase_dynamism_for_auto_jit_pass.cc

          g, slice, slice_inputs, cluster_name, &static_shaped_slice));
      ReplaceTensorFlowSliceWithStaticShapedSlice(g, slice, static_shaped_slice);
      return absl::OkStatus();
    }
    
    // Return true if `n` is a slice we should rewrite to have a static shape
    // (i.e. have the output shape only depend on the "size" input).
    absl::StatusOr<bool> ShouldRewriteSlice(Node* n) {
      if (n->type_string() != "Slice") {
        return false;
      }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 12 06:33:33 UTC 2024
    - 13.8K bytes
    - Viewed (0)
  10. pkg/config/validation/validation_test.go

    			in: &networking.RegexRewrite{
    				Match:   "^/service/([^/]+)(/.*)$",
    				Rewrite: `\2/instance/\1`,
    			},
    			valid: true,
    		},
    		{
    			name: "uriRegexRewrite missing match",
    			in: &networking.RegexRewrite{
    				Rewrite: `\2/instance/\1`,
    			},
    			valid: false,
    		},
    		{
    			name: "uriRegexRewrite missing rewrite",
    			in: &networking.RegexRewrite{
    				Match: "^/service/([^/]+)(/.*)$",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 30 03:11:45 UTC 2024
    - 196K bytes
    - Viewed (0)
Back to top