- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 51 for Dadd (0.07 sec)
-
tensorflow/compiler/mlir/tensorflow/analysis/side_effect_analysis.cc
// An unknown side effect dominates other side effects so we don't have // to add them and can return here. return; } // Add op-based side effects from regions (if any). for (Region& region : op->getRegions()) { AddRegionSideEffectsForOp(region, op); } // Add op-based side effects for the op itself. for (const auto& effect : effects) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed May 15 09:04:13 UTC 2024 - 41.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/stablehlo/passes/quantization_patterns.cc
const bool enable_per_channel_quantized_weight) { patterns.add<XlaCallModuleOpToCallOp<QuantizeConvolutionOpPattern>>( ctx, enable_per_channel_quantized_weight); patterns.add<XlaCallModuleOpToCallOp<QuantizeDotGeneralOpPattern>>( ctx, enable_per_channel_quantized_weight); patterns .add<XlaCallModuleOpToCallOp<QuantizeWeightOnlyOpPattern<ConvolutionOp>>>(
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 03 06:04:36 UTC 2024 - 41.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/tf2xla/internal/passes/xla_broadcast.cc
<< replicate.getN() << ")"; } // add block arg to region. This is in $body. unsigned block_arg_idx = replicate.GetNumReplicatedBlockArguments(); Block& block = replicate.GetBody(); block_arg = block.insertArgument(block_arg_idx, type, replicate.getLoc()); // add to $replicated_inputs. This also updates OperandSegmentSizeAttr.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Jun 13 18:52:07 UTC 2024 - 13.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/stablehlo/transforms/fold_broadcast_pass.cc
} void getDependentDialects(::mlir::DialectRegistry ®istry) const override {} void runOnOperation() override { RewritePatternSet patterns(&getContext()); patterns.add<FoldBroadcastInDimBeforeMulOp>(&getContext()); patterns.add(ConstantFoldMul); if (failed(applyPatternsAndFoldGreedily(getOperation(), std::move(patterns)))) { return signalPassFailure(); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 10.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/prepare_tpu_computation_for_tf_export.cc
// If the parent is not a FuncOp, then add the parent op containing a region // to worklist. Operation* parent = region->getParentOp(); if (!isa<func::FuncOp>(parent)) { if (ops_with_tokens.insert(parent).second) { worklist.push_back(parent); } continue; } // For functions, get all the users and add them to the worklist.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 11.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/promote_resources_to_args.cc
function.setType(builder.getFunctionType(argument_types, result_types)); // Add resource_name attribute to the output for the resources. for (auto& resource : output_only_resources) function.setResultAttr(resource.first, kResourceNameArgAttr, builder.getStringAttr(resource.second)); // Add aliasing_output attribute to the input argument for the resources that // are updated by the function.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 17.1K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/tensorflow/passes/prepare_lifting.cc
MLIRContext* ctx = &getContext(); auto func = getOperation(); // The pattern includes decomposing batch normalization ops, fusing add/mul // with a constant operand to a preceding affine operation. RewritePatternSet patterns(ctx); populateWithGenerated(patterns); patterns.add<RemoveIdentity, ConstantFoldQuantizableOperands>(ctx); if (op_set_ != OpSet::XLA) { // Convert Einsum into BatchMatMul for non-XLA opsets.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 17 17:58:54 UTC 2024 - 13.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/tfrt/tests/mlrt/tf_to_mlrt.mlir
func.func @branch0(%arg0: tensor<f32>, %arg1: tensor<f32>) -> tensor<f32> { %0 = "tf.Add" (%arg0, %arg1) {__op_key = 1, device = "/device:CPU:0"} : (tensor<f32>, tensor<f32>) -> tensor<f32> func.return %0 : tensor<f32> } // CHECK-LABEL: @branch1 func.func @branch1(%arg0: tensor<f32>, %arg1: tensor<f32>) -> tensor<f32> { %0 = "tf.Add" (%arg0, %arg1) {__op_key = 2, device = "/device:CPU:0"} : (tensor<f32>, tensor<f32>) -> tensor<f32>
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/lite/transforms/legalize_tf.cc
}; void addPatterns(MLIRContext* context, RewritePatternSet& patterns, bool preserve_assert_op) { // Add TF->TF lowering patterns. TF::PopulateLoweringTFPatterns(context, &patterns); // Add the generated patterns to the list. populateWithGenerated(patterns); patterns.add<ConvertTFConcatV2Op, ConvertTFBatchMatMulOp, ConvertTFBatchMatMulV2Op, ConvertTFBatchMatMulV3Op,
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon May 20 20:06:54 UTC 2024 - 45.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/common/quantization_lib/quantization_config.h
case tensorflow::DT_QINT32: return 32; default: return 0; } } // Whether to add the NumericVerify ops to verify numbers before and after // quantization. bool verify_numeric = false; // Whether to add verification for layer by layer, or on whole model. When // disabled (per-layer) float and quantized ops will be run from same input
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Mar 13 10:16:19 UTC 2024 - 10.8K bytes - Viewed (0)