- Sort Score
- Result 10 results
- Languages All
Results 121 - 130 of 326 for racewrite (5.09 sec)
-
tensorflow/compiler/mlir/quantization/stablehlo/passes/nchw_convolution_to_nhwc.cc
return success(MatchInputDimensionNumbers(dimension_nums) && MatchKernelDimensionNumbers(dimension_nums) && MatchOutputDimensionNumbers(dimension_nums)); } void rewrite(mlir::stablehlo::ConvolutionOp op, PatternRewriter& rewriter) const override { // Transpose the input tensor: [b, f, 0, 1] => [b, 0, 1, f] Value input = op->getOperand(0);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 8.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/transforms/lower_static_tensor_list.cc
protected: // This flag will control the behavior of error emitting during rewrite: // 1) If it's true, then patterns will only emit errors during debug or // tracing mode. 2) If it's false, then patterns will emit standard errors // when there is a rewrite failure. bool allow_tensorlist_pass_through_; // This flag will control the behavior of setting the batch size one when the
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Jun 11 20:00:43 UTC 2024 - 70.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/common/attrs_and_constraints.td
// Checks if the value has static shape at given dims. class HasStaticShapeAtDimsConstraint<string dims> : Constraint< CPred<"HasStaticShapeAtDims($0, {"# dims #"})">>; // The rewrite rule cannot replace a value with itself, so we work around // by cloning the root op to replicate that value. The old op will get folded. def CloningOpResult : NativeCodeCall< "$_builder.clone(*op0)->getOpResult(0)">;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Mar 08 04:55:44 UTC 2024 - 6.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/optimize.cc
using OpRewritePattern<BroadcastToOp>::OpRewritePattern; LogicalResult matchAndRewrite(BroadcastToOp op, PatternRewriter &rewriter) const override { // Only rewrite if the Broadcast has only one consumer. if (!op.getOutput().hasOneUse()) return failure(); Operation *user = *op.getOutput().getUsers().begin(); auto reshape_op = llvm::dyn_cast_or_null<ReshapeOp>(user);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 8.1K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/freeze_global_tensors.cc
freezeable[val] = false; // Error out early if possible. if (!allow_mutable_tensors) { user->emitError() << "could not rewrite use of immutable bound input"; return signalPassFailure(); } } } } } DenseSet<GlobalTensorOp> frozen_global_tensors;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 7.8K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/nilcheck_test.go
If("bool2", "extra", "exit")), Bloc("extra", Goto("exit")), Bloc("exit", Exit("mem"))) CheckFunc(fun.f) // we need the opt here to rewrite the user nilcheck opt(fun.f) nilcheckelim(fun.f) // clean up the removed nil check fuse(fun.f, fuseTypePlain) deadcode(fun.f) CheckFunc(fun.f) for _, b := range fun.f.Blocks {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Nov 17 23:34:11 UTC 2023 - 12.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/stablehlo/transforms/fuse_convolution_pass.cc
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Feb 22 22:21:19 UTC 2024 - 8.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/experimental/tac/transforms/device_transform.cc
state.attributes = op->getAttrs(); state.successors = op->getSuccessors(); builder->setInsertionPoint(op); Operation* new_op = builder->create(state); // Insert quantize ops for every outputs and rewrite. for (int i = 0; i < op->getNumResults(); ++i) { auto result = op->getResult(i); auto result_type = result.getType(); Value new_result = new_op->getResult(i);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 8.4K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/_gen/rulegen.go
// Copyright 2015 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // This program generates Go code that applies rewrite rules to a Value. // The generated code implements a function of type func (v *Value) bool // which reports whether if did something. // Ideas stolen from Swift: http://www.hpl.hp.com/techreports/Compaq-DEC/WRL-2000-2.html package main
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sat Sep 02 22:09:21 UTC 2023 - 48.7K bytes - Viewed (0) -
pkg/proxy/nftables/README.md
anything else (including, in particular, packets destined for a pod IP) gets routed along the forward path. ## kube-proxy's use of nftables hooks Kube-proxy uses nftables for seven things: - Using DNAT to rewrite traffic from service IPs (cluster IPs, external IPs, load balancer IP, and NodePorts on node IPs) to the corresponding endpoint IPs. - Using SNAT to masquerade traffic as needed to ensure that replies to it will come back
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sun Jan 21 14:37:56 UTC 2024 - 5.9K bytes - Viewed (0)