Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 146 for REWRITES (0.4 sec)

  1. src/cmd/compile/internal/walk/complit.go

    		rhs := ir.NewIndexExpr(base.Pos, vstate, i)
    		rhs.SetBounded(true)
    
    		kidx := ir.NewIndexExpr(base.Pos, vstatk, i)
    		kidx.SetBounded(true)
    
    		// typechecker rewrites OINDEX to OINDEXMAP
    		lhs := typecheck.AssignExpr(ir.NewIndexExpr(base.Pos, m, kidx)).(*ir.IndexExpr)
    		base.AssertfAt(lhs.Op() == ir.OINDEXMAP, lhs.Pos(), "want OINDEXMAP, have %+v", lhs)
    		lhs.RType = n.RType
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 08 19:03:54 UTC 2023
    - 19.5K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/quantization/stablehlo/passes/bridge/convert_tf_quant_types.cc

    // some generic types that are legal in MHLO. This pass legalizes TF types into
    // types that are legal in MHLO. For example, TF::Qint8Type is converted to i8.
    // Rewrites here should run before TF to MHLO op legalizations are run.
    
    #include <memory>
    #include <string>
    #include <utility>
    
    #include "llvm/ADT/STLExtras.h"
    #include "llvm/ADT/SmallVector.h"
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 12.6K bytes
    - Viewed (0)
  3. src/cmd/go/internal/modfetch/sumdb.go

    		// Treat non-existent as empty, to bootstrap the "latest" file
    		// the first time we connect to a given database.
    		return []byte{}, nil
    	}
    	return data, err
    }
    
    // WriteConfig rewrites the latest tree head.
    func (*dbClient) WriteConfig(file string, old, new []byte) error {
    	if file == "key" {
    		// Should not happen.
    		return fmt.Errorf("cannot write key")
    	}
    	if cfg.SumdbDir == "" {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 20 15:02:47 UTC 2023
    - 9.1K bytes
    - Viewed (0)
  4. src/syscall/exec_windows.go

    package syscall
    
    import (
    	"internal/bytealg"
    	"runtime"
    	"sync"
    	"unicode/utf16"
    	"unsafe"
    )
    
    // ForkLock is not used on Windows.
    var ForkLock sync.RWMutex
    
    // EscapeArg rewrites command line argument s as prescribed
    // in https://msdn.microsoft.com/en-us/library/ms880421.
    // This function returns "" (2 double quotes) if s is empty.
    // Alternatively, these transformations are done:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 28 18:29:48 UTC 2023
    - 10.3K bytes
    - Viewed (0)
  5. src/runtime/stubs.go

    //
    //go:linkname add
    //go:nosplit
    func add(p unsafe.Pointer, x uintptr) unsafe.Pointer {
    	return unsafe.Pointer(uintptr(p) + x)
    }
    
    // getg returns the pointer to the current g.
    // The compiler rewrites calls to this function into instructions
    // that fetch the g directly (from TLS or from the dedicated register).
    func getg() *g
    
    // mcall switches from the g to the g0 stack and invokes fn(g),
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 20.2K bytes
    - Viewed (0)
  6. cluster/images/etcd-version-monitor/etcd-version-monitor.go

    }
    
    // exportedMetric identifies a metric that is exported and defines how it is rewritten before
    // it is exported.
    type exportedMetric struct {
    	rewriters []rewriteFunc
    }
    
    // rewriteFunc rewrites metrics before they are exported.
    type rewriteFunc func(mf *dto.MetricFamily) (*dto.MetricFamily, error)
    
    func (m *monitorGatherer) Gather() ([]*dto.MetricFamily, error) {
    	etcdMetrics, err := scrapeMetrics()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Dec 16 06:50:02 UTC 2023
    - 11.5K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/transforms/passes.h

    // Returns pass that prepares TPU computation to be legal for export to
    // TensorFlow.
    std::unique_ptr<OperationPass<ModuleOp>>
    CreatePrepareTpuComputationForTfExportPass();
    
    // Rewrites ops that require quantized inputs or outputs to ops that allow
    // non-quantized inputs and outputs.
    std::unique_ptr<OperationPass<func::FuncOp>> CreateLowerQuantizedPass();
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 21:18:05 UTC 2024
    - 31.8K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/ssa/rewrite.go

    )
    
    // deadcode indicates whether rewrite should try to remove any values that become dead.
    func applyRewrite(f *Func, rb blockRewriter, rv valueRewriter, deadcode deadValueChoice) {
    	// repeat rewrites until we find no more rewrites
    	pendingLines := f.cachedLineStarts // Holds statement boundaries that need to be moved to a new value/block
    	pendingLines.clear()
    	debug := f.pass.debug
    	if debug > 1 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 19:02:52 UTC 2024
    - 64.2K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/lite/stablehlo/transforms/compose_uniform_quantized_type_pass.cc

     private:
      explicit UniformDequantizeFunctionCallPattern(func::CallOp call_op)
          : call_op_(call_op) {}
    
      func::CallOp call_op_;
    };
    
    // Matches the pattern for quantized convolution op and rewrites it to use
    // uniform quantized types.
    //
    // Currently assumes asymmetric per-tensor quantization for activations and
    // symmetric per-channel quantization for filters.
    //
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 64.6K bytes
    - Viewed (0)
  10. src/net/http/httputil/reverseproxy.go

    // SetURL routes the outbound request to the scheme, host, and base path
    // provided in target. If the target's path is "/base" and the incoming
    // request was for "/dir", the target request will be for "/base/dir".
    //
    // SetURL rewrites the outbound Host header to match the target's host.
    // To preserve the inbound request's Host header (the default behavior
    // of [NewSingleHostReverseProxy]):
    //
    //	rewriteFunc := func(r *httputil.ProxyRequest) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Feb 27 23:37:42 UTC 2024
    - 24.9K bytes
    - Viewed (0)
Back to top