- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 93 for getUses (0.16 sec)
-
tensorflow/compiler/mlir/tensorflow/transforms/group_by_dialect.cc
} // All results in our set that have a user outside our set. llvm::DenseSet<Value> outputs_seen; for (Operation* op : ops) { for (Value result : op->getResults()) { for (auto& use : result.getUses()) { if (!all_operations.contains(use.getOwner())) { if (!outputs_seen.contains(result)) { outputs->push_back(result); outputs_seen.insert(result); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Mar 17 07:31:01 UTC 2023 - 8K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/remove_unused_arguments.cc
// determine whether we have taken care of all uses and can remove // the arg. for (BlockArgument arg : func.getArguments()) { auto uses = arg.getUses(); use_count[arg.getArgNumber()] = std::distance(uses.begin(), uses.end()); argument_to_index.insert({arg, arg.getArgNumber()}); } // We're only considering return values that are the same (at this
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 8.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/transforms/default_quant_params.cc
// bias is used immediately by the user. This assumption is always correct // after constant folding. bool UsedAsBias(Value value) { for (auto &use : value.getUses()) { auto biases = TFL::GetOpQuantSpec(use.getOwner())->biases_params; if (biases.find(use.getOperandNumber()) != biases.end()) return true; } return false; }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 9.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/stablehlo/odml_converter/transforms/outline_composites.cc
// if there is only one. Operation* GetUserIfOnlyOne(Operation* op) { if (op->getNumResults() != 1) return nullptr; auto result = op->getResult(0); if (!result.hasOneUse()) return nullptr; return (*result.getUses().begin()).getOwner(); } // Gets operation providing value for the given operand of given operation // if the given operation is the only user. Operation* GetInputOpWithOneUse(Operation* op, int opr_num) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 17 17:58:54 UTC 2024 - 9.6K bytes - Viewed (0) -
tests/associations_belongs_to_test.go
DB.Model(&users).Association("Manager").Append( GetUser("manager-slice-belongs-to-1", Config{}), GetUser("manager-slice-belongs-to-2", Config{}), GetUser("manager-slice-belongs-to-3", Config{}), ) AssertAssociationCount(t, users, "Manager", 3, "After Append") if err := DB.Model(&users).Association("Manager").Append( GetUser("manager-slice-belongs-to-test-1", Config{}), ).Error; err == nil {
Registered: Wed Jun 12 16:27:09 UTC 2024 - Last Modified: Mon Oct 30 09:15:49 UTC 2023 - 9.3K bytes - Viewed (0) -
tests/delete_test.go
package tests_test import ( "errors" "testing" "gorm.io/gorm" "gorm.io/gorm/clause" . "gorm.io/gorm/utils/tests" ) func TestDelete(t *testing.T) { users := []User{*GetUser("delete", Config{}), *GetUser("delete", Config{}), *GetUser("delete", Config{})} if err := DB.Create(&users).Error; err != nil { t.Errorf("errors happened when create: %v", err) } for _, user := range users { if user.ID == 0 {
Registered: Wed Jun 12 16:27:09 UTC 2024 - Last Modified: Tue Oct 10 07:03:34 UTC 2023 - 9.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/transforms/quantize_variables.cc
Type ref_qtype = nullptr; for (auto *var_handle_user : var_handle_op.getResult().getUsers()) { auto read_variable_op = dyn_cast_or_null<ReadVariableOp>(var_handle_user); if (!read_variable_op) continue; for (auto *read_variable_user : read_variable_op.getResult().getUsers()) { auto q_op = dyn_cast_or_null<QuantizeOp>(read_variable_user); if (!q_op || ref_qtype) continue;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 8.5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/api/admin/user/ApiAdminUserAction.java
* governing permissions and limitations under the License. */ package org.codelibs.fess.app.web.api.admin.user; import static org.codelibs.fess.app.web.admin.user.AdminUserAction.getUser; import static org.codelibs.fess.app.web.admin.user.AdminUserAction.validateAttributes; import java.util.List; import java.util.stream.Collectors; import javax.annotation.Resource;
Registered: Wed Jun 12 13:08:18 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 5.8K bytes - Viewed (0) -
platforms/core-execution/workers/src/integTest/groovy/org/gradle/workers/internal/AbstractWorkerExecutorSampleIntegrationTest.groovy
import org.gradle.test.fixtures.file.TestFile import org.junit.Rule abstract class AbstractWorkerExecutorSampleIntegrationTest extends AbstractIntegrationSpec { abstract String getSampleName() List<String> getDsls() { ['groovy', 'kotlin'] } @Rule Sample sampleProvider = new Sample(testDirectoryProvider, sampleName) TestFile workerExecutorSample(String dsl) { sampleProvider.dir.file(dsl)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:36:27 UTC 2023 - 2.1K bytes - Viewed (0) -
pkg/controller/job/tracking_utils.go
// the uidStoreLock. func (u *uidTrackingExpectations) getSet(controllerKey string) *uidSet { if obj, exists, err := u.store.GetByKey(controllerKey); err == nil && exists { return obj.(*uidSet) } return nil } func (u *uidTrackingExpectations) getExpectedUIDs(controllerKey string) sets.Set[string] { uids := u.getSet(controllerKey) if uids == nil { return nil } uids.RLock()
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jun 14 05:40:02 UTC 2023 - 4.3K bytes - Viewed (0)