Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 18 of 18 for NewSession (0.2 sec)

  1. maven-core/src/test/java/org/apache/maven/AbstractCoreMavenComponentTestCase.java

            session.setProjects(projects);
            session.setAllProjects(session.getProjects());
            session.setSession(defaultSessionFactory.newSession(session));
    
            SessionScope sessionScope = getContainer().lookup(SessionScope.class);
            sessionScope.enter();
            sessionScope.seed(MavenSession.class, session);
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 11.7K bytes
    - Viewed (1)
  2. maven-compat/src/test/java/org/apache/maven/artifact/AbstractArtifactComponentTestCase.java

                            getContainer().lookup(MavenRepositorySystem.class),
                            new DefaultLookup(getContainer()),
                            getContainer().lookup(RuntimeInformation.class))
                    .newSession(session));
    
            legacySupport.setSession(session);
        }
    
        protected abstract String component();
    
        /**
         * Return an existing file, not a directory - causes creation to fail.
         *
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Thu Apr 25 05:46:50 GMT 2024
    - 13.8K bytes
    - Viewed (0)
  3. maven-core/src/main/java/org/apache/maven/DefaultMaven.java

                MavenSession session = new MavenSession(closeableSession, request, result);
                session.setSession(defaultSessionFactory.newSession(session));
    
                sessionScope.seed(MavenSession.class, session);
                sessionScope.seed(Session.class, session.getSession());
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 27.5K bytes
    - Viewed (0)
  4. tensorflow/c/c_api.cc

    TF_Session::TF_Session(tensorflow::Session* s, TF_Graph* g)
        : session(s), graph(g), last_num_graph_nodes(0), extend_before_run(true) {}
    
    TF_Session* TF_NewSession(TF_Graph* graph, const TF_SessionOptions* opt,
                              TF_Status* status) {
      Session* session;
      status->status = NewSession(opt->options, &session);
      if (status->status.ok()) {
        TF_Session* new_session = new TF_Session(session, graph);
        if (graph != nullptr) {
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 03:35:10 GMT 2024
    - 102.3K 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();
      CloseAndDelete(s);
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Fri Oct 15 03:16:52 GMT 2021
    - 17.8K bytes
    - Viewed (2)
  6. tensorflow/c/c_api_test.cc

                                                                 TF_DeleteGraph);
    
      TF_SessionOptions* opts = TF_NewSessionOptions();
      TF_Session* sess = TF_NewSession(graph.get(), opts, s);
      TF_DeleteSessionOptions(opts);
    
      const string gpu_device_name = GPUDeviceName(sess);
      TF_DeleteSession(sess, s);
      CHECK_EQ(TF_OK, TF_GetCode(s)) << TF_Message(s);
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 03:35:10 GMT 2024
    - 96.9K bytes
    - Viewed (3)
  7. tensorflow/c/c_api.h

    // kept alive for the lifetime of the returned TF_Session. New nodes can still
    // be added to `graph` after this call.
    TF_CAPI_EXPORT extern TF_Session* TF_NewSession(TF_Graph* graph,
                                                    const TF_SessionOptions* opts,
                                                    TF_Status* status);
    
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Oct 26 21:08:15 GMT 2023
    - 82.3K bytes
    - Viewed (3)
  8. RELEASE.md

            list of configs for the underlying layers.
    
    ## Bug Fixes and Other Changes
    
    *   C++:
        *   Changed the signature of SessionFactory::NewSession so that it can
            return a meaningful error message on failure.
    *   tf.data:
        *   Remove `num_parallel_parser_calls` argument from
            `tf.contrib.data.make_csv_dataset()`. [tf.data] Remove
    Plain Text
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Apr 29 19:17:57 GMT 2024
    - 727.7K bytes
    - Viewed (8)
Back to top