- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 340 for pattern1 (0.24 sec)
-
tensorflow/compiler/mlir/lite/transforms/prepare_tf.cc
target.addIllegalOp<TF::XlaGatherOp>(); RewritePatternSet patterns(context); mhlo::Tf2XlaTypeConverter converter; mhlo::PopulateLegalizeTfWithTf2XlaPatterns("XLA_CPU_JIT", patterns, context, converter); mhlo::PopulateLegalizeTfPatterns(context, &patterns); mlir::odml::PopulateLegalizeHloToTfPatterns(&patterns, context);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue May 28 21:49:50 UTC 2024 - 64.6K bytes - Viewed (0) -
src/testing/fstest/testfs.go
pattern = append(pattern, '\\', r) continue } switch (i + j) % 5 { case 0: pattern = append(pattern, r) case 1: pattern = append(pattern, '[', r, ']') case 2: pattern = append(pattern, '[', r, '-', r, ']') case 3: pattern = append(pattern, '[', '\\', r, ']') case 4: pattern = append(pattern, '[', '\\', r, '-', '\\', r, ']')
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 16.3K bytes - Viewed (0) -
src/cmd/go/internal/load/pkg.go
pid++ glob := pattern all := strings.HasPrefix(pattern, "all:") if all { glob = pattern[len("all:"):] } // Check pattern is valid for //go:embed. if _, err := pathpkg.Match(glob, ""); err != nil || !validEmbedPattern(glob) { return nil, nil, fmt.Errorf("invalid pattern syntax") } // Glob to find matches.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 28 17:00:51 UTC 2024 - 120K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/decompose_optionals.cc
pattern_list.add<HandleFunc>(&getContext()); pattern_list.add<HandleCall>(&getContext()); pattern_list.add<HandleIf>(&getContext()); FrozenRewritePatternSet patterns(std::move(pattern_list)); if (failed(applyPatternsAndFoldGreedily(module, patterns))) { signalPassFailure(); } } } // namespace std::unique_ptr<OperationPass<ModuleOp>> CreateDecomposeOptionalsPass() {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Jun 12 21:18:05 UTC 2024 - 9.8K bytes - Viewed (0) -
src/runtime/mbitmap.go
pattern <<= 8 pattern |= uintptr(*src) src = subtract1(src) npattern += 8 } // We started with the whole bit output buffer, // and then we loaded bits from whole bytes. // Either way, we might now have too many instead of too few. // Discard the extra. if npattern > n { pattern >>= npattern - n npattern = n }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 00:18:55 UTC 2024 - 60K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/transforms/optimize_patterns.td
def ReshapeNCHWBiasToNHWC : NativeCodeCall<"ReshapeNCHWBiasToNHWC($0, $1)">; //===----------------------------------------------------------------------===// // Ternary ops patterns. //===----------------------------------------------------------------------===// // Multi-pattern consisting of matching stand-alone convolution op followed by // activation op. multiclass FuseActFnIntoConvOpPat<Op ActFnOp, ConstantStrAttr ActFnAttr> {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu May 16 20:31:41 UTC 2024 - 66.4K bytes - Viewed (0) -
src/unsafe/unsafe.go
// arbitrary memory. It should be used with extreme care. // // The following patterns involving Pointer are valid. // Code not using these patterns is likely to be invalid today // or to become invalid in the future. // Even the valid patterns below come with important caveats. // // Running "go vet" can help find uses of Pointer that do not conform to these patterns, // but silence from "go vet" is not a guarantee that the code is valid. //
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 21 19:45:20 UTC 2024 - 12.1K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/tensorflow/passes/prepare_lifting.cc
MLIRContext* ctx = &getContext(); auto func = getOperation(); // The pattern includes decomposing batch normalization ops, fusing add/mul // with a constant operand to a preceding affine operation. RewritePatternSet patterns(ctx); populateWithGenerated(patterns); patterns.add<RemoveIdentity, ConstantFoldQuantizableOperands>(ctx); if (op_set_ != OpSet::XLA) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 17 17:58:54 UTC 2024 - 13.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/stablehlo/odml_converter/transforms/outline_composites.cc
void runOnOperation() override { auto func = getOperation(); RewritePatternSet patterns(&getContext()); patterns.add<OutlineGELU>(&getContext()); if (failed(applyPatternsAndFoldGreedily(func, std::move(patterns)))) { signalPassFailure(); } } }; } // namespace
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 17 17:58:54 UTC 2024 - 9.6K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/transforms/legalize_tf.cc
return success(); } }; void addPatterns(MLIRContext* context, RewritePatternSet& patterns, bool preserve_assert_op) { // Add TF->TF lowering patterns. TF::PopulateLoweringTFPatterns(context, &patterns); // Add the generated patterns to the list. populateWithGenerated(patterns); patterns.add<ConvertTFConcatV2Op, ConvertTFBatchMatMulOp,
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon May 20 20:06:54 UTC 2024 - 45.2K bytes - Viewed (0)