Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for first_use (0.12 sec)

  1. tensorflow/compiler/mlir/lite/experimental/remat/rematerializer.cc

          (!tensor.operations.empty() && ioperation == tensor.first_use());
      const bool was_last_use =
          (!tensor.operations.empty() && ioperation == tensor.last_use());
      Erase(ioperation, tensor.operations);
      Erase(itensor, operation.tensors);
      if (was_first_use) {
        operation.alloc -= size;
        if (!was_last_use) {
          operations_[tensor.first_use()].alloc += size;
        }
      }
      if (was_last_use) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 14 20:57:44 UTC 2023
    - 13.7K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/experimental/remat/rematerializer.h

        std::vector<int> operations;  // The operations it is used in. This vector
                                      // is kept sorted + unique.
    
        // The operation that makes the first use of this tensor.
        int first_use() const { return *operations.begin(); }
    
        // The operation that makes the last use of this tensor.
        int last_use() const { return *operations.rbegin(); }
      };
    
      // The operators.
      struct Operation {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 14 20:57:44 UTC 2023
    - 12K bytes
    - Viewed (0)
  3. platforms/software/resources-sftp/src/integTest/groovy/org/gradle/integtests/resolve/resource/sftp/SftpClientReuseIntegrationTest.groovy

            buildFile << """
                ${sftpTask}
    
                task firstUse(type: SftpTask) {
                    credentials = creds
                }
    
                task block {
                    doLast {
                        ${coordinator.callFromBuild('sync')}
                    }
                    dependsOn firstUse
                }
    
                task reuseClient(type: SftpTask) {
                    credentials = creds
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 19:38:08 UTC 2023
    - 3K bytes
    - Viewed (0)
  4. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/executer/AbstractFailure.java

                throw new AssertionFailedError(String.format("Expected first cause '%s', got none", message));
            }
            String firstCause = causes.get(0);
            if (!firstCause.equals(message)) {
                throw new AssertionFailedError(String.format("Expected first cause '%s', got '%s'", message, firstCause));
            }
        }
    
        @Override
        public void assertHasCauses(int count) {
            if (causes.size() != count) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  5. src/cmd/link/internal/ppc64/asm.go

    	addendStr := ""
    	if r.Add() != 0 {
    		addendStr = fmt.Sprintf("%+d", r.Add())
    	}
    
    	stubName := fmt.Sprintf("%s%s.%s", stubStrs[stubType], addendStr, ldr.SymName(r.Sym()))
    	stub := ldr.CreateSymForUpdate(stubName, 0)
    	firstUse = stub.Size() == 0
    	if firstUse {
    		switch stubType {
    		// A call from a function using a TOC pointer.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 19 20:54:08 UTC 2024
    - 63.7K bytes
    - Viewed (0)
  6. platforms/core-configuration/model-core/src/test/groovy/org/gradle/model/internal/registry/UnboundRulesProcessorTest.groovy

            binder {
                descriptor("firstRule")
                subjectReference("path.subject.first", String)
            }
            binder {
                descriptor("secondRule")
                subjectReference("path.subject.second", Number)
            }
    
            expect:
            reportForProcessedBinders == reportFor(
                    UnboundRule.descriptor("firstRule")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 7.1K bytes
    - Viewed (0)
  7. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/configurations/DefaultConfigurationSpec.groovy

            seenCopied == [copied.dependencies] as Set
        }
    
        def "collects exclude rules from hierarchy"() {
            given:
            def firstRule = new DefaultExcludeRule("foo", "bar")
            def secondRule = new DefaultExcludeRule("bar", "baz")
            def thirdRule = new DefaultExcludeRule("baz", "qux")
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 23 17:30:13 UTC 2024
    - 64.8K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tensorflow/ir/tf_ops_n_z.cc

      // 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();
      });
      if (!users_same_op) return failure();
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 09 22:07:10 UTC 2024
    - 170.8K bytes
    - Viewed (0)
Back to top