Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for KSession (0.22 sec)

  1. tensorflow/c/eager/c_api_experimental_test.cc

      TFE_DeleteExecutor(executor);
      TFE_DeleteContext(ctx);
    }
    
    TEST(CAPI, CreateLocalContextAsReset) {
      tensorflow::ServerDef server_def = GetServerDef("worker", 2);
      server_def.mutable_default_session_config()->set_isolate_session_state(false);
    
      ServerFactory* factory;
      ASSERT_TRUE(ServerFactory::GetFactory(server_def, &factory).ok());
      server_def.set_job_name("worker");
      server_def.set_task_index(0);
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Aug 03 03:14:26 GMT 2023
    - 31.5K bytes
    - Viewed (1)
  2. 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();
    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)
  3. tensorflow/c/BUILD

            ":tf_status_internal",
            ":tf_tensor_internal",
            "//tensorflow/core:protos_all_cc",
            "@com_google_absl//absl/status",
        ],
    )
    
    filegroup(
        name = "pywrap_tf_session_hdrs",
        srcs = [
            "python_api.h",
        ],
        visibility = [
            "//tensorflow/core:__pkg__",
            "//tensorflow/python:__pkg__",
        ],
    )
    
    cc_library(
    Plain Text
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Mar 27 18:00:18 GMT 2024
    - 30.3K bytes
    - Viewed (0)
  4. tensorflow/c/eager/c_api.h

    // TFE_Context must outlive all tensor handles created using it. In other
    // words, TFE_DeleteContext() must be called after all tensor handles have
    // been deleted (with TFE_DeleteTensorHandle).
    //
    // TODO(ashankar): Merge with TF_Session?
    typedef struct TFE_Context TFE_Context;
    
    TF_CAPI_EXPORT extern TFE_Context* TFE_NewContext(
        const TFE_ContextOptions* opts, TF_Status* status);
    TF_CAPI_EXPORT extern void TFE_DeleteContext(TFE_Context* ctx);
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Apr 27 21:07:00 GMT 2023
    - 22.8K bytes
    - Viewed (1)
  5. tensorflow/c/eager/c_api_test_util.cc

    TFE_Context* CreateContext(const std::string& serialized_server_def,
                               bool isolate_session_state,
                               int64_t init_timeout_in_ms) {
      TF_Status* status = TF_NewStatus();
      TFE_ContextOptions* opts = TFE_NewContextOptions();
      opts->session_options.options.config.set_isolate_session_state(
          isolate_session_state);
      TFE_ContextOptionsSetAsync(opts, static_cast<unsigned char>(false));
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Feb 21 22:37:46 GMT 2024
    - 23.5K bytes
    - Viewed (2)
  6. tensorflow/c/eager/c_api.cc

    void TFE_ContextOptionsSetConfig(TFE_ContextOptions* options, const void* proto,
                                     size_t proto_len, TF_Status* status) {
      TF_SetConfig(&options->session_options, proto, proto_len, status);
    }
    
    void TFE_ContextOptionsSetAsync(TFE_ContextOptions* options,
                                    unsigned char enable) {
      options->async = enable;
    }
    
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Tue Mar 12 20:00:09 GMT 2024
    - 43.9K bytes
    - Viewed (2)
  7. tensorflow/c/c_api_experimental.cc

      }
      return ret;
    }
    
    TF_Tensor* TF_DequeueNamedTensor(TF_Session* session, int tensor_id,
                                     TF_Status* status) {
      assert(session);
      {
        tensorflow::mutex_lock c(session->graph->mu);
        VLOG(1) << "Dequeuing named tensor with id " << tensor_id
                << ", with input graph: "
                << session->graph->graph.ToGraphDefDebug().DebugString();
      }
    
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 03:35:10 GMT 2024
    - 29.4K bytes
    - Viewed (0)
  8. tensorflow/c/c_api_experimental.h

    TF_CAPI_EXPORT extern TF_Tensor* TF_DequeueNamedTensor(TF_Session* session,
                                                           int tensor_id,
                                                           TF_Status* status);
    
    // On success, enqueues `tensor` into a TF-managed FifoQueue given by
    // `tensor_id`, associated with `session`. There must be a graph node named
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Apr 27 21:07:00 GMT 2023
    - 15.1K bytes
    - Viewed (0)
  9. ci/official/containers/linux_arm64/builder.devtoolset/stringop_trunc.patch

    +  char ut_host[UT_HOSTSIZE]
    +    __attribute_nonstring__;	/* Hostname for remote login.  */
       struct exit_status ut_exit;	/* Exit status of a process marked
     				   as DEAD_PROCESS.  */
     /* The ut_session and ut_tv fields must be the same size when compiled
    diff --git a/sysdeps/gnu/bits/utmpx.h b/sysdeps/gnu/bits/utmpx.h
    index f8716ca..13d84e4 100644
    --- a/sysdeps/gnu/bits/utmpx.h
    +++ b/sysdeps/gnu/bits/utmpx.h
    Others
    - Registered: Tue May 07 12:40:20 GMT 2024
    - Last Modified: Mon Sep 18 14:52:45 GMT 2023
    - 42.9K bytes
    - Viewed (1)
Back to top