Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for filename (0.2 sec)

  1. tensorflow/c/checkpoint_reader.cc

    CheckpointReader::CheckpointReader(const string& filename, TF_Status* status)
        : reader_(nullptr),
          v2_reader_(nullptr),
          var_to_shape_map_(nullptr),
          var_to_data_type_map_(nullptr) {
      // 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()) {
    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/checkpoint_reader.h

    // other languages.
    //
    // The class currently only interacts with single-slice (i.e., non-partitioned)
    // variables.
    class CheckpointReader {
     public:
      CheckpointReader(const string& filename, TF_Status* status);
    
      bool HasTensor(const string& name) const;
      const string DebugString() const;
    
      // Returns a map from variable names to their shapes.  Slices of a partitioned
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Oct 12 08:49:52 GMT 2023
    - 3.1K bytes
    - Viewed (0)
  3. tensorflow/c/env.cc

      *undeleted_file_count = f;
      *undeleted_dir_count = d;
    }
    
    void TF_FileStat(const char* filename, TF_FileStatistics* stats,
                     TF_Status* status) {
      ::tensorflow::FileStatistics cc_stats;
      TF_SetStatus(status, TF_OK, "");
      ::tensorflow::Status s =
          ::tensorflow::Env::Default()->Stat(filename, &cc_stats);
      ::tensorflow::Set_TF_Status_from_Status(status, s);
      if (s.ok()) {
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Aug 11 01:20:50 GMT 2021
    - 7K bytes
    - Viewed (0)
  4. tensorflow/c/experimental/filesystem/modular_filesystem.h

    };
    
    class ModularRandomAccessFile final : public RandomAccessFile {
     public:
      ModularRandomAccessFile(const std::string& filename,
                              std::unique_ptr<TF_RandomAccessFile> file,
                              const TF_RandomAccessFileOps* ops)
          : filename_(filename), file_(std::move(file)), ops_(ops) {}
    
      ~ModularRandomAccessFile() override { ops_->cleanup(file_.get()); }
    
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Oct 12 08:49:52 GMT 2023
    - 8.9K bytes
    - Viewed (0)
  5. ci/official/containers/linux_arm64/devel.usertools/rename_and_verify_wheels.sh

    # limitations under the License.
    # ==============================================================================
    
    # Check and rename wheels with auditwheel. Inserts the platform tags like
    # "manylinux_xyz" into the wheel filename.
    set -euxo pipefail
    
    for wheel in /tf/pkg/*.whl; do
      echo "Checking and renaming $wheel..."
      time python3 -m auditwheel repair --plat manylinux2014_aarch64 "$wheel" --wheel-dir /tf/pkg 2>&1 | tee check.txt
    
    Shell Script
    - Registered: Tue May 07 12:40:20 GMT 2024
    - Last Modified: Mon Sep 18 19:00:37 GMT 2023
    - 1.3K bytes
    - Viewed (0)
  6. tensorflow/c/env.h

    // updated, otherwise it is not touched.
    TF_CAPI_EXPORT extern void TF_FileStat(const char* filename,
                                           TF_FileStatistics* stats,
                                           TF_Status* status);
    
    // Creates or truncates the given filename and returns a handle to be used for
    // appending data to the file. If status is TF_OK, *handle is updated and the
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Sat Jan 09 02:53:27 GMT 2021
    - 9.6K bytes
    - Viewed (0)
  7. ci/official/wheel_test/test_import_api_packages.py

    class ImportApiPackagesTest(unittest.TestCase):
      """ImportApiPackagesTest class. See description at the top of the file."""
    
      def setUp(self):
        def _get_api_packages_v2():
          api_packages_path = pkg_resources.resource_filename(
              "tensorflow", "_api/v2/api_packages.txt"
          )
    
          logging.info("Load api packages file: %s", api_packages_path)
          with open(api_packages_path) as file:
            return set(file.read().splitlines())
    Python
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Sep 13 15:52:07 GMT 2023
    - 3.3K bytes
    - Viewed (0)
  8. ci/official/README.md

    # a local build cache:
    TFCI=py312,linux_x86_cuda,public_cache,disk_cache ci/official/wheel.sh
    
    # First, set your TFCI variable to choose the environment settings.
    #   TFCI is a comma-separated list of filenames from the envs directory, which
    #   are all settings for the scripts. TF's CI jobs are all made of a combination
    #   of these env files.
    #
    #   If you've clicked on a test result from our CI (via a dashboard or GitHub link),
    Plain Text
    - Registered: Tue May 07 12:40:20 GMT 2024
    - Last Modified: Thu Feb 01 03:21:19 GMT 2024
    - 8K bytes
    - Viewed (0)
Back to top