Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 32 for State (0.24 sec)

  1. tensorflow/c/eager/immediate_execution_distributed_manager.h

      // Set up distributed execution environment on local and remote tasks.
      // When `reset_context` is true, initialize new cluster context state based
      // on cluster configurations provided in `server_def`; otherwise, update
      // existing context state with the provided `server_def`. Contexts created
      // on remote tasks will be considered stale and garbage collected after
      // `keep_alive_secs` of inactivity.
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Feb 21 22:37:46 GMT 2024
    - 2.9K bytes
    - Viewed (0)
  2. tensorflow/c/c_api.cc

        *handle = buf;
      }
    }
    
    void TF_DeletePRunHandle(const char* handle) {
      delete[] handle;
      // TODO(suharshs): Free up any resources held by the partial run state.
    }
    
    void TF_SessionPRun(TF_Session* session, const char* handle,
                        const TF_Output* inputs, TF_Tensor* const* input_values,
                        int ninputs, const TF_Output* outputs,
    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)
  3. tensorflow/c/experimental/filesystem/plugins/gcs/ram_file_block_cache.cc

              downloaded_block = true;
              block->state = FetchState::FINISHED;
            } else {
              block->state = FetchState::ERROR;
            }
            block->cond_var.SignalAll();
            return;
          case FetchState::FETCHING:
            block->cond_var.WaitWithTimeout(&block->mu, absl::Minutes(1));
            if (block->state == FetchState::FINISHED) {
              return TF_SetStatus(status, TF_OK, "");
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Thu Jul 16 01:39:09 GMT 2020
    - 11.1K bytes
    - Viewed (0)
  4. tensorflow/c/eager/c_api_test.cc

      TFE_DeleteContext(ctx);
      CHECK_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status);
      TF_DeleteStatus(status);
    }
    BENCHMARK(BM_InitOp);
    
    void BM_Execute(::testing::benchmark::State& state) {
      const int async = state.range(0);
      state.SetLabel(async ? "ExecuteAsync" : "Execute");
      TF_Status* status = TF_NewStatus();
      TFE_ContextOptions* opts = TFE_NewContextOptions();
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Aug 03 20:50:20 GMT 2023
    - 94.6K bytes
    - Viewed (1)
  5. tensorflow/c/eager/c_api_experimental_test.cc

      int32_t init_timeout_in_ms = 300000;
      TFE_Context* ctx_0 =
          CreateContext(serialized_server_def_0,
                        /*isolate_session_state=*/false, init_timeout_in_ms);
      TFE_Context* ctx_1 =
          CreateContext(serialized_server_def_1,
                        /*isolate_session_state=*/false, init_timeout_in_ms);
    
      // Remote device on `worker2`.
      const char remote_device[] = "/job:localhost/replica:0/task:2/device:CPU: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)
  6. tensorflow/c/eager/parallel_device/parallel_device_lib.cc

        {
          tensorflow::mutex_lock l(execution_mutex_);
          while (execution_state_ == ExecutionState::kIdle ||
                 execution_state_ == ExecutionState::kHasResult) {
            start_execute_.wait(l);
          }
          if (execution_state_ == ExecutionState::kShuttingDown) {
            return;
          } else if (execution_state_ == ExecutionState::kReadyToExecute) {
            // op_outputs_ may have been std::moved
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Fri Feb 09 07:47:20 GMT 2024
    - 25.4K bytes
    - Viewed (1)
  7. .github/workflows/create_issue.js

      // Get the Original PR Details
      const pr_resp = await github.rest.pulls.get({
        owner,
        repo,
        pull_number: pr_number
      });
      if (pr_resp.status != 200 || pr_resp.data.state != 'closed') {
        console.log(`PR:{pr_number} is not found or closed.  Not a valid condition to create an issue.`);
        console.log(pr_resp);
        throw `PR:{pr_number} needs to be valid and closed (merged)`;
      }
    JavaScript
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Oct 18 23:04:59 GMT 2021
    - 2.8K bytes
    - Viewed (0)
  8. tensorflow/c/eager/abstract_context.h

    // registering traced functions.
    // Operations creation within a context can only be executed in that context
    // (for now at least).
    // Implementations of the context may contain some state e.g. an execution
    // environment, a traced representation etc.
    class AbstractContext {
     protected:
      enum AbstractContextKind { kGraph, kMlir, kEager, kTfrt, kTape, kOpHandler };
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Sun Oct 24 11:16:58 GMT 2021
    - 3K bytes
    - Viewed (0)
  9. tensorflow/c/eager/tape.h

          new GradientTape<Gradient, BackwardFunction, TapeTensor>(false));
      AccumulatorCallState& call_state = call_state_.top();
      call_state.backward_tape = tape.get();
      auto pop_backward_tape =
          gtl::MakeCleanup([&call_state] { call_state.backward_tape = nullptr; });
      std::vector<Gradient*> forwardprop_aids;
      std::vector<int64_t> sources;
      std::unordered_set<int64_t> sources_set;
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Tue Apr 02 12:40:29 GMT 2024
    - 47.2K bytes
    - Viewed (1)
  10. CITATION.cff

    abstract: TensorFlow is a machine learning system that operates at large scale and in heterogeneous environments. TensorFlow uses dataflow graphs to represent computation, shared state, and the operations that mutate that state. It maps the nodes of a dataflow graph across many machines in a cluster, and within a machine across multiple computational devices, including multicore CPUs, general purpose GPUs, and custom-designed ASICs known as Tensor Processing...
    Plain Text
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Sep 06 15:26:23 GMT 2021
    - 3.5K bytes
    - Viewed (0)
Back to top