- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 136 for getIpr (0.27 sec)
-
tensorflow/compiler/mlir/tensorflow/transforms/tf_saved_model_asset_sinking_pass.cc
mlir::cast<FlatSymbolRefAttr>(initializer).getValue()); RewriteFunction(symbol_table, func); } // Clean up unused asset ops. for (auto asset : llvm::make_early_inc_range(module.getOps<AssetOp>())) { if (symbol_table.symbolKnownUseEmpty(asset, module)) { asset.erase(); } } } private: // Replaces bounded-input arguments of the function with constant ops in the
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 7.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/tf_saved_model_freeze_variables.cc
llvm::SmallVector<TF::VarHandleOp, 4> variables; // Capture list of all read only variables. for (auto func : module.getOps<func::FuncOp>()) { if (func == session_init_func) continue; for (auto var_handle_op : func.getOps<TF::VarHandleOp>()) { if (!analyzer.IsPotentiallyWritten(var_handle_op.getResource())) { variables.push_back(var_handle_op); } } }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 09:56:53 UTC 2024 - 19.4K bytes - Viewed (0) -
pkg/controller/daemon/update.go
if outerErr := err; errors.IsAlreadyExists(outerErr) { logger := klog.FromContext(ctx) // TODO: Is it okay to get from historyLister? existedHistory, getErr := dsc.kubeClient.AppsV1().ControllerRevisions(ds.Namespace).Get(ctx, name, metav1.GetOptions{}) if getErr != nil { return nil, getErr } // Check if we already created it done, matchErr := Match(ds, existedHistory) if matchErr != nil { return nil, matchErr }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon May 13 16:53:53 UTC 2024 - 24.4K bytes - Viewed (0) -
pkg/config/schema/kubeclient/common.go
reg := typemap.Get[TypeRegistration[T]](registerTypes) if reg != nil { // This is registered type tr := *reg return c.Informers().InformerFor(tr.GetGVR(), opts, func() cache.SharedIndexInformer { inf := cache.NewSharedIndexInformer( tr.ListWatch(c, opts), tr.Object(), 0, cache.Indexers{cache.NamespaceIndex: cache.MetaNamespaceIndexFunc}, )
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Apr 17 16:38:40 UTC 2024 - 8.1K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/stablehlo/passes/lift_quantizable_spots_as_functions.cc
const FunctionNameMatcher matcher(spec.matcher().function_name()); // Iterate over all XlaCallModuleOp in all FuncOps. for (auto func : module_op.getOps<func::FuncOp>()) { for (auto xla_call_module_op : func.getOps<TF::XlaCallModuleOp>()) { if (!matcher.Match(xla_call_module_op)) continue; // Set the text representation of `Method` to matched // `TF::XlaCallModuleOp`.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 10 04:07:09 UTC 2024 - 9.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/tensorflow/passes/lift_hashtable_ops_as_args.cc
if (shared_name.empty()) return false; for (func::FuncOp init_func_op : tf_saved_model::GetInitializerFunctions(module_op)) { for (Operation& op : init_func_op.getBody().getOps()) { StringRef other_shared_name = GetSharedName(&op); if (IsHashTableOp(&op) && other_shared_name == shared_name) { return true; } } } return false; }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 17 17:58:54 UTC 2024 - 8.2K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/api/internal/initialization/DefaultBuildLogicBuildQueue.java
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Feb 16 23:00:15 UTC 2024 - 3.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/stablehlo/passes/replace_stablehlo_ops_in_main_function_with_xla_call_module_ops.cc
if (!main_func) continue; SymbolTable symbol_table(module_op); for (auto call_op : main_func.getOps<TF::PartitionedCallOp>()) { func_ops.push_back(dyn_cast_or_null<func::FuncOp>(symbol_table.lookup( mlir::cast<FlatSymbolRefAttr>(call_op.getFAttr()).getValue()))); } for (auto call_op : main_func.getOps<TF::StatefulPartitionedCallOp>()) { func_ops.push_back(
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 21K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/lift_variables.cc
mlir::Builder builder(context); StringAttr resource_name_id = builder.getStringAttr(kResourceNameArgAttr); SmallSet<StringRef, 4> resource_names; for (func::FuncOp func : module.getOps<func::FuncOp>()) { for (int i = 0, e = func.getNumArguments(); i < e; ++i) { auto resource_arg = func.getArgAttrOfType<StringAttr>(i, kResourceNameArgAttr); if (!resource_arg) continue;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu May 23 09:05:47 UTC 2024 - 7.9K bytes - Viewed (0) -
tensorflow/compiler/jit/get_compiler_ir.cc
if (!platform_name.empty()) { device_name = absl::StrCat("/device:", platform_name, ":0"); } FunctionLibraryRuntime* flr = pflr->GetFLR(device_name); if (flr == nullptr) { // Use CPU as the fallback to get the `FunctionLibraryRuntime`. flr = pflr->GetFLR("/device:CPU:0"); } TF_ASSIGN_OR_RETURN( std::vector<XlaCompiler::Argument> args,
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Feb 22 06:59:07 UTC 2024 - 19K bytes - Viewed (0)