- Sort Score
- Result 10 results
- Languages All
Results 1 - 7 of 7 for getUnknownLoc (0.18 sec)
-
tensorflow/compiler/mlir/quantization/common/quantization_lib/quantization_utils.cc
builder.getUnknownLoc(), storage_type_width, effective_mins[0], effective_maxs[0], narrow_range, converter.expressed_type, is_signed); if (legacy_float_scale) { quantized_element_type = DownCastScale(quantized_element_type, effective_mins[0], effective_maxs[0], builder.getUnknownLoc()); } } else if (min.size() == max.size()) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed May 08 02:10:16 UTC 2024 - 43.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/stablehlo/transforms/tfl_stablehlo_pass.cc
builder->getNamedAttr(key, conv_dimension_numbers_attr); attrs.push_back(named_attr); } break; } default: { emitWarning(builder->getUnknownLoc(), "seralization not supported for : ") << key; break; } } } return attrs; } };
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Jan 24 06:08:43 UTC 2024 - 10.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/quantization/import_quant_stats_pass.cc
ElementsAttr axis_stats, IntegerAttr axis) { auto stats_op = b.create<quantfork::StatisticsOp>( b.getUnknownLoc(), res, layer_stats, axis_stats, axis); res.replaceAllUsesWith(stats_op); stats_op.getOperation()->replaceUsesOfWith(stats_op, res); } void ImportQuantStatsPass::ImportAsStatsOps(OpBuilder b, Operation *op,
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Mar 08 10:41:08 UTC 2024 - 9.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/c/c_api_unified_experimental_mlir.cc
builder_(context_.get()) { RegisterDialects(*context_); // TODO(aminim) figure out the location story here module_ = ModuleOp::create(builder_.getUnknownLoc()); func_ = func::FuncOp::create( builder_.getUnknownLoc(), name, builder_.getFunctionType(std::nullopt, std::nullopt)); module_->push_back(func_); builder_ = OpBuilder::atBlockBegin(func_.addEntryBlock()); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 28.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/tensorflow/passes/unfreeze_constants.cc
GetOrCreateSessionInitializerOp(module_op); OpBuilder builder(module_op.getContext()); builder.setInsertionPointAfter(session_init_op); const Location loc = builder.getUnknownLoc(); const auto func_type = builder.getFunctionType(/*inputs=*/{}, /*results=*/{}); auto init_func = builder.create<func::FuncOp>( loc, /*sym_name=*/"init_func_restore_op", func_type);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Aug 16 15:04:53 UTC 2023 - 14K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/tensorflow/passes/insert_main_function.cc
} node_to_output_map[node_name].push_back( {output_count++, tensor_index, call_op_return}); } Value scalar_one = CreateScalarConstValue<float>(builder, builder.getUnknownLoc(), 1.0); llvm::SmallVector<Value> returning_values(output_count, Value()); for (const auto& node_name : node_to_output_map.keys()) { auto node_output_tensors = node_to_output_map[node_name];
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 16.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/common/quantization_lib/quantization_driver.cc
void QuantizationDriver::QuantizeArg(BlockArgument arg, const QuantizedType quantized_type) { builder_.setInsertionPointToStart(arg.getOwner()); QuantizeValue(arg, quantized_type, builder_.getUnknownLoc()); } void QuantizationDriver::QuantizeValue(Value value, QuantizedType quantized_type, const Location loc) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 38.1K bytes - Viewed (0)