Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,039 for session_ (0.14 sec)

  1. tensorflow/cc/client/client_session.cc

    #include "tensorflow/core/protobuf/config.pb.h"
    #include "tensorflow/core/public/session.h"
    #include "tensorflow/core/public/session_options.h"
    
    namespace tensorflow {
    
    class ClientSession::Impl {
     private:
      friend class ClientSession;
    
      Impl(Session* session, std::shared_ptr<Graph> graph)
          : session_(session), graph_(std::move(graph)) {}
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Feb 28 09:04:10 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/transforms/lift_variables_test_pass.cc

      void runOnOperation() override {
        ModuleOp module = getOperation();
        if (failed(tf_saved_model::LiftVariables(module, session_)))
          signalPassFailure();
      }
    
     private:
      Session* session_;
    };
    
    #define GEN_PASS_DEF_LIFTVARIABLESINVALIDSESSIONTESTPASS
    #include "tensorflow/compiler/mlir/tensorflow/transforms/test_passes.h.inc"
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Oct 04 09:19:38 UTC 2022
    - 2.7K bytes
    - Viewed (0)
  3. tensorflow/cc/saved_model/loader.h

      SavedModelBundleLite(std::unique_ptr<Session> session,
                           protobuf::Map<string, SignatureDef> signatures)
          : session_(std::move(session)), signatures_(std::move(signatures)) {}
    
      /// A TensorFlow Session does not Close itself on destruction. To avoid
      /// resource leaks, we explicitly call Close on Sessions that we create.
      ~SavedModelBundleLite() override {
        if (session_) {
          session_->Close().IgnoreError();
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Dec 05 18:28:37 UTC 2023
    - 6K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/transforms/lift_variables_test_pass.h

     public:
      LiftVariablesTestPass() { session_ = new FakeSession(); }
    
      ~LiftVariablesTestPass() override { delete session_; }
    
      void runOnOperation() override {
        ModuleOp module = getOperation();
        if (failed(LiftVariables(module, session_))) signalPassFailure();
      }
    
     private:
      Session* session_;
    };
    
    // This pass is only available in the tf-opt binary for testing.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Sep 21 15:49:06 UTC 2022
    - 5.6K bytes
    - Viewed (0)
  5. tensorflow/c/c_test_util.cc

      return names;
    }
    
    CSession::CSession(TF_Graph* graph, TF_Status* s, bool use_XLA) {
      TF_SessionOptions* opts = TF_NewSessionOptions();
      TF_EnableXLACompilation(opts, use_XLA);
      session_ = TF_NewSession(graph, opts, s);
      TF_DeleteSessionOptions(opts);
    }
    
    CSession::CSession(TF_Session* session) : session_(session) {}
    
    CSession::~CSession() {
      TF_Status* s = TF_NewStatus();
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Oct 15 03:16:52 UTC 2021
    - 17.8K bytes
    - Viewed (0)
  6. api/maven-api-core/src/main/java/org/apache/maven/api/Session.java

        /**
         * Creates a derived session using the given local repository.
         *
         * @param localRepository the new local repository
         * @return the derived session
         * @throws NullPointerException if {@code localRepository} is null
         */
        @Nonnull
        Session withLocalRepository(@Nonnull LocalRepository localRepository);
    
        /**
         * Creates a derived session using the given remote repositories.
         *
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue Jun 11 07:23:04 UTC 2024
    - 30.2K bytes
    - Viewed (0)
  7. maven-core/src/test/java/org/apache/maven/model/ModelBuilderTest.java

            RepositorySystemSession.CloseableSession rsession = repositorySessionFactory
                    .newRepositorySessionBuilder(mavenRequest)
                    .build();
            request.setRepositorySession(rsession);
            MavenSession msession = new MavenSession(rsession, mavenRequest, new DefaultMavenExecutionResult());
            InternalSession session = new DefaultSession(
                    msession,
                    repositorySystem,
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Thu May 02 15:10:38 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  8. maven-compat/src/test/java/org/apache/maven/project/AbstractMavenProjectTestCase.java

            DefaultRepositorySystemSession session = MavenRepositorySystemUtils.newSession();
            session.setLocalRepositoryManager(new LegacyLocalRepositoryManager(localRepo));
            request.setRepositorySession(session);
    
            DefaultMavenExecutionRequest mavenExecutionRequest = new DefaultMavenExecutionRequest();
            MavenSession msession =
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Thu Apr 25 05:46:50 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  9. fess-crawler-es/src/main/java/org/codelibs/fess/crawler/service/impl/EsUrlQueueService.java

            }
        }
    
        @Override
        public void delete(final String sessionId) {
            deleteBySessionId(sessionId);
        }
    
        @Override
        public void offerAll(final String sessionId, final List<EsUrlQueue> urlQueueList) {
            if (logger.isDebugEnabled()) {
                logger.debug("Offering URL: Session ID: {}, UrlQueue: {}", sessionId, urlQueueList);
            }
    Registered: Wed Jun 12 15:17:51 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 12.9K bytes
    - Viewed (0)
  10. analysis/analysis-api-impl-base/tests/org/jetbrains/kotlin/analysis/api/impl/base/test/cases/session/AbstractSessionInvalidationTest.kt

                }
            }
        }
    
        private fun checkUntouchedSessionValidity(
            sessions: Set<SESSION>,
            testServices: TestServices,
        ) {
            sessions.forEach { session ->
                testServices.assertions.assertTrue(isSessionValid(session)) {
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Thu Jun 06 17:44:50 UTC 2024
    - 5.7K bytes
    - Viewed (0)
Back to top