Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 15 for empty (0.22 sec)

  1. tensorflow/c/checkpoint_reader.cc

      // Depending on whether this is a V2 ckpt, initializes "reader_" or
      // "v2_reader_".
      std::vector<string> v2_path;
      if (Env::Default()->GetMatchingPaths(MetaFilename(filename), &v2_path).ok() &&
          !v2_path.empty()) {
        v2_reader_.reset(
            new BundleReader(Env::Default(), filename /* prefix to a V2 ckpt */));
        if (!v2_reader_->status().ok()) {
          tsl::Set_TF_Status_from_Status(status, v2_reader_->status());
          return;
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Fri Aug 25 21:29:12 GMT 2023
    - 5.5K bytes
    - Viewed (0)
  2. tensorflow/c/c_api_internal.h

      // value records whether the graph has been mutated since the corresponding
      // session has been run (this is detected in RecordMutation function). If the
      // string is empty, no mutation has occurred. Otherwise the string is a
      // description of the mutation suitable for returning to the user.
      //
      // Sessions are added to this map in TF_NewSession, and removed in
      // TF_DeleteSession.
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Sat May 13 00:49:12 GMT 2023
    - 7.6K bytes
    - Viewed (0)
  3. tensorflow/c/env_test.cc

        ASSERT_FALSE(stats.is_directory);
        ASSERT_GT(stats.mtime_nsec, 0);
    
        // Trying to delete a non-empty directory should fail.
        TF_DeleteDir(dirpath.c_str(), s);
        ASSERT_NE(TF_OK, TF_GetCode(s))
            << "TF_DeleteDir unexpectedly succeeded with a non-empty directory "
            << dirpath;
    
        TF_DeleteFile(filepath.c_str(), s);
        ASSERT_TF_OK(s) << "TF_DeleteFile failed for " << filepath << ": "
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Dec 10 20:52:48 GMT 2018
    - 4.2K bytes
    - Viewed (0)
  4. tensorflow/c/experimental/filesystem/plugins/windows/windows_filesystem.cc

    #include "tensorflow/c/experimental/filesystem/filesystem_interface.h"
    #include "tensorflow/c/tf_status.h"
    
    // Implementation of a filesystem for POSIX environments.
    // This filesystem will support `file://` and empty (local) URI schemes.
    
    static void* plugin_memory_allocate(size_t size) { return calloc(1, size); }
    static void plugin_memory_free(void* ptr) { free(ptr); }
    
    // SECTION 1. Implementation for `TF_RandomAccessFile`
    C++
    - Registered: Tue Apr 09 12:39:09 GMT 2024
    - Last Modified: Fri May 27 20:21:15 GMT 2022
    - 2.6K bytes
    - Viewed (0)
  5. tensorflow/c/eager/dlpack_test.cc

      TestHandleFromDLPack(status, ctx, {4, 1, 2}, {2, 0, 1});
      TestHandleFromDLPack(status, ctx, {4, 3, 1}, {3, 1, 1});
      TestHandleFromDLPack(status, ctx, {4, 3, 1}, {3, 1, 0});
      // Test that empty tensors can have any strides.
      TestHandleFromDLPack(status, ctx, {4, 0, 2}, {0, 2, 1});
      TestHandleFromDLPack(status, ctx, {4, 0, 2}, {0, 1, 1});
      TestHandleFromDLPack(status, ctx, {4, 0, 2}, {0, 0, 1});
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Fri Jun 30 03:04:46 GMT 2023
    - 4.4K bytes
    - Viewed (0)
  6. ci/official/containers/linux_arm64/builder.devtoolset/gcc9-fixups.patch

    index c555bf2..143b26d 100644
    --- a/include/libc-symbols.h
    +++ b/include/libc-symbols.h
    @@ -107,6 +107,11 @@
     # endif
     #endif
     
    +#ifndef __attribute_copy__
    +/* Provide an empty definition when cdefs.h is not included.  */
    +# define __attribute_copy__(arg)
    +#endif
    +
     #ifndef __ASSEMBLER__
     /* GCC understands weak symbols and aliases; use its interface where
    Others
    - Registered: Tue May 07 12:40:20 GMT 2024
    - Last Modified: Mon Sep 18 14:52:45 GMT 2023
    - 8.9K bytes
    - Viewed (0)
  7. tensorflow/c/eager/gradients.h

      // once unless the tape is persistent) and produces the gradient of the target
      // tensors with respect to the source tensors. The output gradients are used
      // if not empty and not null. The result is populated with one tensor per
      // target element.
      Status ComputeGradient(
          AbstractContext* ctx, absl::Span<AbstractTensorHandle* const> targets,
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Sep 26 10:27:05 GMT 2022
    - 6.9K bytes
    - Viewed (0)
  8. ci/official/utilities/setup_macos.sh

    # partition with insufficient storage, we specify the
    # 'TFCI_MACOS_BAZEL_TEST_DIR_PATH' environment variable to point to a partition
    # with ample storage. When this variable is empty (i.e by default), Bazel will
    # use the output base directory to run tests.
    if [[ "${TFCI_MACOS_BAZEL_TEST_DIR_ENABLE}" == 1 ]]; then
      mkdir -p "${TFCI_MACOS_BAZEL_TEST_DIR_PATH}"
    Shell Script
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Feb 15 15:23:28 GMT 2024
    - 6.2K bytes
    - Viewed (0)
  9. tensorflow/c/c_test_util.h

                      TF_Status* s, const char* name = "min");
    
    TF_Operation* Mul(TF_Operation* l, TF_Operation* r, TF_Graph* graph,
                      TF_Status* s, const char* name = "mul");
    
    // If `op_device` is non-empty, set the created op on that device.
    TF_Operation* MinWithDevice(TF_Operation* l, TF_Operation* r, TF_Graph* graph,
                                const string& op_device, TF_Status* s,
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Aug 09 01:06:53 GMT 2018
    - 6K bytes
    - Viewed (0)
  10. .github/workflows/trusted_partners.js

      @param {!object}
        github enables querying for PR and also create issue using rest endpoint
        username has the login username of the Pull Request Event
      @return {string} Return the domain name of the user's email. Empty string if not found
    */
    
    const get_email_domain = async ({github, username}) => {
      const user = await github.rest.users.getByUsername({
        username
      });
      if (user.status >= 400) {
        console.log(user);
    JavaScript
    - Registered: Tue May 07 12:40:20 GMT 2024
    - Last Modified: Tue Feb 07 13:52:04 GMT 2023
    - 4.5K bytes
    - Viewed (0)
Back to top