- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 280 for fill (0.14 sec)
-
tensorflow/c/c_test.c
return 1; } char file_name[100]; time_t t = time(NULL); snprintf(file_name, sizeof(file_name), "test-%d-%ld.txt", getpid(), t); size_t length = 2 + strlen(path) + strlen(file_name); char* full_path = malloc(length); snprintf(full_path, length, "%s/%s", path, file_name); TF_WritableFileHandle* h; TF_Status* status = TF_NewStatus(); TF_NewWritableFile(full_path, &h, status);
C - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Wed Apr 24 20:50:35 GMT 2024 - 2.8K bytes - Viewed (0) -
tensorflow/c/eager/abstract_operation.h
// executor. After that, the value returned by DeviceName will be a full // device name such as "/job:localhost/replica:0/task:0/device:GPU:1". virtual const string& DeviceName() const = 0; // Sets the operation device name. // // The given `name` must be parseable by DeviceNameUtils::ParseFullName, and // the result will be used as a constraint for device placement. See the
C - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Wed Jul 14 16:20:41 GMT 2021 - 6.8K bytes - Viewed (0) -
ci/official/requirements_updater/updater_config_repository.bzl
e.g "--repo_env=REQUIREMENTS_FILE_NAME=requirements.in" List of variables: REQUIREMENTS_FILE_NAME ''' def _updater_config_repository_impl(repository_ctx): repository_ctx.file("BUILD", "") requirements_file_name = repository_ctx.os.environ.get("REQUIREMENTS_FILE_NAME", "requirements.in") repository_ctx.file( "updater_config_repository.bzl",
Others - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Thu Aug 31 18:17:57 GMT 2023 - 718 bytes - Viewed (0) -
.github/workflows/pylint-presubmit.yml
uses: actions/checkout@755da8c3cf115ac066823e79a1e1788f8940201b # v3.2.0 - name: Get file changes id: get_file_changes uses: trilom/file-changes-action@a6ca26c14274c33b15e6499323aac178af06ad4b # v1.2.4 with: output: ' ' - name: Report list of changed files run: | echo Changed files: ${{ steps.get_file_changes.outputs.files }} - name: Set up Python 3.9
Others - Registered: Tue May 07 12:40:20 GMT 2024 - Last Modified: Tue Sep 12 16:40:29 GMT 2023 - 1.7K bytes - Viewed (0) -
tensorflow/c/experimental/filesystem/plugins/windows/windows_filesystem.cc
// 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` // ---------------------------------------------------------------------------- namespace tf_random_access_file { // TODO(b/139060984): Implement later
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) -
tensorflow/c/experimental/filesystem/plugins/posix/posix_filesystem_helper.cc
// O_WRONLY | O_CREAT | O_TRUNC: // Open file for write and if file does not exist, create the file. // If file exists, truncate its size to 0. int dst_fd = open(dst, O_WRONLY | O_CREAT | O_TRUNC, open_mode); if (dst_fd < 0) { close(src_fd); return -1; } // Both files have been opened, do the transfer. // Since errno would be overridden by `close` below, save it here. int error_code = 0;
C++ - Registered: Tue Apr 23 12:39:09 GMT 2024 - Last Modified: Thu Jan 16 05:36:52 GMT 2020 - 2.1K bytes - Viewed (1) -
tensorflow/api_template.__init__.py
interfaces into a single place. The interfaces themselves are located in sub-modules, as described below. Note that the file `__init__.py` in the TensorFlow source code tree is actually only a placeholder to enable test cases to run. The TensorFlow build replaces this file with a file generated from [`api_template.__init__.py`](https://www.github.com/tensorflow/tensorflow/blob/master/tensorflow/api_template.__init__.py) """
Python - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Tue Mar 05 06:27:59 GMT 2024 - 6.7K bytes - Viewed (3) -
tensorflow/c/experimental/filesystem/plugins/gcs/gcs_helper.cc
#include <stdio.h> #include <fstream> #include <string> #include <utility> TempFile::TempFile(const std::string& temp_file_name, std::ios::openmode mode) : std::fstream(temp_file_name, mode), name_(temp_file_name) {} TempFile::TempFile(TempFile&& rhs) : std::fstream(std::move(rhs)), name_(std::move(rhs.name_)) {} TempFile::~TempFile() { std::fstream::close();
C++ - Registered: Tue Apr 23 12:39:09 GMT 2024 - Last Modified: Fri Jun 26 14:56:58 GMT 2020 - 1.3K bytes - Viewed (0) -
.github/workflows/scorecards-analysis.yml
with: results_file: results.sarif results_format: sarif # Publish the results to enable scorecard badges. For more details, see # https://github.com/ossf/scorecard-action#publishing-results. # For private repositories, `publish_results` will automatically be set to `false`, # regardless of the value entered here.
Others - Registered: Tue May 07 12:40:20 GMT 2024 - Last Modified: Wed Dec 21 23:56:23 GMT 2022 - 2.4K bytes - Viewed (0) -
ci/official/containers/linux_arm64/devel.usertools/setup_venv_test.sh
set -euxo pipefail # Run this from inside the tensorflow github directory. # Usage: setup_venv_test.sh venv_and_symlink_name "glob pattern for one wheel file" # Example: setup_venv_test.sh bazel_pip "/tf/pkg/*.whl" # # This will create a venv with that wheel file installed in it, and a symlink # in ./venv_and_symlink_name/tensorflow to ./tensorflow. We use this for the # "pip" tests. python -m venv /$1 mkdir -p $1
Shell Script - Registered: Tue May 07 12:40:20 GMT 2024 - Last Modified: Mon Sep 18 14:52:45 GMT 2023 - 1.4K bytes - Viewed (0)