- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 108 for getUses (0.12 sec)
-
tensorflow/compiler/mlir/tensorflow/transforms/tf_saved_model_freeze_variables.cc
llvm::MapVector<Operation*, llvm::SmallVector<unsigned int, 4>>* arguments_to_erase) { auto arg = region->getArgument(argument_index); for (auto& usage : arg.getUses()) { auto* user_op = usage.getOwner(); int operand_index = usage.getOperandNumber(); PropagateUsage(user_op, operand_index, value, work_list, arguments_to_erase); } }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 09:56:53 UTC 2024 - 19.4K bytes - Viewed (0) -
platforms/core-execution/workers/src/main/java/org/gradle/workers/internal/WorkerDaemonClient.java
workerClient.stop(); } public void kill() { workerClient.stopNow(); } DaemonForkOptions getForkOptions() { return forkOptions; } public int getUses() { return uses; } public KeepAliveMode getKeepAliveMode() { return forkOptions.getKeepAliveMode(); } public LogLevel getLogLevel() { return logLevel; }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 30 19:54:37 UTC 2024 - 3.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/stablehlo/passes/quantize_weight.cc
const ShapedType type = mlir::dyn_cast<ShapedType>(op.getType()); if (!type || !type.getElementType().isF32()) return quantizable_ops; const Value value = op.getResult(); for (OpOperand& use : value.getUses()) { Operation* user = use.getOwner(); const int operand_num = use.getOperandNumber(); quantizable_ops.insert({user, operand_num}); } return quantizable_ops; }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 9.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/tensorflow/passes/propagate_quantize_type.cc
if (!function_name.starts_with(kDequantizeFunctionName)) return failure(); llvm::SmallVector<Operation*> users(op->getUsers().begin(), op->getUsers().end()); bool changed = false; for (auto& use : op->getUses()) { Operation* user_op = use.getOwner(); int user_idx = use.getOperandNumber(); if (!IsOpWithInt8TypeOperand(user_op)) continue;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 7K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/sparsecore/embedding_sequencing.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.";
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 39.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/tf2xla/internal/passes/hoist_broadcast_read.cc
Value res = read.getResource(); Operation* scope = res.getParentBlock()->getParentOp(); if (!scope->isProperAncestor(replicate)) continue; bool has_conflicting_write = false; for (OpOperand& use : res.getUses()) { Operation* using_op = use.getOwner(); if (using_op == read) continue; if (!replicate->isProperAncestor(using_op)) continue; Operation* peer = GetAncestorBelow(using_op, replicate);
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/cluster_ops_by_policy.cc
// -------------------------------------------------------------------------- // namespace { constexpr char kDeviceAttr[] = "device"; // A type that abstracts over types that have uses accessible via `getUses`. using Source = PointerUnion<Operation *, BlockArgument *>; // We use union-find algorithm to build clusters of connected operations based // on the user provided policy. If an operation can be clustered (one of the
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 27.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/fused_kernel_matcher.cc
// multiple such activations, one is returned (with no guarantee as to which // one). If there are no activation functions that use the output, returns // nullptr. Operation *GetActivation(Value op) { for (auto &use : op.getUses()) { if (IsActivationFunction(use.getOwner())) return use.getOwner(); } return nullptr; } // Finds and returns a BiasAdd that uses the result of `op` as the `value`
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 14.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/transforms/prepare_quantize_dynamic_range.cc
ShapedType new_result_type = old_result_type.clone(quantized_type); // Insert CastOp if it does not exist yet. Otherwise, just rewire without // creating a CastOp. for (auto& connected_op : op.getResult().getUses()) { auto cast_op = llvm::dyn_cast_or_null<CastOp>(connected_op.getOwner()); if (cast_op && cast_op.getType() == new_result_type) { quantize_op->setOperand(quantize_operand_num, cast_op); return;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 20.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/transforms/legalize_hashtables.cc
mlir::isa<IntegerType>(key_dtype) && mlir::cast<IntegerType>(key_dtype).getWidth() == 64))) { return false; } for (auto& use : hashtable->getUses()) { Operation* user = use.getOwner(); // Allow consuming hash table ops that can be covered by TensorFlow Lite // hash table kernels.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 7.6K bytes - Viewed (0)