Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for calling (0.19 sec)

  1. tensorflow/c/c_api_experimental.cc

      memcpy(ret, debug_str.c_str(), *len + 1);
      return ret;
    }
    
    // On success, returns a set of TF_Function instances from `text_proto` of
    // GraphDef type. These functions must be deleted by calling TF_DeleteFunction.
    //
    // If `mutate_proto_func` is non-NULL, run it over each FunctionDef proto,
    // before creating a TF_Function out of the possibly mutated proto.
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 03:35:10 GMT 2024
    - 29.4K bytes
    - Viewed (0)
  2. tensorflow/c/experimental/filesystem/plugins/gcs/ram_file_block_cache_test.cc

      // The cache should now be empty.
      EXPECT_EQ(cache.CacheSize(), 0);
    }
    
    TEST(RamFileBlockCacheTest, ParallelReads) {
      // This fetcher won't respond until either `callers` threads are calling it
      // concurrently (at which point it will respond with success to all callers),
      // or 10 seconds have elapsed (at which point it will respond with an error).
      const int callers = 4;
      BlockingCounter counter(callers);
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Fri Oct 15 03:16:57 GMT 2021
    - 23.2K bytes
    - Viewed (0)
  3. tensorflow/c/eager/dlpack.cc

    #include "tensorflow/core/platform/logging.h"
    
    namespace tensorflow {
    
    namespace {
    
    // Managing context for the DLManagedTensor, will manage the lifetime of
    // DLManagedTensor. When calling DLManagedTensor::deleter, it will notify the
    // original framework of destruction, and this context will be deleted also.
    struct TfDlManagedTensorCtx {
      TensorReference reference;
      std::vector<int64_t> shape;
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Thu Feb 15 09:49:45 GMT 2024
    - 12.8K bytes
    - Viewed (0)
  4. tensorflow/c/eager/c_api_unified_experimental_graph.cc

              "SetOpName called on already built op.");
        }
        if (op_type_.empty()) {
          return errors::FailedPrecondition(
              "GraphOperation::Reset must be called before calling SetOpName.");
        }
        // TODO(b/145674566): We use Graph::NewName to get a unique name here but
        // this may not be consistent with python's naming policy.
        mutex_lock l(g_->mu);
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Tue Mar 12 20:00:09 GMT 2024
    - 15.4K bytes
    - Viewed (1)
  5. tensorflow/c/experimental/filesystem/plugins/gcs/gcs_filesystem.cc

          if (read_fill_buffer >= 0) gcs_file->buffer.resize(read_fill_buffer);
          if (TF_GetCode(status) != TF_OK &&
              TF_GetCode(status) != TF_OUT_OF_RANGE) {
            // Empty the buffer to avoid caching bad reads.
            gcs_file->buffer.resize(0);
            return -1;
          }
          size_t remaining_copy =
              (std::min)(n - copy_size, gcs_file->buffer.size());
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Wed Aug 23 06:55:53 GMT 2023
    - 46.9K bytes
    - Viewed (0)
Back to top