- Sort Score
- Result 10 results
- Languages All
Results 41 - 49 of 49 for SetArg (0.15 sec)
-
platforms/software/ivy/src/main/java/org/gradle/api/publish/ivy/internal/tasks/IvyDescriptorFileGenerator.java
private static void writeGlobalExclude(IvyExcludeRule excludeRule, OptionalAttributeXmlWriter xmlWriter) throws IOException { xmlWriter.startElement("exclude") .attribute("org", excludeRule.getOrg()) .attribute("module", excludeRule.getModule()) .attribute("conf", excludeRule.getConf()) .endElement(); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Oct 12 14:02:46 UTC 2023 - 14.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/tensorflow/passes/prepare_quantize_drq.cc
void PrepareQuantizeDRQPass::removeAllStatsOp(func::FuncOp func) { func.walk([&](quantfork::StatisticsOp stats_op) { stats_op.replaceAllUsesWith(stats_op.getArg()); stats_op.erase(); }); } #include "tensorflow/compiler/mlir/quantization/tensorflow/passes/prepare_quantize.inc" void PrepareQuantizeDRQPass::runOnOperation() {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 11.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/common/quantization_lib/quantization_utils.h
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); op.getResult().replaceAllUsesWith(dq); q.getOperation()->replaceUsesOfWith(dq, op.getArg()); op.erase(); return success(); } private: int num_bits;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Apr 24 20:30:06 UTC 2024 - 41.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/quantization/tools/tflite_op_coverage_spec_getters_gen.cc
int input_idx = 0; for (int i = 0; i < args_in_dag->getNumArgs(); i++) { if (args_in_dag->getArgName(i)->getAsString() == "\"input\"") input_idx = i; } if (CheckTypeConstraints(args_in_dag->getArg(input_idx), required_types, per_axis)) { std::string op_name = op.getCppClassName().str(); // TODO(b/197195711): Please add the additional operations for 16x8 MLIR
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Sep 06 19:12:29 UTC 2023 - 12.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/tfr/ir/tfr_ops.td
let extraClassDeclaration = [{ // Return element type of the input tensor type. Only available when the // input is a MLIR built-in tensor type. Attribute getInputElementType() { if (auto ty = getArg().getType().dyn_cast<TensorType>()) { return TypeAttr::get(ty.getElementType()); } return {}; } }]; let hasCanonicalizer = 1; }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Apr 22 10:54:29 UTC 2024 - 17.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/common/quantization_lib/quantization_driver.cc
for (int i = 0; i < op->getNumOperands(); ++i) { if (auto dq_op = dyn_cast_or_null<quantfork::DequantizeCastOp>( op->getOperand(i).getDefiningOp())) { auto type = mlir::cast<TensorType>(dq_op.getArg().getType()).getElementType(); if (auto per_axis_qtype = mlir::dyn_cast_or_null<quant::UniformQuantizedPerAxisType>( QuantizedType::getQuantizedElementType(type))) { return true;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 38.1K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/transforms/prepare_quantize_dynamic_range.cc
void PrepareDynamicRangeQuantizePass::removeAllStatsOp(func::FuncOp func) { func.walk([&](quantfork::StatisticsOp stats_op) { stats_op.replaceAllUsesWith(stats_op.getArg()); stats_op.erase(); }); } void PrepareDynamicRangeQuantizePass::runOnOperation() { func::FuncOp func = getOperation(); MLIRContext* ctx = func.getContext();
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 20.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/stablehlo/passes/quantization_patterns.cc
for (const Value operand : same_scale_op->getOperands()) { auto dq_op = dyn_cast_or_null<quantfork::DequantizeCastOp>(operand.getDefiningOp()); if (!dq_op) continue; Operation* preceding_op = dq_op.getArg().getDefiningOp(); if (!preceding_op) continue; // Check whether the preceding op is a quantized composite function. if (isa<func::CallOp>(preceding_op)) {
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/lite/flatbuffer_export.cc
else if (auto stats_op = llvm::dyn_cast_or_null<mlir::quantfork::StatisticsOp>( operand.getDefiningOp())) operands.push_back(tensor_index_map.lookup(stats_op.getArg())); else operands.push_back(tensor_index_map.lookup(operand)); } // CustomTfOp is just a wrapper around a TF op, we export the custom Op
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Jun 12 21:41:49 UTC 2024 - 164.5K bytes - Viewed (0)