- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 745 for Auto (0.14 sec)
-
tensorflow/compiler/mlir/lite/stablehlo/transforms/uniform_quantized_stablehlo_to_tfl_pass.cc
TFL::QConstOp rhs_qconst_op; auto GetBroadcastedConstOp = [&](Value operand) -> TFL::QConstOp { if (auto broadcast_op = dyn_cast_or_null<stablehlo::BroadcastInDimOp>( operand.getDefiningOp())) { auto stablehlo_const_op = dyn_cast_or_null<stablehlo::ConstantOp>( broadcast_op.getOperand().getDefiningOp()); auto const_uniform_quantized_type =
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Apr 22 09:00:19 UTC 2024 - 99.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/resource_op_lifting.cc
// Remove return values forwarded from unused arguments. auto return_op = func_op.front().getTerminator(); auto old_return_vals = llvm::to_vector<8>(return_op->getOperands()); int64_t skipped_retvals = 0; for (auto entry : llvm::enumerate(old_return_vals)) { auto return_val = entry.value(); if (auto arg = mlir::dyn_cast<BlockArgument>(return_val)) { auto it = infos.find(arg.getArgNumber());
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 55.1K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/translate/import_model.cc
} auto type_from_array_attr = [&node, &idx, &builder]( absl::string_view output_shape_attr, absl::string_view element_type_attr) { auto* output_shapes = node.attrs().Find(output_shape_attr); auto* element_types = node.attrs().Find(element_type_attr); const auto& output_shape = output_shapes->list().shape(idx);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed May 01 11:17:36 UTC 2024 - 183.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/experimental/tac/transforms/raise_target_subgraphs.cc
void RaiseTargetSubgraphsPass::runOnOperation() { ModuleOp module = getOperation(); auto& side_effect_analysis = getAnalysis<TF::SideEffectAnalysis>(); SmallVector<func::FuncOp> funcs(module.getOps<func::FuncOp>()); int func_count = -1; for (auto func : funcs) { const auto& info = side_effect_analysis.GetAnalysisForFunc(func); for (auto& block : func) { OpBuilder builder = OpBuilder::atBlockBegin(&block);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 11.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/transforms/optimize.cc
auto result_value = gather_nd_first.getResult(); auto params_value = gather_nd_first.getParams(); auto indices_value = gather_nd_first.getIndices(); auto result_type = dyn_cast<RankedTensorType>(result_value.getType()); auto params_type = dyn_cast<RankedTensorType>(params_value.getType()); auto indices_type = dyn_cast<RankedTensorType>(indices_value.getType());
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Apr 30 00:40:15 UTC 2024 - 102.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/utils/xla_sharding_util.cc
// maximal sharding then only the specified logical device take the value as // the input. for (const auto& sharding_attr_and_index : llvm::enumerate(sharding_attrs)) { const auto& sharding_attr = sharding_attr_and_index.value(); const auto input_index = sharding_attr_and_index.index(); const auto& input_value = cluster_func_inputs[input_index]; xla::OpSharding sharding; if (DecodeShardingAttribute(
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed May 22 21:28:13 UTC 2024 - 34K bytes - Viewed (0) -
tensorflow/c/experimental/next_pluggable_device/c_api.cc
void (*delete_func)(void*), TF_Status* status) { auto* cc_ctx = reinterpret_cast<tensorflow::OpKernelContext*>(ctx); auto* resource_mgr = cc_ctx->resource_manager(); tensorflow::core::RefCountPtr<tensorflow::PluginResource> tf_plugin_resource_ptr; tensorflow::PluginResource* tf_plugin_resource = nullptr; auto cc_status = resource_mgr->LookupOrCreate<tensorflow::PluginResource>(
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Apr 22 05:48:24 UTC 2024 - 13.9K bytes - Viewed (0) -
src/cmd/go/testdata/script/build_pgo_auto.txt
go install -a -n -pgo=auto ./a/a1 stderr 'compile.*-pgoprofile=.*a1.go' go run -a -n -pgo=auto ./a/a1 stderr 'compile.*-pgoprofile=.*a1.go' go test -a -n -pgo=auto ./a/a1 stderr 'compile.*-pgoprofile=.*a1.go.*a1_test.go' stderr 'compile.*-pgoprofile=.*external_test.go' # go list commands should succeed as usual go list -pgo=auto ./a/a1 go list -test -pgo=auto ./a/a1 go list -deps -pgo=auto ./a/a1
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Apr 18 15:39:17 UTC 2024 - 2.6K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/analysis/resource_value_typed_analyzer.cc
std::tuple<StringRef, StringRef, StringRef> GetResourceKey(Operation* op) { StringRef device; if (auto attr = op->getAttrOfType<StringAttr>("device")) { device = attr.getValue(); } StringRef container; if (auto attr = op->getAttrOfType<StringAttr>("container")) { container = attr.getValue(); } StringRef shared_name; if (auto attr = op->getAttrOfType<StringAttr>("shared_name")) { shared_name = attr.getValue(); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed May 15 09:04:13 UTC 2024 - 8K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/collection_ops_util.cc
if (auto while_op = llvm::dyn_cast<TF::WhileOp>(use.getOwner())) { auto body = while_op.body_function(); assert(body); auto type_from_body = GetElementTypeFromAccess( body.getArgument(use.getOperandNumber()), module, infer_from_op); if (type_from_body.has_value()) return type_from_body; } else if (auto if_op = llvm::dyn_cast<TF::IfOp>(use.getOwner())) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 14.5K bytes - Viewed (0)