Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 48 for rewrites (2.72 sec)

  1. tensorflow/compiler/mlir/tensorflow/transforms/rewrite_tpu_embedding_ops.cc

    #include "tensorflow/compiler/mlir/tensorflow/transforms/tf_passes.h.inc"
    
    // Rewrites RecvTPUEmbeddingActivationsOp and SendTPUEmbeddingGradients ops to
    // internal variants by introducing XlaRecvTPUEmbeddingDeduplicationData op.
    struct RewriteTPUEmbeddingOps
        : public impl::RewriteTPUEmbeddingOpsPassBase<RewriteTPUEmbeddingOps> {
      void runOnOperation() override;
    };
    
    // Rewrites the given op to `OpT` op after adding the given operand at the end.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 15 22:55:42 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  2. src/cmd/fix/main.go

    	"os"
    	"path/filepath"
    	"sort"
    	"strings"
    
    	"cmd/internal/telemetry"
    )
    
    var (
    	fset     = token.NewFileSet()
    	exitCode = 0
    )
    
    var allowedRewrites = flag.String("r", "",
    	"restrict the rewrites to this comma-separated list")
    
    var forceRewrites = flag.String("force", "",
    	"force these fixes to run even if the code looks updated")
    
    var allowed, force map[string]bool
    
    var (
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 14 19:41:17 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  3. src/cmd/vendor/golang.org/x/build/relnote/links.go

    		// Don't look for links in anything else.
    		default:
    			res = append(res, in)
    		}
    	}
    	return res
    }
    
    // splitAtBrackets rewrites ins so that every '[' and ']' is the only character
    // of its Plain.
    // For example, the element
    //
    //	[Plain("the [Buffer] is")]
    //
    // is rewritten to
    //
    //	[Plain("the "), Plain("["), Plain("Buffer"), Plain("]"), Plain(" is")]
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  4. buildscripts/rewrite-old-new.sh

    		echo "FAILED"
    		purge "$WORK_DIR"
    		exit 1
    	fi
    
    	"${WORK_DIR}/mc" mb minio/healing-rewrite-bucket --quiet --with-lock
    	"${WORK_DIR}/mc" cp \
    		buildscripts/verify-build.sh \
    		minio/healing-rewrite-bucket/ \
    		--disable-multipart --quiet
    
    	"${WORK_DIR}/mc" cp \
    		buildscripts/verify-build.sh \
    		minio/healing-rewrite-bucket/ \
    		--disable-multipart --quiet
    
    	"${WORK_DIR}/mc" cp \
    		buildscripts/verify-build.sh \
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon May 27 19:17:46 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/ssa/_gen/PPC64latelower.rules

    // a Value can be rewritten which make it impossible to correctly rewrite sibling Value users. To workaround this
    // case, candidates for CC opcodes are converted in two steps:
    //   1. Convert all (x (Op ...) ...) into (x (Select0 (OpCC ...) ...). See convertPPC64OpToOpCC for more
    //      detail on how and why this is done there.
    //   2. Rewrite (CMPconst [0] (Select0 (OpCC ...))) into (Select1 (OpCC...))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 19:59:38 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  6. pkg/config/validation/virtualservice.go

    	}
    
    	return
    }
    
    // validateAuthorityRewrite ensures we only attempt rewrite authority in a single place.
    func validateAuthorityRewrite(rewrite *networking.HTTPRewrite, headers *networking.Headers) error {
    	current := rewrite.GetAuthority()
    	for k, v := range headers.GetRequest().GetSet() {
    		if !isAuthorityHeader(k) {
    			continue
    		}
    		if current != "" {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 04:03:27 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  7. pilot/pkg/networking/core/route/retry/retry_test.go

    			},
    		},
    		{
    			name: "TestZeroAttemptsShouldReturnNilPolicy",
    			// Create a route with a retry policy with zero attempts configured.
    			route: &networking.HTTPRoute{
    				Retries: &networking.HTTPRetry{
    					// Explicitly not retrying.
    					Attempts: 0,
    				},
    			},
    			assertFunc: func(g *WithT, policy *envoyroute.RetryPolicy) {
    				g.Expect(policy).To(BeNil())
    			},
    		},
    		{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 14 14:12:39 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/lite/stablehlo/transforms/composite_lowering_patterns.td

    def IsNhwcLayoutOp: Constraint<Neg<IsNchwLayoutOp.predicate>>;
    
    // TODO(b/343278954): Move the creation of transposes to a separate prepare pass
    // to avoid creating multiple pattern-rewrite rules for the same composite op.
    def LegalizeTorchUpsampleBlinear2dComposite: Pat<
        (MHLO_CompositeOp:$old_val
        (variadic $input),
        ConstantStrAttr<StrAttr, "odml.upsample_bilinear2d">, $attrs, $_, $_),
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 06 18:45:51 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  9. platforms/core-configuration/core-serialization-codecs/src/main/kotlin/org/gradle/internal/serialize/codecs/core/DefaultContextAwareTaskLoggerCodec.kt

            decodePreservingIdentity { id ->
                DefaultContextAwareTaskLogger(Logging.getLogger(Task::class.java)).also { logger ->
                    read()?.let { rewriter ->
                        logger.messageRewriter = rewriter as MessageRewriter
                    }
                    isolate.identities.putInstance(id, logger)
                }
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 23:09:56 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  10. .github/workflows/tests.yml

              - 9910:3306
            options: >-
              --health-cmd "mysqladmin ping -ugorm -pgorm"
              --health-interval 10s
              --health-start-period 10s
              --health-timeout 5s
              --health-retries 10
    
        steps:
        - name: Set up Go 1.x
          uses: actions/setup-go@v4
          with:
            go-version: ${{ matrix.go }}
    
        - name: Check out code into the Go module directory
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Wed Jun 12 09:24:34 UTC 2024
    - 6.6K bytes
    - Viewed (0)
Back to top