- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 10 for getUsers (0.4 sec)
-
tensorflow/compiler/mlir/tensorflow/ir/tf_ops_n_z.cc
auto loc = op.getLoc(); // First unpack user must be coeff-wise unary operation. Operation *first_user = *op->getUsers().begin(); if (!first_user->hasTrait<OpTrait::TF::CwiseUnary>()) return failure(); // All unpack users must be defined by the op of same kind. bool users_same_op = llvm::all_of(op->getUsers(), [&](Operation *user) { return user->getName() == first_user->getName(); });
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu May 09 22:07:10 UTC 2024 - 170.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/transforms/optimize.cc
values.getUses().begin().getUser()); values_slice_op.getResult().replaceAllUsesWith(top_k_op.getValues()); values_slice_op.erase(); } if (!indices.use_empty()) { auto indices_slice_op = llvm::dyn_cast_or_null<TFL::SliceOp>( indices.getUses().begin().getUser()); indices_slice_op.getResult().replaceAllUsesWith(top_k_op.getIndices());
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/transforms/shape_inference.cc
} // Create symbol table for module. symbol_table_.getSymbolTable(module); } ArrayRef<Operation*> ShapeInference::GetCallers(func::FuncOp fn) { return symbol_users_.getUsers(fn); } void ShapeInference::EnqueueCallers(func::FuncOp fn) { for (auto user : GetCallers(fn)) { auto func = user->getParentOfType<func::FuncOp>(); if (func) enqueue(func); } }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Sat Jun 08 07:28:49 UTC 2024 - 134.1K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/ir/tfl_ops.cc
// If all the users of this op have valid "minmax" attributes, it is matched // and can be removed. auto fakeQuantOp = cast<FakeQuantOp>(op); for (auto* operand : fakeQuantOp.getResult().getUsers()) if (!HasValidMinMaxAttribute(operand)) return failure(); return success(); } void rewrite(Operation* op, PatternRewriter& rewriter) const override {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu May 02 09:41:17 UTC 2024 - 169.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/stablehlo/transforms/uniform_quantized_stablehlo_to_tfl_pass.cc
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/lite/flatbuffer_export.cc
int buffer_index = buffers_.size(); // If a constant is returned as subgraph's output, this constant cannot be // deduplicated. const bool not_returned_by_subgraph = llvm::none_of( value.getUsers(), [](Operation* user) { return llvm::isa<mlir::func::ReturnOp>(user); }); // TODO(ashwinm): Check if for stateful tensors, if it is also needed to
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Jun 12 21:41:49 UTC 2024 - 164.5K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/main/java/org/gradle/internal/instantiation/generator/AsmBackedClassGenerator.java
} } /** * Generates the init method with deprecation logging disabled. * * This is necessary because the initialization work invokes property getters on the decorated instance. */ private void generateInitMethod() { // private void $gradleInit() { DeprecationLogger.whileDisabled(this::$gradleInitWork) }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri May 24 15:40:00 UTC 2024 - 100.6K bytes - Viewed (0) -
cmd/site-replication.go
return nil, errSRPeerNotFound } return getAdminClient(endpoint, creds.AccessKey, creds.SecretKey) } func (c *SiteReplicationSys) getPeerCreds() (*auth.Credentials, error) { u, ok := globalIAMSys.store.GetUser(c.state.ServiceAccountAccessKey) if !ok { return nil, errors.New("site replication service account not found") } return &u.Credentials, nil }
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 184.3K bytes - Viewed (0) -
src/reflect/value.go
return Value{typ.Common(), unsafe.Pointer(&x), fl} } // String returns the string v's underlying value, as a string. // String is a special case because of Go's String method convention. // Unlike the other getters, it does not panic if v's Kind is not [String]. // Instead, it returns a string of the form "<T value>" where T is v's type. // The fmt package treats Values specially. It does not call their String
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 21:17:41 UTC 2024 - 119.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/translate/import_model.cc
arg_nodes_to_values.try_emplace({arg_node.node, arg_node.index}, arg_def); island->getResult(0).replaceAllUsesWith(arg_def); // Erase control outputs from feed. auto control_uses = island->getResult(1).getUses(); for (auto& control_use : llvm::make_early_inc_range(control_uses)) control_use.getOwner()->eraseOperand(control_use.getOperandNumber()); if (!arg_node.node->requested_device().empty())
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed May 01 11:17:36 UTC 2024 - 183.2K bytes - Viewed (0)