- Sort Score
- Result 10 results
- Languages All
Results 121 - 130 of 986 for Auto (0.11 sec)
-
tensorflow/compiler/mlir/tensorflow/transforms/executor_tpuv1_outline_tpu_island.cc
if (auto symbol_ref = mlir::dyn_cast<FlatSymbolRefAttr>(attr.getValue())) { MoveFuncOp(symbol_ref, symbol_table, outlined_symbol_table); continue; } if (auto array_attr = mlir::dyn_cast<ArrayAttr>(attr.getValue())) { for (const Attribute &attribute : array_attr) { auto symbol_ref = mlir::dyn_cast<FlatSymbolRefAttr>(attribute);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 8.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/experimental/tac/tac_module.cc
} auto module_status = importer_->Import(); if (!module_status.ok()) { return module_status.status(); } auto module = module_status->get(); auto* context = module->getContext(); context->appendDialectRegistry(registry_); context->loadAllAvailableDialects(); // Run TAC passes. auto status = RunTacPasses(&module, options_.debug_mode); if (!status.ok()) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Jun 08 01:19:25 UTC 2023 - 5.6K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/ir/tf_arith_ops_folder.h
auto lhs_type = mlir::cast<ShapedType>(arithmetic_op.getX().getType()); auto rhs_type = mlir::cast<ShapedType>(arithmetic_op.getY().getType()); auto result_type = mlir::cast<ShapedType>(arithmetic_op.getResult().getType()); // We can fold arithmetic operation only of we can prove that we will not // accidentally hide a broadcasting error.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 5.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/tpu_partitioned_op_conversion.cc
} auto result = getOperation()->walk([&num_cores_per_replica](Operation* op) { std::optional<LogicalResult> status; if (auto partitioned_input = llvm::dyn_cast_or_null<TF::TPUPartitionedInputOp>(op)) { status = ReplacePartitionedOp(num_cores_per_replica, partitioned_input); } else if (auto partitioned_output =
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 5.1K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/metrics/types_util.cc
} auto new_call = mutable_location->mutable_call()->Add(); ExtractFileLine(loc, new_call->mutable_source()); }) .Case<NameLoc>([&](NameLoc loc) { if (!mutable_location->has_type()) { mutable_location->set_type(ConverterErrorData::NAMELOC); } auto new_call = mutable_location->mutable_call()->Add();
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 4.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/translate/upgrade_graph.cc
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Feb 27 14:33:47 UTC 2024 - 6.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/cluster_formation.cc
const TF::SideEffectAnalysis::Info& side_effect_analysis) { auto all_clusters = TF::BuildAllClusters(block, side_effect_analysis, GetDevice, CanBeIgnoredInCluster); for (const auto& [device, clusters] : all_clusters) { for (const auto& cluster : clusters) { BuildLaunchForCluster(cluster, &builder); } } }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Oct 05 13:30:21 UTC 2023 - 6.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/mark_input_output_aliases.cc
return failure(); } alias_info.output_index = result.getResultNumber(); } for (auto& operand : cluster_func->getOpOperands()) { auto read_op = llvm::dyn_cast_or_null<TF::ReadVariableOp>( operand.get().getDefiningOp()); if (!read_op) continue; if (!read_op->hasOneUse()) continue; auto it = resource_alias_info_map.find(read_op.getResource()); if (it == resource_alias_info_map.end()) continue;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Mar 05 04:14:26 UTC 2024 - 7.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/tfrt/tests/analysis/update_op_cost_in_tfrt_mlir_test.cc
mlir::MLIRContext context(registry); auto module = mlir::parseSourceFile<mlir::ModuleOp>(saved_model_mlir_path, &context); ASSERT_TRUE(module); // Create a cost recorder with fake cost records. auto expected_op_cost_map = GetOpCostMap(module.get()); EXPECT_EQ(expected_op_cost_map.size(), 1); unsigned int seed = 23579; for (auto& [op_key, cost] : expected_op_cost_map) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Jul 21 22:52:12 UTC 2023 - 3.1K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/transforms/decompose_hybrid_quantization.cc
Location loc = op->getLoc(); SmallVector<Value> newOperands; newOperands.reserve(op->getNumOperands()); for (auto operand : op->getOperands()) { if (QuantizedType::getQuantizedElementType(operand.getType())) { auto newTy = QuantizedType::castToExpressedType(operand.getType()); newOperands.push_back( rewriter.create<TFL::DequantizeOp>(loc, newTy, operand));
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 5.8K bytes - Viewed (0)