Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for TF_Session (0.09 sec)

  1. tensorflow/c/c_api.cc

    #endif  // defined(IS_MOBILE_PLATFORM) || defined(IS_SLIM_BUILD)
    }
    
    // TF_Session functions ----------------------------------------------
    
    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) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Apr 15 03:35:10 UTC 2024
    - 102.3K bytes
    - Viewed (0)
  2. tensorflow/c/c_api_experimental.cc

        if (!status->status.ok()) return {};
        ret.push_back(UniqueFuncPtr(func, TF_DeleteFunction));
      }
      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
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Apr 15 03:35:10 UTC 2024
    - 29.4K bytes
    - Viewed (0)
  3. tensorflow/c/c_api_test.cc

          << "'" << s << "' does not contain '" << expected << "'";
    }
    
    // Returns the GPU device name if there is one (with arbitrary tie breaking if
    // there are more than one), or "" otherwise.
    string GPUDeviceName(TF_Session* session) {
      std::unique_ptr<TF_Status, decltype(&TF_DeleteStatus)> status(
          TF_NewStatus(), TF_DeleteStatus);
      TF_Status* s = status.get();
      std::unique_ptr<TF_DeviceList, decltype(&TF_DeleteDeviceList)> list(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Apr 15 03:35:10 UTC 2024
    - 96.9K bytes
    - Viewed (0)
  4. RELEASE.md

        converted to a bool by adding .ok() to the call.
    *   The C API type `TF_SessionWithGraph` has been renamed to `TF_Session`,
        indicating its preferred use in language bindings for TensorFlow. What was
        previously `TF_Session` has been renamed to `TF_DeprecatedSession`.
    *   Renamed `TF_Port` to `TF_Output` in the C API.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 11 23:24:08 UTC 2024
    - 730.3K bytes
    - Viewed (0)
Back to top