Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 2,269 for pattern1 (0.19 sec)

  1. tensorflow/compiler/mlir/quantization/tensorflow/passes/quantize.cc

      if (quant_specs_.weight_quantization) {
        patterns.add<TFDynamicRangeQuantization>(ctx, quant_params);
      } else {
        patterns.add<TFFullQuantization, TFFullQuantizationReverse>(ctx,
                                                                    quant_params);
        patterns.add<QuantizeSameScaleOpsPattern>(ctx, GetTfQuantScaleSpec,
                                                  target_opset_);
        patterns.add<QuantizeAvgPoolOpPattern>(ctx);
      }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Mar 22 05:52:39 UTC 2024
    - 23.6K bytes
    - Viewed (0)
  2. build-logic/kotlin-dsl/src/main/kotlin/gradlebuild/kotlindsl/generator/codegen/GradleApiMetadata.kt

            excludes.isEmpty() -> patternSpecFor(includes)
            else -> patternSpecFor(includes).and(patternSpecFor(excludes).negate())
        }
    
    
    private
    fun patternSpecFor(patterns: List<String>) =
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sun Nov 12 16:16:07 UTC 2023
    - 3.3K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/lite/transforms/tensorlist_patterns.td

    include "mlir/Dialect/Func/IR/FuncOps.td"
    include "tensorflow/compiler/mlir/tensorflow/ir/tf_ops.td"
    
    //===----------------------------------------------------------------------===//
    // TensorList transformation patterns.
    // Note that the pattern below rewrites `TensorList` tensors  (which has type DT_VARIANT)
    // into regular tensors. We also assume that each element in the `TensorList` has
    // a same constant shape.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Mar 16 23:20:46 UTC 2022
    - 1.5K bytes
    - Viewed (0)
  4. subprojects/core-api/src/main/java/org/gradle/api/file/FileTree.java

         *
         * <p>The given pattern set is used to configure the filter. Only files which match the specified include patterns
         * will be included in the filtered tree. Any files which match the specified exclude patterns will be excluded from
         * the filtered tree.</p>
         *
         * @param patterns the pattern set to use to configure the filter.
         * @return The filtered tree.
         */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 06 22:26:55 UTC 2022
    - 5.5K bytes
    - Viewed (0)
  5. src/testing/match_test.go

    	}
    	for _, tc := range testCases {
    		a := splitRegexp(tc.pattern)
    		if !reflect.DeepEqual(a, tc.result) {
    			t.Errorf("splitRegexp(%q) = %#v; want %#v", tc.pattern, a, tc.result)
    		}
    
    		// If there is any error in the pattern, one of the returned subpatterns
    		// needs to have an error as well.
    		if _, err := regexp.Compile(tc.pattern); err != nil {
    			ok := true
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 16 14:48:54 UTC 2022
    - 8K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tf2xla/internal/passes/mark_ops_for_outside_compilation.cc

    };
    
    // Adds any canonicalization patterns to list of supported `patterns`.
    // TODO(b/161726307): Move or import the relevant patterns to LowerTF pass and
    // remove this.
    void AddCanonicalizationPatterns(MLIRContext* context,
                                     RewritePatternSet* patterns) {
      for (auto op : context->getRegisteredOperations())
        op.getCanonicalizationPatterns(*patterns, context);
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 21.4K bytes
    - Viewed (0)
  7. src/embed/embed.go

    //
    // The //go:embed directive accepts multiple space-separated patterns for
    // brevity, but it can also be repeated, to avoid very long lines when there are
    // many patterns. The patterns are interpreted relative to the package directory
    // containing the source file. The path separator is a forward slash, even on
    // Windows systems. Patterns may not contain ‘.’ or ‘..’ or empty path elements,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 19:42:51 UTC 2024
    - 13.5K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tf2xla/transforms/legalize_tf_with_tf2xla_passes.h

    template <typename T>
    class OperationPass;
    class Pass;
    
    namespace mhlo {
    
    /// Converter to be used along with the fallback Tf2Xla patterns below.
    class Tf2XlaTypeConverter : public TypeConverter {
     public:
      Tf2XlaTypeConverter();
    };
    
    /// Adds the TF to XLA via TF2XLA rewrite patterns to the pattern list.
    /// `prefer_tf2xla` means an op will be included iff it is not in
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 28 21:49:50 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/lite/transforms/quantize.cc

          quant_specs};
    
      populateWithGenerated(patterns);
    
      if (quant_specs.weight_quantization || quant_specs.use_fake_quant_num_bits ||
          quant_specs.qdq_conversion_mode ==
              quant::QDQConversionMode::kQDQDynamic) {
        patterns.add<TFLDynamicRangeQuantization>(ctx, quant_params);
      } else {
        patterns.add<TFLFullQuantization, TFLFullQuantizationReverse>(ctx,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Apr 24 20:30:06 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  10. platforms/native/testing-native/src/test/groovy/org/gradle/nativeplatform/test/xctest/internal/execution/XCTestSelectionTest.groovy

            when:
            select('more.than.two.dots')
    
            then:
            def ex = thrown(IllegalArgumentException)
            ex.message == "'more.than.two.dots' is an invalid pattern. Patterns should have one or two dots."
        }
    
        def "can use filters with two dots or fewer"() {
            when:
            select('one.dot', 'has.two.dots', 'ModuleName')
    
            then:
            noExceptionThrown()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 3.2K bytes
    - Viewed (0)
Back to top