Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for file_path (0.23 sec)

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

    TEST_P(ModularFileSystemTest, TestRenameFile) {
      const std::string filepath = GetURIForPath("a_file");
      std::unique_ptr<WritableFile> new_file;
      Status status = env_->NewWritableFile(filepath, &new_file);
      if (!status.ok())
        GTEST_SKIP() << "NewWritableFile() not supported: " << status;
    
      const std::string new_filepath = GetURIForPath("a_new_file");
      status = env_->RenameFile(filepath, new_filepath);
    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. ci/official/utilities/extract_resultstore_links.py

        testsuite.attrib = suite_attrib
        indent_xml(testsuites)
    
      tree = ElemTree.ElementTree(testsuites)
      file_path = os.path.join(output_path)
      with open(file_path, 'wb') as f:
        f.write(b'<?xml version="1.0"?>\n')
        tree.write(f)
        if verbose:
          print(f'\nWrote XML with Bazel invocation results to {file_path}')
    
    
    def print_invocation_results(result_store_dict: ResultDictType):
    Python
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Nov 08 17:50:27 GMT 2023
    - 10.9K bytes
    - Viewed (0)
  3. CONTRIBUTING.md

        can test it by passing that file's path to
        [tf_doctest.py](https://www.tensorflow.org/code/tensorflow/tools/docs/tf_doctest.py).
        For example:
    
        ```bash
        python tf_doctest.py --file=<file_path>
        ```
    
        This will run it using your installed version of TensorFlow. To be sure
        you're running the same code that you're testing:
    
    Plain Text
    - Registered: Tue May 07 12:40:20 GMT 2024
    - Last Modified: Thu Mar 21 11:45:51 GMT 2024
    - 15.6K bytes
    - Viewed (0)
  4. tensorflow/c/env_test.cc

                        << TF_Message(s);
    
        ::tensorflow::string filepath =
            ::tensorflow::io::JoinPath(dirpath, "somefile.txt");
        TF_WritableFileHandle* handle;
        TF_NewWritableFile(filepath.c_str(), &handle, s);
        ASSERT_TF_OK(s) << "NewWritableFile failed for " << filepath << ": "
                        << TF_Message(s);
    
        const char* data = "Hello, world!\n";
    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)
  5. RELEASE.md

    *   Added a `model.export(filepath)` API to create a lightweight SavedModel artifact that can be used for inference (e.g. with TF-Serving).
    Plain Text
    - Registered: Tue May 07 12:40:20 GMT 2024
    - Last Modified: Mon Apr 29 19:17:57 GMT 2024
    - 727.7K bytes
    - Viewed (8)
  6. configure.py

        return
      for filepath in APPLE_BAZEL_FILES:
        existing_filepath = os.path.join(_TF_WORKSPACE_ROOT, filepath + '.apple')
        renamed_filepath = os.path.join(_TF_WORKSPACE_ROOT, filepath)
        symlink_force(existing_filepath, renamed_filepath)
      for filepath in IOS_FILES:
        filename = os.path.basename(filepath)
        new_filepath = os.path.join(_TF_WORKSPACE_ROOT, filename)
    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)
  7. ci/devinfra/docker_windows/Dockerfile

        Start-Process -FilePath C:/TEMP/vs_buildtools.exe -ArgumentList "--installPath", "C:/VS", \
            "--quiet", "--wait", "--nocache", \
            "--add", "Microsoft.VisualStudio.Workload.VCTools", \
            "--add", "Microsoft.VisualStudio.Component.VC.Tools.x86.x64", \
            "--add", "Microsoft.VisualStudio.Component.Windows10SDK.19041" -Wait; \
    Plain Text
    - Registered: Tue May 07 12:40:20 GMT 2024
    - Last Modified: Fri Aug 18 17:24:20 GMT 2023
    - 13.6K bytes
    - Viewed (0)
  8. tensorflow/c/experimental/filesystem/plugins/gcs/gcs_filesystem_test.cc

      ASSERT_TF_OK(status_) << "Could not initialize filesystem. "
                            << TF_Message(status_);
      std::string filepath = GetURIForPath("a_file");
      TF_RandomAccessFile* file = new TF_RandomAccessFile;
      tf_gcs_filesystem::NewRandomAccessFile(filesystem_, filepath.c_str(), file,
                                             status_);
      ASSERT_TF_OK(status_);
      char* result = new char[content_view.length()];
    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)
Back to top