- Sort Score
- Result 10 results
- Languages All
Results 91 - 100 of 436 for rewrite (0.19 sec)
-
tensorflow/compiler/jit/extract_outside_compilation_pass.cc
AddHostComputeKeyPlaceholder(xla_cluster_name, &host_graph)); // Step 2: rewrite cond function. TF_RETURN_IF_ERROR(RewriteHostWhileLoopCond( cond_host_func_name, while_node_name, host_transfer_key, xla_cluster_attr_name, xla_cluster_name, outside_compilation_attr_name, outside_compilation_name, fld)); // Step 3: rewrite body function. TF_RETURN_IF_ERROR(RewriteHostWhileLoopBody(
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Mar 12 06:33:33 UTC 2024 - 104.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/tpu_space_to_depth_pass.cc
// Book keeping new filter shape for backprop filter rewrite. // Filter shape is defined in HandleConv2DFilter, thus it is RankedTensorType. filter_shape = mlir::cast<RankedTensorType>(conv2d.getFilter().getType()).getShape(); SmallVector<int32_t, 4> new_filter_shape(filter_shape.begin(), filter_shape.end()); // Rewrite Conv2DBackPropFilter that is the user of first convolution's input.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 29.3K bytes - Viewed (0) -
pilot/pkg/model/virtualservice.go
} delegate.Match = merged if delegate.Name == "" { delegate.Name = root.Name } else if root.Name != "" { delegate.Name = root.Name + "-" + delegate.Name } if delegate.Rewrite == nil { delegate.Rewrite = root.Rewrite } if delegate.DirectResponse == nil { delegate.DirectResponse = root.DirectResponse } if delegate.Timeout == nil { delegate.Timeout = root.Timeout }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Sat Mar 30 11:17:03 UTC 2024 - 17.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/tf2xla/transforms/passes.h
bool legalize_chlo = true, std::optional<StringRef> tf2xla_fallback_device_type = std::nullopt, bool prefer_tf2xla = false); /// Adds the TF to TF lowerings and TF to XLA rewrite patterns to the pattern /// list. void PopulateLegalizeTfPatterns(MLIRContext* context, RewritePatternSet* patterns); // Populates TF to MHLO legalization for some of the quantization ops.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue May 28 21:49:50 UTC 2024 - 4.8K bytes - Viewed (0) -
src/cmd/vendor/rsc.io/markdown/link.go
var out []Inline // allocated lazily when we first change list for i, x := range list { switch x := x.(type) { case *Plain: if rewrite := p.autoLinkPlain(x.Text); rewrite != nil { if out == nil { out = append(out, list[:i]...) } out = append(out, rewrite...) continue } case *Strong: x.Inner = p.autoLinkText(x.Inner) case *Del: x.Inner = p.autoLinkText(x.Inner)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jan 24 13:01:26 UTC 2024 - 20.7K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/copyelim.go
func phielim(f *Func) { for { change := false for _, b := range f.Blocks { for _, v := range b.Values { // This is an early place in SSA where all values are examined. // Rewrite all 0-sized Go values to remove accessors, dereferences, loads, etc. if t := v.Type; (t.IsStruct() || t.IsArray()) && t.Size() == 0 { if t.IsStruct() { v.reset(OpStructMake0) } else {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Apr 22 14:55:18 UTC 2024 - 3.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/stablehlo/transforms/fuse_convolution_pass.cc
auto dimsType = RankedTensorType::get({1}, rewriter.getIntegerType(64)); broadcast_dims = DenseIntElementsAttr::get(dimsType, {filter_rank - 1}); } Value broadcast_multiplier = rewriter.create<mhlo::BroadcastInDimOp>( mul_op.getLoc(), filter.getType(), multiplier, broadcast_dims); Value new_filter = rewriter.create<mhlo::MulOp>(
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
}; auto dequant_values = mlir::cast<DenseIntOrFPElementsAttr>(input_values) .mapValues(FloatType::getF32(rewriter.getContext()), llvm::function_ref<DequantizeFuncType>(dequantize_func)); rewriter.replaceOpWithNewOp<TFL::ConstOp>(dequant_op, dequant_op.getType(), dequant_values); return success(); } };
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 8.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/tensorflow/passes/lift_quantizable_spots_as_functions.cc
#include "mlir/IR/PatternMatch.h" // from @llvm-project #include "mlir/IR/SymbolTable.h" // from @llvm-project #include "mlir/Pass/Pass.h" // from @llvm-project #include "mlir/Pass/PassRegistry.h" // from @llvm-project #include "mlir/Rewrite/FrozenRewritePatternSet.h" // from @llvm-project #include "mlir/Support/LLVM.h" // from @llvm-project #include "mlir/Support/LogicalResult.h" // from @llvm-project #include "mlir/Support/TypeID.h" // from @llvm-project
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 10 04:07:09 UTC 2024 - 16.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/common/quantization_lib/quantization_utils.h
} } else { return failure(); } rewriter.setInsertionPointAfter(op.getOperation()); Type result_type = quant_type.castFromExpressedType(op.getType()); auto q = rewriter.create<QuantizeOpT>(op.getLoc(), result_type, op.getArg()); q->setAttr(kVolatileOpAttrName, rewriter.getUnitAttr()); auto dq = rewriter.create<DequantizeOpT>(op.getLoc(), op.getType(), q);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Apr 24 20:30:06 UTC 2024 - 41.7K bytes - Viewed (0)