Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 105 for REWRITES (0.38 sec)

  1. tensorflow/compiler/aot/codegen.cc

          count *= shape.dimensions(dim);
        }
      }
      rewrites->push_back({"{{I}}", absl::StrCat(i)});
      rewrites->push_back({"{{TYPE}}", type});
      rewrites->push_back({"{{DIM_VARS}}", absl::StrJoin(dim_vars, ", ")});
      rewrites->push_back({"{{DIM_SIZES}}", dim_sizes});
      rewrites->push_back({"{{INDICES}}", indices});
      rewrites->push_back({"{{COUNT}}", absl::StrCat(count)});
      return absl::OkStatus();
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 01:20:01 UTC 2024
    - 36.8K 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. 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)
  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. 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/loopreschedchecks.go

    // not for block controls, because block controls are not targets
    // for the rewrites performed in inserting rescheduling checks.
    type rewriteTarget struct {
    	v *Value
    	i int
    }
    
    type rewrite struct {
    	before, after *Value          // before is the expected value before rewrite, after is the new value installed.
    	rewrites      []rewriteTarget // all the targets for this rewrite.
    }
    
    func (r *rewrite) String() string {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 22 21:17:10 UTC 2023
    - 16K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top