Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 25 for REWRITES (0.1 sec)

  1. 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)
  2. platforms/core-runtime/logging/src/main/java/org/gradle/internal/logging/slf4j/ContextAwareTaskLogger.java

    import org.gradle.internal.operations.OperationIdentifier;
    
    import javax.annotation.Nullable;
    
    public interface ContextAwareTaskLogger extends Logger {
        interface MessageRewriter {
    
            /**
             * Rewrites log message.
             *
             * @param logLevel the logging level
             * @param message the original message
             * @return the rewritten message or null if this message should be silenced
             */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:05:18 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. tensorflow/compiler/mlir/lite/quantization/ir/ConvertSimQuant.cc

    struct ConvertSimulatedQuantPass
        : public impl::QuantConvertSimulatedQuantBase<ConvertSimulatedQuantPass> {
      void runOnOperation() override;
    };
    
    /// Base class rewrites ConstFakeQuant into a qbarrier/dbarrier pair.
    template <typename ConcreteRewriteClass, typename FakeQuantOp>
    class FakeQuantRewrite : public OpRewritePattern<FakeQuantOp> {
     public:
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 08 02:10:16 UTC 2024
    - 6K bytes
    - Viewed (0)
  8. okhttp-testing-support/src/main/kotlin/okhttp3/UppercaseRequestInterceptor.kt

     */
    package okhttp3
    
    import java.io.IOException
    import okhttp3.Interceptor.Chain
    import okio.Buffer
    import okio.BufferedSink
    import okio.ForwardingSink
    import okio.Sink
    import okio.buffer
    
    /** Rewrites the request body sent to the server to be all uppercase.  */
    class UppercaseRequestInterceptor : 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.9K bytes
    - Viewed (0)
  9. src/cmd/fix/main.go

    	"os"
    	"path/filepath"
    	"sort"
    	"strings"
    
    	"cmd/internal/telemetry"
    )
    
    var (
    	fset     = token.NewFileSet()
    	exitCode = 0
    )
    
    var allowedRewrites = flag.String("r", "",
    	"restrict the rewrites to this comma-separated list")
    
    var forceRewrites = flag.String("force", "",
    	"force these fixes to run even if the code looks updated")
    
    var allowed, force map[string]bool
    
    var (
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 14 19:41:17 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tensorflow/transforms/host_runtime/runtime_passes.h

    #include <memory>
    
    #include "llvm/ADT/StringRef.h"
    #include "mlir/IR/BuiltinOps.h"  // from @llvm-project
    #include "mlir/Pass/Pass.h"  // from @llvm-project
    
    namespace mlir {
    namespace TFTPU {
    
    // Creates a pass that rewrites `tf_device.launch_func` on TPUs into TPU runtime
    // ops.
    std::unique_ptr<mlir::OperationPass<mlir::ModuleOp>> CreateTPURewritePass(
        llvm::StringRef module_name = llvm::StringRef());
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jan 10 18:58:57 UTC 2024
    - 2.1K bytes
    - Viewed (0)
Back to top