- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 83 for lowerings (0.17 sec)
-
tensorflow/compiler/mlir/tf2xla/internal/passes/lowering_passes.td
def InputLoweringMetricsPass : Pass<"input-lowering-metrics-pass", "mlir::func::FuncOp"> { let summary = "Collects various metrics about the input to the lowering " "portion of the bridge. This is a logical no-op."; let description = [{ Gathers metrics about the input MLIR to Phase 2 of the TFXLA Bridge, which does a strict semantic lowering from Tensorflow ops to XLA HLO. }];
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Feb 21 19:49:04 UTC 2024 - 1.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/tf2xla/tests/legalize-tf-include-tf2xla-fallback.mlir
} // BatchMatMulV2 has native as well as fallback lowering patterns available. // The fallback pattern uses dot_general without broadcast on operands and then // transposes the output which is faster. However, the fallback pattern doesn't // support dynamic shaped operands like the native lowering. Verify that // fallback lowering is preferred for static shaped operands when available. // CHECK-LABEL: batchmatmulv2
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Nov 16 19:04:03 UTC 2023 - 3.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/stablehlo/passes/bridge/convert_tf_quant_to_mhlo_int_test.cc
tensorflow::ConvertTensor(tensor, &builder)); builder.setInsertionPoint( &func_op.getFunctionBody().getBlocks().front().front()); // Use mhlo.Constant when it is consumed by the lowering passes since they // can't lower tf.Const. Value cst; if (use_mhlo_const) { cst = builder.create<mhlo::ConstantOp>(func_op->getLoc(), attrs); } else {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Apr 03 01:03:21 UTC 2024 - 35.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/tf2xla/transforms/legalization_op_config.h
bool IsOpAllowedTf2xlaFallback(const TypeID& type_id); // Whether this type is Preferred to use a TF2XLA fallback kernel when using // the MLIR bridge. If this is true, then the TF2XLA fallback kernel will be // used over the MLIR lowering. bool IsOpAllowedTf2xlaPreferred(const TypeID& type_id); } // namespace mhlo } // namespace mlir
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Feb 26 20:53:25 UTC 2024 - 2K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/config.go
Types Types lowerBlock blockRewriter // block lowering function, first round lowerValue valueRewriter // value lowering function, first round lateLowerBlock blockRewriter // block lowering function that needs to be run after the first round; only used on some architectures lateLowerValue valueRewriter // value lowering function that needs to be run after the first round; only used on some architectures
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 02 16:11:47 UTC 2024 - 12.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/decompose_resource_ops_pass.cc
struct DecomposeResourceOpsPass : public impl::DecomposeResourceOpsPassBase<DecomposeResourceOpsPass> { void runOnOperation() override { // Add lowering patterns to the list. RewritePatternSet patterns(&getContext()); TF::PopulateDecomposeResourceOpsPatterns(&getContext(), &patterns); if (failed(applyPatternsAndFoldGreedily(getOperation(),
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Sep 08 20:01:13 UTC 2023 - 8K bytes - Viewed (0) -
tensorflow/compiler/mlir/tfrt/tests/mlrt/tf_to_mlrt.mlir
// CHECK: mlrt.await_handle [[handle_1]] mlrt.await_handle %handle_0 mlrt.await_handle %handle_1 // CHECK: return [[result]] return %result : tensor<i32> } // ----- // Test lowering tf.If func.func @then(%x: tensor<i32>, %y: tensor<i32>) -> tensor<i32> { return %x: tensor<i32> } func.func @else(%x: tensor<i32>, %y: tensor<i32>) -> tensor<i32> { return %y: tensor<i32> }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 31 20:44:15 UTC 2024 - 24.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/tfrt/runtime_fallback/runtime_fallback_executor.cc
using ::tensorflow::thread::ThreadPoolInterface; using ::tensorflow::tfrt_stub::FallbackTensor; // -------------------------------------------------------------------------- // // Run function via the TF->TFRT fallback lowering. // -------------------------------------------------------------------------- // namespace { // Thread pool for running `intra-op` tasks scheduled by the fallback kernels.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed May 08 00:18:59 UTC 2024 - 9.1K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/stablehlo/passes/bridge/passes.h
// Creates an instance of the VerifyQuantLegalization pass, which verifies all // quant ops and types are lowered. std::unique_ptr<OperationPass<func::FuncOp>> CreateVerifyQuantLegalizationPass(); // Add all passes for lowering TF quant ops and types to MHLO int. void AddQuantizationLoweringPasses(mlir::OpPassManager &pm); // Creates an instance of OptimizeIntGraphPass, which optimizes the int graph // lowered from the quantized graph.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Feb 23 01:41:18 UTC 2024 - 2.6K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/_gen/S390X.rules
(Neg64F ...) => (FNEG ...) (Com64 ...) => (NOT ...) (Com(32|16|8) ...) => (NOTW ...) (NOT x) => (XOR (MOVDconst [-1]) x) (NOTW x) => (XORWconst [-1] x) // Lowering boolean ops (AndB ...) => (ANDW ...) (OrB ...) => (ORW ...) (Not x) => (XORWconst [1] x) // Lowering pointer arithmetic (OffPtr [off] ptr:(SP)) => (MOVDaddr [int32(off)] ptr) (OffPtr [off] ptr) && is32Bit(off) => (ADDconst [int32(off)] ptr)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 12 18:09:26 UTC 2023 - 74.3K bytes - Viewed (0)