Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 336 for rewrite (0.13 sec)

  1. tensorflow/compiler/mlir/tf2xla/api/v1/compile_mlir_util.h

    // Compiles a TensorFlow Graph (already converted to MLIR, imported with
    // tf_executor dialect still present) into XLA HLO, generates all accompanying
    // metadata and stores them in CompilationResult. This will rewrite arguments
    // and run the TensorFlow standard pipeline prior to invoking
    // `CompileMlirToXlaHlo`.
    ABSL_DEPRECATED("Use v2/legalize_tf.h::LegalizeMlirToHlo instead.")
    Status CompileGraphToXlaHlo(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 21 17:24:39 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/ssa/value.go

    func (v *Value) resetArgs() {
    	for _, a := range v.Args {
    		a.Uses--
    	}
    	v.argstorage[0] = nil
    	v.argstorage[1] = nil
    	v.argstorage[2] = nil
    	v.Args = v.argstorage[:0]
    }
    
    // reset is called from most rewrite rules.
    // Allowing it to be inlined increases the size
    // of cmd/compile by almost 10%, and slows it down.
    //
    //go:noinline
    func (v *Value) reset(op Op) {
    	if v.InCache {
    		v.Block.Func.unCache(v)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 16:40:22 UTC 2024
    - 16.7K bytes
    - Viewed (0)
  3. hack/golangci.yaml

          text: use a function call in (Eventually|Consistently)
    
        # https://github.com/kubernetes/kubernetes/issues/117288#issuecomment-1507012435
        - linters:
            - gocritic
          text: "ifElseChain: rewrite if-else to switch statement"
    
        # Only packages listed here opt into the strict "exported symbols must be documented".
        #
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 15 12:10:09 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/transforms/convert_control_to_data_outputs.cc

    // Using the resource to operations map, it adds (1) a control dependency
    // from chain_src to all the operations that read/write to a resource of the
    // equivalence class, and (2) a control dependency from all the operations that
    // read/write to a resource of the class to the chain_sink operation.
    void ChainResourceOps(
        func::FuncOp func, ResourceToOpsMapTy& chain_resource_to_ops_map,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 28.7K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/ssa/prove.go

    			// TODO: if both start and end are constants we should rewrite such that the comparison
    			// is against zero and nxt is ++ or -- operation
    			// That means:
    			//	for i := 2; i < 11; i += 2 {
    			// should be rewritten to:
    			//	for i := 5; 0 < i; i-- {
    			continue
    		}
    
    		if end.Block == ind.Block {
    			// we can't rewrite loops where the condition depends on the loop body
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:30:21 UTC 2024
    - 48.9K bytes
    - Viewed (0)
  6. src/net/http/httputil/reverseproxy_test.go

    		return &ReverseProxy{
    			Rewrite: func(r *ProxyRequest) {
    				r.SetURL(u)
    			},
    		}
    	})
    }
    
    func TestReverseProxyQueryParameterSmugglingRewritePreservesRawQuery(t *testing.T) {
    	testReverseProxyQueryParameterSmuggling(t, testWantsRawQuery, func(u *url.URL) *ReverseProxy {
    		return &ReverseProxy{
    			Rewrite: func(r *ProxyRequest) {
    				r.SetURL(u)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 54.6K bytes
    - Viewed (0)
  7. pilot/pkg/model/extensions.go

    	sr, err := credentials.ParseResourceName(rn, pluginNamespace, "", "")
    	if err != nil {
    		log.Debugf("Failed to parse wasm secret resource name %v", err)
    		return ""
    	}
    	// Forcely rewrite secret namespace to plugin namespace, since we require secret resource
    	// referenced by WasmPlugin co-located with WasmPlugin in the same namespace.
    	sr.Namespace = pluginNamespace
    	return sr.KubernetesResourceName()
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 17 22:20:44 UTC 2024
    - 11K bytes
    - Viewed (0)
  8. pkg/istio-agent/xds_proxy_delta.go

    				})
    				continue
    			}
    			switch resp.TypeUrl {
    			case model.ExtensionConfigurationType:
    				if features.WasmRemoteLoadConversion {
    					// If Wasm remote load conversion feature is enabled, rewrite and send.
    					go p.deltaRewriteAndForward(con, resp, func(resp *discovery.DeltaDiscoveryResponse) {
    						// Forward the response using the thread of `handleUpstreamResponse`
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Apr 04 20:29:08 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiserver/pkg/storage/etcd3/watcher_test.go

    	}
    
    	if actualErr.Details.RetryAfterSeconds <= 0 {
    		t.Fatalf("RetryAfterSeconds must be > 0, actual value: %v", actualErr.Details.RetryAfterSeconds)
    	}
    	// rewrite the Details as it contains retry seconds
    	// and validate the whole struct
    	expectedErr.ErrStatus.Details = actualErr.Details
    	if diff := cmp.Diff(*actualErr, expectedErr.ErrStatus); diff != "" {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  10. tensorflow/compiler/jit/encapsulate_xla_computations_pass.cc

    void AddControlOutputs(const Node& node, absl::flat_hash_set<Node*>* deps) {
      for (const Edge* edge : node.out_edges()) {
        if (edge->IsControlEdge()) {
          deps->insert(edge->dst());
        }
      }
    }
    
    // Rewrite function to be passed to EncapsulateSubgraphsInFunctions that sorts
    // the arguments into the order expected by XlaLaunch computations:
    // 1) arguments
    // 2) resource variable arguments
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 12 06:33:33 UTC 2024
    - 15.1K bytes
    - Viewed (0)
Back to top