Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for TF_EnqueueNamedTensor (0.21 sec)

  1. tensorflow/c/c_api_experimental.h

    // drop below the capacity due to dequeuing.
    //
    // Tensors are dequeued via the corresponding TF dequeue op.
    // TODO(hongm): Add support for `timeout_ms`.
    TF_CAPI_EXPORT extern void TF_EnqueueNamedTensor(TF_Session* session,
                                                     int tensor_id,
                                                     TF_Tensor* tensor,
                                                     TF_Status* status);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 27 21:07:00 UTC 2023
    - 15.1K bytes
    - Viewed (0)
  2. tensorflow/c/c_api_experimental.cc

        tensorflow::Tensor tensor;
        if (tensorflow::TF_TensorToTensor(ret, &tensor).ok()) {
          VLOG(1) << "Dequeued tensor content: " << tensor.DebugString();
        }
      }
      return ret;
    }
    
    void TF_EnqueueNamedTensor(TF_Session* session, int tensor_id,
                               TF_Tensor* tensor, TF_Status* status) {
      assert(session);
      {
        tensorflow::mutex_lock c(session->graph->mu);
        if (VLOG_IS_ON(1)) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Apr 15 03:35:10 UTC 2024
    - 29.4K bytes
    - Viewed (0)
Back to top