- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 31 for rewrites (0.19 sec)
-
tensorflow/compiler/mlir/lite/stablehlo/transforms/uniform_quantized_stablehlo_to_tfl_pass.cc
CastI64ToI32(window_dims[1]).value()); StringAttr activation_function = rewriter.getStringAttr("NONE"); rewriter.replaceOpWithNewOp<TFL::MaxPool2DOp>( op, result_type, input, padding, stride_w_attr, stride_h_attr, window_w_attr, window_h_attr, activation_function); } };
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Apr 22 09:00:19 UTC 2024 - 99.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/tf_passes.td
} def HoistReplicateInvariantResourceWritesPass : Pass<"tf-hoist-replicate-invariant-resource-writes", "mlir::func::FuncOp"> { let summary = "Hoists writes to replicate invariant resource variables."; let description = [{ This pass hoists replicate invariant resource variable writes outside tf_device.replicate op. These may have been inserted by other passes such as
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Jun 12 21:18:05 UTC 2024 - 99.6K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/_gen/generic.rules
// Divisibility checks x%c == 0 convert to multiply and rotate. // Note, x%c == 0 is rewritten as x == c*(x/c) during the opt pass // where (x/c) is performed using multiplication with magic constants. // To rewrite x%c == 0 requires pattern matching the rewritten expression // and checking that the division by the same constant wasn't already calculated.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 16 22:21:05 UTC 2024 - 135.3K bytes - Viewed (0) -
src/cmd/go/internal/load/pkg.go
// and because the eventual real load of the test imports (during 'go test') // can produce better error messages if it starts with the original paths. // The initial load of p loads all the non-test imports and rewrites // the vendored paths, so nothing should ever call p.vendored(p.Imports). func (p *Package) Resolve(imports []string) []string { if len(imports) > 0 && len(p.Imports) > 0 && &imports[0] == &p.Imports[0] {
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/lite/transforms/optimize.cc
loc, GetI64ElementsAttr(new_broadcast_shape, &rewriter)); auto new_broadcast_to_op = rewriter.create<TFL::BroadcastToOp>( loc, RankedTensorType::get(new_broadcast_shape, rewriter.getF32Type()), new_inner_reshape_op.getOutput(), new_broadcast_shape_value); // Create a new broadcast_op to replace the old broadcast_op. rewriter.replaceOp(tfl_broadcast_to_op, new_broadcast_to_op.getResult());
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Apr 30 00:40:15 UTC 2024 - 102.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/ir/tf_ops_n_z.cc
output_ty.getRank(), rewriter.getIntegerType(32)); shape_attr = DenseIntElementsAttr::get(output_int_type, output_shape); } auto shape = rewriter.create<ConstOp>(pack_op.getLoc(), shape_attr); // TODO(b/173622615): Remove after fixed. ReplaceTfOpWithNewOp<ReshapeOp>(rewriter, pack_op, output_ty, pack_op.getOperand(0), shape);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu May 09 22:07:10 UTC 2024 - 170.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/ir/tf_ops_a_m.cc
} } // Inline the region into the block containing the IfRegion. rewriter.inlineBlockBefore(®ion.front(), op); rewriter.eraseOp(yield); rewriter.replaceOp(op, updated_results); return success(); } } // anonymous namespace void IfRegionOp::getCanonicalizationPatterns(RewritePatternSet& results,
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 146.7K bytes - Viewed (0) -
src/cmd/go/alldocs.go
// // When compiling a single main package, build writes the resulting // executable to an output file named after the last non-major-version // component of the package import path. The '.exe' suffix is added // when writing a Windows executable. // So 'go build example/sam' writes 'sam' or 'sam.exe'. // 'go build example.com/foo/v2' writes 'foo' or 'foo.exe', not 'v2.exe'. //
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 11 16:54:28 UTC 2024 - 142.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/stablehlo/transforms/legalize_hlo.cc
/*dilations=*/rewriter.getI64ArrayAttr(dilation)); } else { output = rewriter.create<TF::Conv2DOp>( conv_op.getLoc(), conv_output_type, sliced_lhs, rhs, rewriter.getI64ArrayAttr(strides), /*use_cudnn_on_gpu=*/rewriter.getBoolAttr(true), /*padding=*/rewriter.getStringAttr(padding), /*explicit_paddings=*/rewriter.getI64ArrayAttr(new_padding),
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 154.9K bytes - Viewed (0) -
pkg/config/validation/validation.go
return errs } func validateHTTPRewrite(rewrite *networking.HTTPRewrite) error { if rewrite == nil { return nil } if rewrite.Uri != "" && rewrite.UriRegexRewrite != nil { return errors.New("rewrite may only contain one of URI or UriRegexRewrite") } if rewrite.Uri == "" && rewrite.UriRegexRewrite == nil && rewrite.Authority == "" {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Jun 12 04:03:33 UTC 2024 - 107.2K bytes - Viewed (0)