Search Options

Results per page
Sort
Preferred Languages
Advance

Results 161 - 170 of 326 for rewrite (0.63 sec)

  1. tensorflow/compiler/mlir/tensorflow/transforms/passes.h

    // Optimizes Tensorflow graph.
    std::unique_ptr<OperationPass<func::FuncOp>> CreateTFOptimizePass();
    void RegisterTFOptimizePassPipeline();
    
    // Creates pass to rewrite RecvTPUEmbeddingActivationsOp and
    // SendTPUEmbeddingGradients ops to internal variants.
    std::unique_ptr<OperationPass<func::FuncOp>> CreateRewriteTPUEmbeddingOpsPass();
    
    // Performs specific fusion for GPU targets.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 21:18:05 UTC 2024
    - 31.8K bytes
    - Viewed (0)
  2. src/net/textproto/reader.go

    	state int
    }
    
    // Read satisfies reads by decoding dot-encoded data read from d.r.
    func (d *dotReader) Read(b []byte) (n int, err error) {
    	// Run data through a simple state machine to
    	// elide leading dots, rewrite trailing \r\n into \n,
    	// and detect ending .\r\n line.
    	const (
    		stateBeginLine = iota // beginning of line; initial state; must be zero
    		stateDot              // read . at beginning of line
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 19:57:43 UTC 2024
    - 22.1K bytes
    - Viewed (0)
  3. subprojects/core/src/test/groovy/org/gradle/api/internal/project/taskfactory/AnnotationProcessingTaskFactoryTest.groovy

                        // This allows us to pass null to the constructor scenarios where the production code would not allow it.
                        // To switch to objectFactory, we would need to rewrite the tests to no longer pass null as a parameter.
                        // return TestUtil.newInstance(type, params)
                        assert type.constructors.size() == 1
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 11 20:42:35 UTC 2024
    - 38.8K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/typecheck/func.go

    				// In this case, we know getg() always returns the same result within a given function
    				// and we want to avoid the temporaries, so we do the rewrite earlier than is typical.
    				n.SetOp(ir.OGETG)
    			}
    		}
    		return n
    	}
    
    	// multiple return
    	if top&(ctxMultiOK|ctxStmt) == 0 {
    		base.Errorf("multiple-value %v() in single-value context", l)
    		return n
    	}
    
    	n.SetType(l.Type().ResultsTuple())
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 06 15:23:18 UTC 2024
    - 21.1K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/ir/tf_ops_n_z.cc

              output_ty.getRank(), rewriter.getIntegerType(32));
          shape_attr = DenseIntElementsAttr::get(output_int_type, output_shape);
        }
    
        auto shape = rewriter.create<ConstOp>(pack_op.getLoc(), shape_attr);
    
        // TODO(b/173622615): Remove after fixed.
        ReplaceTfOpWithNewOp<ReshapeOp>(rewriter, pack_op, output_ty,
                                        pack_op.getOperand(0), shape);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 09 22:07:10 UTC 2024
    - 170.8K bytes
    - Viewed (0)
  6. src/cmd/cgo/doc.go

    	-debug-gcc
    		Debugging option. Trace C compiler execution and output.
    	-dynimport file
    		Write list of symbols imported by file. Write to
    		-dynout argument or to standard output. Used by go
    		build when building a cgo package.
    	-dynlinker
    		Write dynamic linker as part of -dynimport output.
    	-dynout file
    		Write -dynimport output to file.
    	-dynpackage package
    		Set Go package for -dynimport output.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 17:12:16 UTC 2024
    - 42.2K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/transforms/lower_tf.cc

        Value result =
            rewriter.create<SelectV2Op>(loc, need_to_reflect, reflection, log_y);
    
        // lgamma(+/-inf) = +inf.
        Value is_inf = rewriter.create<IsInfOp>(loc, tensor_bool_type, input);
        result = rewriter.create<SelectV2Op>(loc, is_inf, infinity, result);
    
        if (needs_cast) {
          result = rewriter.create<CastOp>(loc, original_tensor_type, result);
        }
    
        rewriter.replaceOp(op, result);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 74.9K bytes
    - Viewed (0)
  8. src/cmd/go/internal/cache/cache.go

    		c.trimSubdir(subdir, cutoff)
    	}
    
    	// Ignore errors from here: if we don't write the complete timestamp, the
    	// cache will appear older than it is, and we'll trim it again next time.
    	var b bytes.Buffer
    	fmt.Fprintf(&b, "%d", now.Unix())
    	if err := lockedfile.Write(filepath.Join(c.dir, "trim.txt"), &b, 0666); err != nil {
    		return err
    	}
    
    	return nil
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Mar 09 14:19:39 UTC 2024
    - 20.3K bytes
    - Viewed (0)
  9. pilot/pkg/networking/util/util.go

    	// TODO: Move to well known.
    	StatefulSessionFilter = "envoy.filters.http.stateful_session"
    
    	// AlpnOverrideMetadataKey is the key under which metadata is added
    	// to indicate whether Istio rewrite the ALPN headers
    	AlpnOverrideMetadataKey = "alpn_override"
    )
    
    // ALPNH2Only advertises that Proxy is going to use HTTP/2 when talking to the cluster.
    var ALPNH2Only = pm.ALPNH2Only
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 28.5K bytes
    - Viewed (0)
  10. tests/integration/pilot/common/routing.go

    				},
    			},
    		},
    	})
    	t.RunTraffic(TrafficTestCase{
    		name: "rewrite uri",
    		config: `
    apiVersion: networking.istio.io/v1alpha3
    kind: VirtualService
    metadata:
      name: default
    spec:
      hosts:
        - {{ .dstSvc }}
      http:
      - match:
        - uri:
            exact: /foo
        rewrite:
          uri: /new/path
        route:
        - destination:
            host: {{ .dstSvc }}`,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 08 21:52:51 UTC 2024
    - 135.9K bytes
    - Viewed (0)
Back to top