Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 1,083 for rewrites (0.18 sec)

  1. src/cmd/compile/internal/ssa/cse.go

    					rewrites++
    				}
    			}
    		}
    		for i, v := range b.ControlValues() {
    			if x := rewrite[v.ID]; x != nil {
    				if v.Op == OpNilCheck {
    					// nilcheck pass will remove the nil checks and log
    					// them appropriately, so don't mess with them here.
    					continue
    				}
    				b.ReplaceControl(i, x)
    			}
    		}
    	}
    
    	if f.pass.stats > 0 {
    		f.LogStat("CSE REWRITES", rewrites)
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 31 21:41:20 UTC 2022
    - 9.6K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/stablehlo/transforms/transforms.cc

      // TODO: b/230572023 - Consider improving shape inference for While op instead
      // of dropping the attribute. This need not be correct for models not trained
      // on TPU.
    
      // Optimizes TF graph via cleanups, merges, rewrites, constant folding,
      // and edge case handling where possible.
      pm.addNestedPass<func::FuncOp>(TF::CreateDropWhileShapeInvariantPass());
      pm.addNestedPass<func::FuncOp>(
          tf_executor::CreateTFExecutorGraphPruningPass());
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 04:34:23 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/quantization/stablehlo/passes/defer_activation_transpose.cc

                                  PatternRewriter& rewriter) {
      return rewriter.create<TransposeOp>(
          input.getLoc(), input, rewriter.getDenseI64ArrayAttr(permutation));
    }
    
    // Defers the transpose of the left-hand side (LHS) to the right-hand side and
    // the result of a binary operation. In detail, this rewrites the
    // `op(transpose(%rhs), %lhs)` to `transpose(op(%rhs, transpose(%lhs)))`. The
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  4. test/fixedbugs/bug159.go

    // license that can be found in the LICENSE file.
    
    package main
    
    import "os"
    
    func main() {
    	ok := true;
    	var a, b, c, x, y, z int;
    	f := func() int { b--; return -b };
    
    	// this fails on 6g: apparently it rewrites
    	// the list into
    	//	z = f();
    	//	y = f();
    	//	x = f();
    	// so that the values come out backward.
    	x, y, z = f(), f(), f();
    	if x != 1 || y != 2 || z != 3 {
    		println("xyz: expected 1 2 3 got", x, y, z);
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Feb 18 21:15:42 UTC 2012
    - 795 bytes
    - Viewed (0)
  5. 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)
  6. src/cmd/compile/internal/ssa/_gen/README

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    This command generates Go code (in the parent directory) for all
    the architecture-specific opcodes, blocks, and rewrites. See the
    "Hacking on SSA" section in the parent directory's README.md for
    more information.
    
    To regenerate everything, run "go generate" on the ssa package
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jan 19 22:42:34 UTC 2023
    - 462 bytes
    - Viewed (0)
  7. platforms/documentation/docs/src/snippets/testing/testReport/groovy/build.gradle

    plugins {
        // because this snippet is used in TestReportIntegrationTest which rewrites build files for different JUnit flavors
        id 'java'
    }
    
    // tag::test-report[]
    // A resolvable configuration to collect test reports data
    configurations {
        testReportData {
            canBeConsumed = false
            attributes {
                attribute(Category.CATEGORY_ATTRIBUTE, objects.named(Category, Category.DOCUMENTATION))
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 867 bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/lite/quantization/ir/ConvertSimQuant.cc

      LogicalResult matchAndRewrite(FakeQuantOp op,
                                    PatternRewriter &rewriter) const override {
        // TODO: If this pattern comes up more frequently, consider adding core
        // support for failable rewrites.
        if (failableRewrite(op, rewriter)) {
          *hadFailure = true;
          return failure();
        }
        return success();
      }
    
     private:
      bool *hadFailure;
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 08 02:10:16 UTC 2024
    - 6K bytes
    - Viewed (0)
  9. okhttp-testing-support/src/main/kotlin/okhttp3/UppercaseResponseInterceptor.kt

     */
    package okhttp3
    
    import java.io.IOException
    import okhttp3.Interceptor.Chain
    import okio.Buffer
    import okio.BufferedSource
    import okio.ForwardingSource
    import okio.buffer
    
    /** Rewrites the response body returned from the server to be all uppercase.  */
    class UppercaseResponseInterceptor : Interceptor {
      @Throws(IOException::class)
      override fun intercept(chain: Chain): Response {
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  10. platforms/documentation/docs/src/snippets/testing/testReport/kotlin/build.gradle.kts

    plugins {
        // because this snippet is used in TestReportIntegrationTest which rewrites build files for different JUnit flavors
        java
    }
    
    // tag::test-report[]
    val testReportData by configurations.creating {
        isCanBeConsumed = false
        attributes {
            attribute(Category.CATEGORY_ATTRIBUTE, objects.named(Category.DOCUMENTATION))
            attribute(DocsType.DOCS_TYPE_ATTRIBUTE, objects.named("test-report-data"))
        }
    }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 756 bytes
    - Viewed (0)
Back to top