- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 101 for REWRITES (0.13 sec)
-
tensorflow/compiler/mlir/lite/transforms/lower_static_tensor_list.cc
return matchAndRewriteImplWithDynamicUpdateSlice(op, adaptor, rewriter); } else { return matchAndRewriteImplWithSliceAndConcat(op, adaptor, rewriter); } } // This function rewrites the original op into a series of slice and concat op // to produce the same result. It first slices the first `$index` rows. Then // expands the dimension of the `$item`, followed by another slice of 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/tensorflow/transforms/canonicalize.td
// Bitcast op patterns. //===----------------------------------------------------------------------===// // Parameter attributes are part of function attributes, which is not affected // by pattern rewrites. Therefore we do not need to explicilty copy attributes // over. def BitcastSameType : Pat< (TF_BitcastOp:$res $arg), (replaceWithValue $arg), [(SingleResultAndOperandHaveSameElementType $res, $arg)]>;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Dec 06 18:42:28 UTC 2023 - 17K bytes - Viewed (0) -
src/cmd/compile/internal/walk/complit.go
rhs := ir.NewIndexExpr(base.Pos, vstate, i) rhs.SetBounded(true) kidx := ir.NewIndexExpr(base.Pos, vstatk, i) kidx.SetBounded(true) // typechecker rewrites OINDEX to OINDEXMAP lhs := typecheck.AssignExpr(ir.NewIndexExpr(base.Pos, m, kidx)).(*ir.IndexExpr) base.AssertfAt(lhs.Op() == ir.OINDEXMAP, lhs.Pos(), "want OINDEXMAP, have %+v", lhs) lhs.RType = n.RType
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Sep 08 19:03:54 UTC 2023 - 19.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/stablehlo/passes/bridge/convert_tf_quant_types.cc
// some generic types that are legal in MHLO. This pass legalizes TF types into // types that are legal in MHLO. For example, TF::Qint8Type is converted to i8. // Rewrites here should run before TF to MHLO op legalizations are run. #include <memory> #include <string> #include <utility> #include "llvm/ADT/STLExtras.h" #include "llvm/ADT/SmallVector.h"
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 12.6K bytes - Viewed (0) -
src/syscall/exec_windows.go
package syscall import ( "internal/bytealg" "runtime" "sync" "unicode/utf16" "unsafe" ) // ForkLock is not used on Windows. var ForkLock sync.RWMutex // EscapeArg rewrites command line argument s as prescribed // in https://msdn.microsoft.com/en-us/library/ms880421. // This function returns "" (2 double quotes) if s is empty. // Alternatively, these transformations are done:
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Sep 28 18:29:48 UTC 2023 - 10.3K bytes - Viewed (0) -
src/runtime/stubs.go
// //go:linkname add //go:nosplit func add(p unsafe.Pointer, x uintptr) unsafe.Pointer { return unsafe.Pointer(uintptr(p) + x) } // getg returns the pointer to the current g. // The compiler rewrites calls to this function into instructions // that fetch the g directly (from TLS or from the dedicated register). func getg() *g // mcall switches from the g to the g0 stack and invokes fn(g),
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 17:58:53 UTC 2024 - 20.2K bytes - Viewed (0) -
cluster/images/etcd-version-monitor/etcd-version-monitor.go
} // exportedMetric identifies a metric that is exported and defines how it is rewritten before // it is exported. type exportedMetric struct { rewriters []rewriteFunc } // rewriteFunc rewrites metrics before they are exported. type rewriteFunc func(mf *dto.MetricFamily) (*dto.MetricFamily, error) func (m *monitorGatherer) Gather() ([]*dto.MetricFamily, error) { etcdMetrics, err := scrapeMetrics()
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Dec 16 06:50:02 UTC 2023 - 11.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/passes.h
// Returns pass that prepares TPU computation to be legal for export to // TensorFlow. std::unique_ptr<OperationPass<ModuleOp>> CreatePrepareTpuComputationForTfExportPass(); // Rewrites ops that require quantized inputs or outputs to ops that allow // non-quantized inputs and outputs. std::unique_ptr<OperationPass<func::FuncOp>> CreateLowerQuantizedPass();
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Jun 12 21:18:05 UTC 2024 - 31.8K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/rewrite.go
) // deadcode indicates whether rewrite should try to remove any values that become dead. func applyRewrite(f *Func, rb blockRewriter, rv valueRewriter, deadcode deadValueChoice) { // repeat rewrites until we find no more rewrites pendingLines := f.cachedLineStarts // Holds statement boundaries that need to be moved to a new value/block pendingLines.clear() debug := f.pass.debug if debug > 1 {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jun 07 19:02:52 UTC 2024 - 64.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/stablehlo/transforms/compose_uniform_quantized_type_pass.cc
private: explicit UniformDequantizeFunctionCallPattern(func::CallOp call_op) : call_op_(call_op) {} func::CallOp call_op_; }; // Matches the pattern for quantized convolution op and rewrites it to use // uniform quantized types. // // Currently assumes asymmetric per-tensor quantization for activations and // symmetric per-channel quantization for filters. //
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 64.6K bytes - Viewed (0)