- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 108 for getUses (0.12 sec)
-
tensorflow/compiler/mlir/quantization/tensorflow/passes/lift_hashtable_ops_as_args.cc
if (!function_uses.has_value()) return false; for (auto& function_use : function_uses.value()) { if (!llvm::isa<TF::PartitionedCallOp, TF::StatefulPartitionedCallOp>( function_use.getUser())) { return false; } } return true; } // Returns the `shared_name` attribute value if exists. If not, returns an // empty string. StringRef GetSharedName(Operation* op) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 17 17:58:54 UTC 2024 - 8.2K bytes - Viewed (0) -
pkg/config/validation/virtualservice.go
errs = AppendValidation(errs, ValidateHTTPHeaderWithAuthorityOperationName(name)) errs = AppendValidation(errs, ValidateHTTPHeaderValue(val)) } for name, val := range http.Headers.GetRequest().GetSet() { errs = AppendValidation(errs, ValidateHTTPHeaderWithAuthorityOperationName(name)) errs = AppendValidation(errs, ValidateHTTPHeaderValue(val)) } for _, name := range http.Headers.GetRequest().GetRemove() {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Jun 12 04:03:27 UTC 2024 - 9.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/freeze_global_tensors.cc
freezeable[val] = false; continue; } freezeable[val] = true; // Verify users are supported kind. for (Operation *user : val.getUsers()) { if (!(isa<TF::ReadVariableOp>(user) || isa<CallOpInterface>(user))) { freezeable[val] = false; // Error out early if possible. if (!allow_mutable_tensors) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 7.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/stablehlo/passes/bridge/convert_tf_quant_types.cc
// Check if an op result value is consumed by qint -> int TF Cast OP. bool IsQintValueQintToIntCast(Value v) { if (!IsIllegalType(v.getType())) { return true; } if (v.getUsers().empty()) { return false; } return llvm::all_of(v.getUsers(), [&](OpOperand operand) { return IsQintToIntCast(operand.getOwner()); }); } // Check if an op operand value is defined by int -> qint TF Cast OP.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 12.6K bytes - Viewed (0) -
cmd/iam.go
case <-sys.configLoaded: default: err = sys.store.LoadUser(ctx, accessKey) loadUserCalled = true } u, ok = sys.store.GetUser(accessKey) if !ok && !loadUserCalled { err = sys.store.LoadUser(ctx, accessKey) loadUserCalled = true u, ok = sys.store.GetUser(accessKey) } if !ok && loadUserCalled && err != nil { iamLogOnceIf(ctx, err, accessKey) // return 503 to application
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Thu Jun 13 22:26:38 UTC 2024 - 71.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/remove_vars_in_session_initializer.cc
llvm::SmallVectorImpl<Operation*>& erase_list, llvm::SmallPtrSetImpl<Operation*>& dead_ops) { for (mlir::Value res : op->getResults()) { for (Operation* user : res.getUsers()) { if (!dead_ops.insert(user).second) continue; RecursiveRemove(user, erase_list, dead_ops); } } erase_list.push_back(op); for (auto& use : op->getOpOperands()) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 3.6K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/common/quantization_lib/quantization_utils.h
min -= kNearZeroTolerance; max += kNearZeroTolerance; } } }; template <typename VerifierT> bool UsedBy(Operation* op) { for (Operation* user : op->getUsers()) { if (llvm::isa_and_nonnull<VerifierT>(user)) return true; } return false; } template <typename VerifierT> void CreateVerifier(Operation* quantizing_op, Operation* quantized_op,
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/tensorflow/transforms/tpu_host_computation_expansion.cc
head_outside_compiled_ops.insert(&cluster_op); } } for (auto head_outside_compiled_op : llvm::reverse(head_outside_compiled_ops)) { auto users = head_outside_compiled_op->getUsers(); if (users.empty() || HasOutsideCompilationAttribute(head_outside_compiled_op)) continue; bool should_expand_op_to_host_computation = true; for (auto consumer_op : users) {
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/tensorflow/ir/tf_saved_model.cc
auto func = symbol_table.lookupNearestSymbolFrom<func::FuncOp>( symbol_use.getUser(), symbol_use.getSymbolRef()); if (func && IsExported(func)) { // If it is an init function, then it can be used by the unique // session_initializer op. if (is_init(func) && llvm::isa<SessionInitializerOp>(symbol_use.getUser())) { if (!func->getAttr(kTfSavedModelInitializerTypeAttr)) { LOG(WARNING)
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 23.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/hoist_loop_invariant.cc
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 5.3K bytes - Viewed (0)