Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for empty (0.13 sec)

  1. tensorflow/c/experimental/filesystem/modular_filesystem_test.cc

        GTEST_SKIP() << "No filesystem registered: " << s;
    
      // First, test some interesting corner cases concerning empty URIs
      if (GetParam().empty()) {
        EXPECT_EQ(fs->TranslateName(""), "");
        EXPECT_EQ(fs->TranslateName("/"), "/");
        EXPECT_EQ(fs->TranslateName("//"), "/");
        // Empty scheme also allows relative paths
        EXPECT_EQ(fs->TranslateName("a_file"), "a_file");
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Fri May 27 20:25:58 GMT 2022
    - 71K bytes
    - Viewed (0)
  2. tensorflow/c/c_api_test.cc

      const string gpu_device = GPUDeviceName();
      // Skip this test if no GPU is available.
      if (gpu_device.empty()) return;
    
      RunMinTest(gpu_device, /*use_XLA=*/false);
    }
    
    TEST(CAPI, Session_Min_XLA_GPU) {
      const string gpu_device = GPUDeviceName();
      // Skip this test if no GPU is available.
      if (gpu_device.empty()) return;
    
      RunMinTest(gpu_device, /*use_XLA=*/true);
    }
    
    TEST(CAPI, SessionPRun) {
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 03:35:10 GMT 2024
    - 96.9K bytes
    - Viewed (3)
  3. tensorflow/c/c_api_function_test.cc

        const char** ptr = nullptr;
        if (!strs.empty()) {
          ptr = new const char*[strs.size()];
          for (size_t i = 0; i < strs.size(); ++i) {
            ptr[i] = strs[i].c_str();
          }
        }
        return ptr;
      }
    
      // An explicit `num_opers` is needed so that we can distinguish between the
      // case of no operations specified (-1) and the case of an empty set of
      // operations specified (0).
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Jul 20 22:08:54 GMT 2023
    - 63.6K bytes
    - Viewed (6)
  4. tensorflow/c/experimental/filesystem/filesystem_interface.h

      /// Deletes the empty directory specified by `path`.
      ///
      /// Plugins:
      ///   * Must set `status` to `TF_OK` if directory was deleted.
      ///   * Must set `status` to `TF_NOT_FOUND` if `path` doesn't exist.
      ///   * Must set `status` to `TF_FAILED_PRECONDITION` if `path` does not point
      ///     to a directory, if `path` is invalid, or if directory is not empty.
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Fri May 27 17:36:54 GMT 2022
    - 53.1K bytes
    - Viewed (0)
  5. configure.py

                question=None,
                yes_reply=None,
                no_reply=None):
      """Get boolean input from user.
    
      If var_name is not set in env, ask user to enable query_item or not. If the
      response is empty, use the default.
    
      Args:
        environ_cp: copy of the os.environ.
        var_name: string for name of environment variable, e.g. "TF_NEED_CUDA".
        query_item: string for feature related to the variable, e.g. "CUDA for
    Python
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 18:25:36 GMT 2024
    - 53.8K bytes
    - Viewed (1)
  6. tensorflow/c/c_api.h

    typedef struct TF_SessionOptions TF_SessionOptions;
    
    // Return a new options object.
    TF_CAPI_EXPORT extern TF_SessionOptions* TF_NewSessionOptions(void);
    
    // Set the target in TF_SessionOptions.options.
    // target can be empty, a single entry, or a comma separated list of entries.
    // Each entry is in one of the following formats :
    // "local"
    // ip:port
    // host:port
    TF_CAPI_EXPORT extern void TF_SetTarget(TF_SessionOptions* options,
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Oct 26 21:08:15 GMT 2023
    - 82.3K bytes
    - Viewed (3)
Back to top