Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,158 for session_ (0.39 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. tensorflow/c/c_test_util.h

    // Returns a sorted vector of names contained in `grad_def`
    std::vector<string> GetFuncNames(const tensorflow::GraphDef& graph_def);
    
    class CSession {
     public:
      CSession(TF_Graph* graph, TF_Status* s, bool use_XLA = false);
      explicit CSession(TF_Session* session);
    
      ~CSession();
    
      void SetInputs(std::vector<std::pair<TF_Operation*, TF_Tensor*>> inputs);
      void SetOutputs(std::initializer_list<TF_Operation*> outputs);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Aug 09 01:06:53 UTC 2018
    - 6K bytes
    - Viewed (0)
  7. 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)
  8. pkg/volume/util/device_util_linux_test.go

    		"/dev/sda":                   "sda",
    		"/sys/class/iscsi_host/host2/device/session1/target2:0:0/2:0:0:1": "2:0:0:1",
    		"/sys/class/iscsi_host/host2/device/session1/target2:0:0/2:0:0:2": "2:0:0:2",
    		"/sys/class/iscsi_host/host3/device/session2/target3:0:0/3:0:0:1": "3:0:0:1",
    		"/sys/class/iscsi_host/host3/device/session2/target3:0:0/3:0:0:2": "3:0:0:2",
    	}
    	if dev, ok := links[name]; ok {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Aug 24 19:47:49 UTC 2021
    - 8K bytes
    - Viewed (0)
  9. 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)
  10. 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)
Back to top