Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 34 for mime (0.3 sec)

  1. tensorflow/c/env.cc

      ::tensorflow::Status s =
          ::tensorflow::Env::Default()->Stat(filename, &cc_stats);
      ::tensorflow::Set_TF_Status_from_Status(status, s);
      if (s.ok()) {
        stats->length = cc_stats.length;
        stats->mtime_nsec = cc_stats.mtime_nsec;
        stats->is_directory = cc_stats.is_directory;
      }
    }
    
    void TF_NewWritableFile(const char* filename, TF_WritableFileHandle** handle,
                            TF_Status* status) {
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Wed Aug 11 01:20:50 GMT 2021
    - 7K bytes
    - Viewed (0)
  2. tensorflow/c/env_test.cc

        TF_StringStreamDone(children);
    
        TF_FileStatistics stats;
        TF_FileStat(filepath.c_str(), &stats, s);
        ASSERT_EQ(stats.length, strlen(data));
        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 "
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Mon Dec 10 20:52:48 GMT 2018
    - 4.2K bytes
    - Viewed (0)
  3. tensorflow/c/experimental/filesystem/plugins/gcs/gcs_filesystem.cc

      stat->base.length = metadata->size();
      stat->base.mtime_nsec =
          metadata->time_storage_class_updated().time_since_epoch().count();
      stat->base.is_directory = object.back() == '/';
      TF_VLog(1,
              "Stat of: gs://%s/%s --  length: %u generation: %u; mtime_nsec: %u;",
              bucket.c_str(), object.c_str(), stat->base.length,
              stat->generation_number, stat->base.mtime_nsec);
      return TF_SetStatus(status, TF_OK, "");
    }
    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)
  4. ci/official/utilities/rename_and_verify_wheels.sh

    if [[ "$(ls *.whl | wc -l | tr -d ' ')" != "1" ]]; then
      echo "More than one wheel file is present: moving the oldest to"
      echo "$TFCI_OUTPUT_DIR/extra_wheels."
      # List all .whl files by their modification time (ls -t) and move anything
      # other than the most recently-modified one (the newest one).
      mkdir -p $TFCI_OUTPUT_DIR/extra_wheels
      ls -t *.whl | tail -n +2 | xargs mv -t $TFCI_OUTPUT_DIR/extra_wheels
    fi
    
    Shell Script
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Wed Mar 27 21:16:27 GMT 2024
    - 3.4K bytes
    - Viewed (0)
  5. tensorflow/c/experimental/filesystem/modular_filesystem.h

    namespace tensorflow {
    
    // TODO(b/143949615): After all filesystems are converted, this file will be
    // moved to core/platform, and this class can become a singleton and replace the
    // need for `Env::Default()`. At that time, we might decide to remove the need
    // for `Env::Default()` altogether, but that's a different project, not in
    // scope for now. I'm just mentioning this here as that transition will mean
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Thu Oct 12 08:49:52 GMT 2023
    - 8.9K bytes
    - Viewed (0)
  6. SECURITY.md

        please provide details.
    
    We will try to fix the problems as soon as possible. Vulnerabilities will, in
    general, be batched to be fixed at the same time as a quarterly release. We
    credit reporters for identifying security issues, although we keep your name
    confidential if you request it. Please see Google Bug Hunters program website
    Plain Text
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Sun Oct 01 06:06:35 GMT 2023
    - 9.6K bytes
    - Viewed (0)
  7. tensorflow/c/experimental/filesystem/filesystem_interface.h

    /// pointed to by the `void*` members is always owned by the plugin. The plugin
    /// will provide functions to call to allocate and deallocate this data (see
    /// next sections) and core TensorFlow ensures to call these at the proper time.
    ///
    /// Plugins will never receive a `TF_*` pointer that is `nullptr`. Core
    /// TensorFlow will never touch the `void*` wrapped by these structures, except
    /// to initialize it as `nullptr`.
    
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Fri May 27 17:36:54 GMT 2022
    - 53.1K bytes
    - Viewed (0)
  8. tensorflow/c/eager/c_api_experimental.cc

    #include "tensorflow/c/eager/c_api_experimental.h"
    
    #include <cstdint>
    #include <memory>
    #include <utility>
    #include <vector>
    
    #include "absl/container/flat_hash_map.h"
    #include "absl/strings/match.h"
    #include "absl/time/time.h"
    #include "tensorflow/c/c_api.h"
    #include "tensorflow/c/eager/c_api_internal.h"
    #include "tensorflow/c/eager/tfe_context_internal.h"
    #include "tensorflow/c/eager/tfe_op_internal.h"
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Thu Apr 11 23:52:39 GMT 2024
    - 35.9K bytes
    - Viewed (3)
  9. RELEASE.md

          the inputs received by the layer and the eviction policy. When this layer
          is used with an `UpdateEmbeddingCallback`, which is a time-based callback,
          the vocabulary lookup tensor is updated at the time interval set in the
          `UpdateEmbeddingCallback` based on the most up-to-date vocabulary hash
          table maintained by the layer. If this layer is not used in conjunction
    Plain Text
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Wed Apr 03 20:27:38 GMT 2024
    - 727.4K bytes
    - Viewed (8)
  10. tensorflow/c/eager/BUILD

            "@com_google_absl//absl/container:flat_hash_map",
            "@com_google_absl//absl/memory",
            "@com_google_absl//absl/strings",
            "@com_google_absl//absl/time",
            "@local_xla//xla/tsl/c:tsl_status_internal",
            "@local_xla//xla/tsl/distributed_runtime/coordination:coordination_service_agent",
        ],
        alwayslink = 1,
    )
    
    cc_library(
    Plain Text
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Thu Apr 11 23:52:39 GMT 2024
    - 33.3K bytes
    - Viewed (0)
Back to top