- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 34 for null (0.13 sec)
-
ci/official/code_check_full.sh
# limitations under the License. # ============================================================================== source "${BASH_SOURCE%/*}/utilities/setup.sh"
Shell Script - Registered: Tue May 07 12:40:20 GMT 2024 - Last Modified: Tue Feb 06 17:29:44 GMT 2024 - 840 bytes - Viewed (0) -
tensorflow/c/c_test.c
} 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); if (TF_GetCode(status) != TF_OK) {
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) -
ci/official/utilities/code_check_changed_files.bats
# Only shows Added, Changed, Modified, Renamed, and Type-changed files if [[ "$(git rev-parse --abbrev-ref HEAD)" == "pull_branch" ]]; then # TF's CI runs 'git fetch origin "pull/PR#/merge:pull_branch"' # To get the as-merged branch during the CI tests git diff --diff-filter ACMRT --name-only pull_branch^ pull_branch > $BATS_FILE_TMPDIR/changed_files else # If the branch is not present, then diff against origin/master
Plain Text - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Wed Jan 10 19:39:41 GMT 2024 - 4K bytes - Viewed (0) -
tensorflow/c/c_api_test.cc
TF_SessionOptions* opt = TF_NewSessionOptions(); TF_Status* s = TF_NewStatus(); const char* tags[] = {tensorflow::kSavedModelTagServe}; TF_Graph* graph = TF_NewGraph(); // NULL run_options and meta_graph_def should work. TF_Session* session = TF_LoadSessionFromSavedModel( opt, nullptr, saved_model_dir.c_str(), tags, 1, graph, nullptr, s); EXPECT_EQ(TF_OK, TF_GetCode(s)) << TF_Message(s);
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Mon Apr 15 03:35:10 GMT 2024 - 96.9K bytes - Viewed (3) -
ci/official/utilities/get_versions.sh
# These variables aren't available by default. Scripts must source this file # explicitly, *after* checking if update_version.py needs to be run for a # nightly job. update_version.py affects TF_VER_SUFFIX, TF_VER_PYTHON, and # TF_VER_FULL. # Note: in awk, the command '/search/ {commands}' applies the commands to any line that # matches the /search/ regular expression. "print $N" prints the Nth "field", # where fields are strings separated by whitespace.
Shell Script - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Wed Jan 10 19:39:41 GMT 2024 - 2.3K bytes - Viewed (0) -
.github/workflows/arm-ci.yml
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 - name: Build binary and run python tests shell: bash run: | CI_DOCKER_BUILD_EXTRA_PARAMS="--pull --build-arg py_major_minor_version=${{ matrix.pyver }} --build-arg is_nightly=1 --build-arg tf_project_name=tf_nightly_ci" \
Others - Registered: Tue May 07 12:40:20 GMT 2024 - Last Modified: Wed Feb 07 17:41:21 GMT 2024 - 2.2K bytes - Viewed (0) -
tensorflow/c/eager/unified_api_testutil.cc
core::RefCountPtr<AbstractFunction> scoped_func; // Returning null tensors from a tf.function is not supported, so we keep // track of indices in the model's outputs are nullptr in this set. // The FunctionDef only outputs the non-null tensors. We later pad the // function op outputs to have nullptrs at the `null_indices`. absl::flat_hash_set<int> null_indices; { AbstractContextPtr func_ctx(BuildFunction(fn_name));
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Tue Feb 27 13:57:45 GMT 2024 - 5.7K bytes - Viewed (0) -
ci/official/utilities/setup_docker.sh
if [[ "$TFCI_DOCKER_PULL_ENABLE" == 1 ]]; then # Simple retry logic for docker-pull errors. Sleeps for 15s if a pull fails. # Pulling an already-pulled container image will finish instantly, so # repeating the command costs nothing. docker pull "$TFCI_DOCKER_IMAGE" || sleep 15 docker pull "$TFCI_DOCKER_IMAGE" || sleep 15 docker pull "$TFCI_DOCKER_IMAGE" fi
Shell Script - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Fri Jan 26 15:27:59 GMT 2024 - 1.8K bytes - Viewed (0) -
tensorflow/c/experimental/gradients/nn_grad.cc
// Grad for Softmax Input TF_RETURN_IF_ERROR(BroadcastMul( ctx, grad_outputs[0], forward_outputs_[1], grad_inputs.subspan(0, 1))); // upstream_grad * local softmax grad // Grad for labels is null grad_inputs[1] = nullptr; return absl::OkStatus(); } ~SparseSoftmaxCrossEntropyWithLogitsGradientFunction() override {} private: vector<AbstractTensorHandle*> forward_outputs_; };
C++ - Registered: Tue Mar 26 12:39:09 GMT 2024 - Last Modified: Wed Feb 28 13:53:47 GMT 2024 - 5.7K bytes - Viewed (0) -
tensorflow/c/eager/c_api_experimental.h
// is for performance optimization by reusing an exiting unused op rather than // creating a new op every time. If `raw_device_name` is `NULL` or empty, it // does not set the device name. If it's not `NULL`, then it attempts to parse // and set the device name. It's effectively `TFE_OpSetDevice`, but it is faster // than separately calling it because if the existing op has the same
C - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Wed Feb 21 22:37:46 GMT 2024 - 39.5K bytes - Viewed (0)