- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 108 for getUses (0.13 sec)
-
tensorflow/compiler/mlir/tensorflow/utils/xla_sharding_util.cc
// with corresponding results of new parallel_execute op for (auto& use : llvm::make_early_inc_range( old_parallel_execute->getResult(output_index).getUses())) { use.set(new_parallel_execute->getResult(output_index)); } continue; } int tpu_cluster_output_index = output_index - num_results_pre_cluster; const auto& output_sharding =
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed May 22 21:28:13 UTC 2024 - 34K bytes - Viewed (0) -
tensorflow/compiler/mlir/tf2xla/internal/passes/extract_outside_compilation.cc
has_dynamic_output = true; for (Operation* user : v.getUsers()) { if (!HasOutsideCompilationAncestor(user) && !llvm::isa<mlir::tf_device::ReturnOp>(user)) return true; } } if (!tensorflow::TypeValidForXLA(v.getType())) for (const Operation* user : v.getUsers()) if (!llvm::isa<mlir::tf_device::ReturnOp>(user))
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Apr 30 21:25:12 UTC 2024 - 68.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/tf2xla/internal/passes/tpu_sharding_identification_pass.cc
llvm::SmallVector<Value, 4> next_values_to_visit; for (Value value_to_visit : values_to_visit) { if (!visited_values.insert(value_to_visit).second) continue; for (auto& use : value_to_visit.getUses()) { Operation* owner = use.getOwner(); if (auto sharding = llvm::dyn_cast<mlir::TF::XlaShardingOp>(owner)) return sharding.get_XlaSharding();
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Apr 30 02:01:13 UTC 2024 - 28.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/tf2xla/transforms/legalize_tf_communication.cc
// Only `mlir::func::CallOp` is supported as this requires knowing how // to rewrite arguments and results to a function. if (!isa<mlir::func::CallOp>(use.getUser())) continue; auto caller_parent_func = use.getUser()->getParentOfType<func::FuncOp>(); if (!caller_parent_func) continue; FuncToRewrite func_to_rewrite{/*original=*/caller_parent_func,
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 40.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/resource_op_lifting.cc
ResourceInfo info; info.data_type = GetResourceSubtype(resource); llvm::BitVector written_regions(op_->getNumRegions()); bool unsupported_use = false; for (OpOperand& use : resource.getUses()) { Operation* user = use.getOwner(); // If the user is not in one of the regions, we are not interested in it. // Since all the sub-regions within this region (i.e., regions attached to
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/transforms/sparsecore/embedding_pipelining.cc
for (auto& use : uses_optional.value()) { if (llvm::isa<TF::WhileOp>(use.getUser())) { if (while_op != nullptr) { use.getUser()->emitOpError() << "multiple users of function."; return LogicalResult::failure(); } else { while_op = llvm::cast<TF::WhileOp>(use.getUser()); } } else { use.getUser()->emitOpError() << "non while use of function."; return LogicalResult::failure();
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 92.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/flatbuffer_import.cc
!(qtype.isa<mlir::quant::UniformQuantizedType>() || qtype.isa<mlir::quant::UniformQuantizedPerAxisType>())) { return; } for (auto& use : value.getUses()) { Operation* user = use.getOwner(); if (user->hasTrait<mlir::OpTrait::IsTerminator>()) continue; auto affine_user = llvm::dyn_cast<mlir::AffineQuantizedOpInterface>(user); if (affine_user &&
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue May 21 18:21:50 UTC 2024 - 66.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/flatbuffer_export.cc
// marked as a stateful. If so, set the tensor's is_variable as true // This is v1 ref variable semantics in the TFLite runtime. bool is_variable = false; for (auto& use : value.getUses()) { is_variable = IsStatefulOperand(use.getOwner(), use.getOperandNumber()); if (is_variable) { break; } } // The value is used as a variable if produced by an op with "tfl.is_variable"
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Jun 12 21:41:49 UTC 2024 - 164.5K bytes - Viewed (0) -
tests/transaction_test.go
t.Fatalf("Should find saved record") } } func TestNestedTransactionWithBlock(t *testing.T) { var ( user = *GetUser("transaction-nested", Config{}) user1 = *GetUser("transaction-nested-1", Config{}) user2 = *GetUser("transaction-nested-2", Config{}) ) if err := DB.Transaction(func(tx *gorm.DB) error { tx.Create(&user)
Registered: Wed Jun 12 16:27:09 UTC 2024 - Last Modified: Wed May 08 04:07:58 UTC 2024 - 10.9K bytes - Viewed (0) -
tests/query_test.go
users := []User{ *GetUser("find_in_batches_with_offset_limit", Config{}), *GetUser("find_in_batches_with_offset_limit", Config{}), *GetUser("find_in_batches_with_offset_limit", Config{}), *GetUser("find_in_batches_with_offset_limit", Config{}), *GetUser("find_in_batches_with_offset_limit", Config{}), *GetUser("find_in_batches_with_offset_limit", Config{}), *GetUser("find_in_batches_with_offset_limit", Config{}),
Registered: Wed Jun 12 16:27:09 UTC 2024 - Last Modified: Wed May 08 04:07:58 UTC 2024 - 49.8K bytes - Viewed (0)