Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 16 for REWRITES (0.29 sec)

  1. tensorflow/compiler/mlir/lite/transforms/lower_static_tensor_list.cc

          return matchAndRewriteImplWithDynamicUpdateSlice(op, adaptor, rewriter);
        } else {
          return matchAndRewriteImplWithSliceAndConcat(op, adaptor, rewriter);
        }
      }
    
      // This function rewrites the original op into a series of slice and concat op
      // to produce the same result. It first slices the first `$index` rows. Then
      // expands the dimension of the `$item`, followed by another slice of the
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 11 20:00:43 UTC 2024
    - 70.7K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. src/cmd/cgo/gcc.go

    	if r == '_' {
    		return "X" + s
    	}
    	return string(unicode.ToUpper(r)) + s[size:]
    }
    
    // godefsFields rewrites field names for use in Go or C definitions.
    // It strips leading common prefixes (like tv_ in tv_sec, tv_usec)
    // converts names to upper case, and rewrites _ into Pad_godefs_n,
    // so that all fields are exported.
    func godefsFields(fld []*ast.Field) {
    	prefix := fieldPrefix(fld)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 15:50:06 UTC 2024
    - 97K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/g3doc/_includes/tf_passes.md

    (like e.g. %arg0 in the example above), which can later be
    pruned using DCE.
    ### `-tf-lower-quantized`
    
    _Lowers ops that require quantized input or output._
    
    This pass rewrites all ops that have at least one input or output that must
    be a quantized type to ops whose inputs and outputs allow non-quantized
    types. Examples of quantized types are TF_Qint8 or TF_Quint8.
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Aug 02 02:26:39 UTC 2023
    - 96.4K bytes
    - Viewed (0)
  6. src/cmd/asm/internal/asm/testdata/ppc64.s

    	//TODO: this compiles to add r5,r6,r0. It should be addi r5,r6,0.
    	//      this is OK since r0 == $0, but the latter is preferred.
    	ADD $0, R6, R5             	// 7ca60214
    
            //TODO: the assembler rewrites these into ADDIS $19, R5, Rx and ADD $-10617, Rx, Rx, but the test only sees the first ADDIS
    	ADD $1234567, R5                // 3ca50013 or 0600001238a5d687
    	ADD $1234567, R5, R6            // 3cc50013 or 0600001238c5d687
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 21:53:50 UTC 2024
    - 50.2K bytes
    - Viewed (0)
  7. src/go/printer/nodes.go

    			p.print(token.CHAN)
    			p.setPos(x.Arrow)
    			p.print(token.ARROW)
    		}
    		p.print(blank)
    		p.expr(x.Value)
    
    	default:
    		panic("unreachable")
    	}
    }
    
    // normalizedNumber rewrites base prefixes and exponents
    // of numbers to use lower-case letters (0X123 to 0x123 and 1.2E3 to 1.2e3),
    // and removes leading 0's from integer imaginary literals (0765i to 765i).
    // It leaves hexadecimal digits alone.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 17 18:53:17 UTC 2023
    - 52.6K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/ssa/_gen/AMD64.rules

    (MOVBstore [off] {sym} ptr y:(SETA x) mem) && y.Uses == 1 => (SETAstore [off] {sym} ptr x mem)
    (MOVBstore [off] {sym} ptr y:(SETAE x) mem) && y.Uses == 1 => (SETAEstore [off] {sym} ptr x mem)
    
    // block rewrites
    (If (SETL  cmp) yes no) => (LT  cmp yes no)
    (If (SETLE cmp) yes no) => (LE  cmp yes no)
    (If (SETG  cmp) yes no) => (GT  cmp yes no)
    (If (SETGE cmp) yes no) => (GE  cmp yes no)
    (If (SETEQ cmp) yes no) => (EQ  cmp yes no)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 12 19:38:41 UTC 2024
    - 93.9K bytes
    - Viewed (0)
  9. src/cmd/go/internal/modload/buildlist.go

    		// are present in the module graph reachable from rootPaths, they must not
    		// be at a lower version. That could cause a missing sum error or a new
    		// import ambiguity.
    		//
    		// For example, suppose a developer rewrites imports from example.com/m to
    		// example.com/m/v2, then runs 'go mod tidy'. Tidy may delete the
    		// requirement on example.com/m if there is no other transitive requirement
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 16:04:44 UTC 2024
    - 53.8K bytes
    - Viewed (0)
  10. src/cmd/cgo/out.go

    	fgcc := creat(*objDir + base + ".cgo2.c")
    
    	p.GoFiles = append(p.GoFiles, base+".cgo1.go")
    	p.GccFiles = append(p.GccFiles, base+".cgo2.c")
    
    	// Write Go output: Go input with rewrites of C.xxx to _C_xxx.
    	fmt.Fprintf(fgo1, "// Code generated by cmd/cgo; DO NOT EDIT.\n\n")
    	if strings.ContainsAny(srcfile, "\r\n") {
    		// This should have been checked when the file path was first resolved,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 29 16:41:10 UTC 2024
    - 59.6K bytes
    - Viewed (0)
Back to top