Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for path (0.14 sec)

  1. tensorflow/c/experimental/filesystem/plugins/posix/posix_filesystem.cc

      TF_SetStatus(status, TF_OK, "");
    }
    
    static void NewAppendableFile(const TF_Filesystem* filesystem, const char* path,
                                  TF_WritableFile* file, TF_Status* status) {
      FILE* f = fopen(path, "a");
      if (f == nullptr) {
        TF_SetStatusFromIOError(status, errno, path);
        return;
      }
    
      file->plugin_file = new tf_writable_file::PosixFile({strdup(path), f});
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Sun Mar 24 20:08:23 GMT 2024
    - 15.8K bytes
    - Viewed (0)
  2. tensorflow/c/experimental/gradients/math_grad_test.cc

    #include "tensorflow/c/experimental/gradients/math_grad.h"
    
    #include "tensorflow/c/eager/c_api_test_util.h"
    #include "tensorflow/c/eager/c_api_unified_experimental_internal.h"
    #include "tensorflow/c/eager/unified_api_testutil.h"
    #include "tensorflow/c/experimental/gradients/grad_test_helper.h"
    #include "tensorflow/c/experimental/gradients/tape/tape_context.h"
    #include "tensorflow/c/experimental/ops/math_ops.h"
    #include "tensorflow/c/tf_status_helper.h"
    C++
    - Registered: Tue Mar 26 12:39:09 GMT 2024
    - Last Modified: Thu Apr 13 17:32:14 GMT 2023
    - 16.3K bytes
    - Viewed (0)
  3. tensorflow/c/experimental/filesystem/plugins/gcs/gcs_filesystem_test.cc

      ASSERT_TF_OK(status_);
      const std::string path = GetURIForPath("PathExists");
      tf_gcs_filesystem::PathExists(filesystem_, path.c_str(), status_);
      EXPECT_EQ(TF_NOT_FOUND, TF_GetCode(status_)) << TF_Message(status_);
      TF_SetStatus(status_, TF_OK, "");
      WriteString(path, "test");
      ASSERT_TF_OK(status_);
      tf_gcs_filesystem::PathExists(filesystem_, path.c_str(), status_);
      EXPECT_TF_OK(status_);
    }
    
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Mon Aug 31 12:04:23 GMT 2020
    - 24.9K bytes
    - Viewed (0)
  4. tensorflow/c/experimental/grappler/grappler.cc

      TP_Optimizer optimizer{TP_OPTIMIZER_STRUCT_SIZE};
      TP_OptimizerConfigs optimizer_configs{TP_OPTIMIZER_CONFIGS_STRUCT_SIZE};
      params.major_version = GO_MAJOR;
      params.minor_version = GO_MINOR;
      params.patch_version = GO_PATCH;
      params.optimizer = &optimizer;
      params.optimizer_configs = &optimizer_configs;
    
      OwnedTFStatus c_status(TF_NewStatus());
      init_fn(&params, c_status.get());
    C++
    - Registered: Tue Feb 27 12:39:08 GMT 2024
    - Last Modified: Wed Sep 06 19:12:29 GMT 2023
    - 15K bytes
    - Viewed (1)
  5. tensorflow/c/experimental/filesystem/plugins/gcs/gcs_filesystem.cc

                  path, stat.generation_number)) {
            TF_VLog(
                1,
                "File signature has been changed. Refreshing the cache. Path: %s",
                path.c_str());
          }
          read = gcs_file->file_block_cache->Read(path, offset, n, buffer, status);
        } else {
          read = LoadBufferFromGCS(path, offset, n, buffer, gcs_file, status);
        }
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Aug 23 06:55:53 GMT 2023
    - 46.9K bytes
    - Viewed (0)
  6. tensorflow/c/c_api_experimental_test.cc

      // Load the library.
      TF_Status* status = TF_NewStatus();
      string lib_path =
          tensorflow::GetDataDependencyFilepath(tensorflow::io::JoinPath(
              "tensorflow", "c", "experimental", "stream_executor", "test",
              "test_pluggable_device.so"));
      TF_Library* lib = TF_LoadPluggableDeviceLibrary(lib_path.c_str(), status);
      TF_Code code = TF_GetCode(status);
      string status_msg(TF_Message(status));
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Tue Jan 17 22:27:52 GMT 2023
    - 13.1K bytes
    - Viewed (1)
  7. tensorflow/c/experimental/filesystem/modular_filesystem.cc

                                         TransactionToken* token) {
      if (ops_->path_exists == nullptr)
        return errors::Unimplemented(tensorflow::strings::StrCat(
            "Filesystem for ", fname, " does not support FileExists()"));
    
      UniquePtrTo_TF_Status plugin_status(TF_NewStatus(), TF_DeleteStatus);
      const std::string translated_name = TranslateName(fname);
      ops_->path_exists(filesystem_.get(), translated_name.c_str(),
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Sep 06 19:12:29 GMT 2023
    - 23.1K bytes
    - Viewed (0)
  8. tensorflow/c/experimental/gradients/math_grad.cc

    ==============================================================================*/
    #include "tensorflow/c/experimental/gradients/math_grad.h"
    
    #include "tensorflow/c/eager/abstract_tensor_handle.h"
    #include "tensorflow/c/eager/gradients.h"
    #include "tensorflow/c/experimental/ops/array_ops.h"
    #include "tensorflow/c/experimental/ops/math_ops.h"
    #include "tensorflow/c/experimental/ops/nn_ops.h"
    
    using std::vector;
    using tensorflow::ops::AddV2;
    C++
    - Registered: Tue Mar 26 12:39:09 GMT 2024
    - Last Modified: Wed Feb 28 13:53:47 GMT 2024
    - 15.2K bytes
    - Viewed (0)
Back to top