Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 157 for if (0.11 sec)

  1. tensorflow/c/eager/c_api.h

                                                      TF_Status* status);
    
    // Returns the device of the operation that produced `h`. If `h` was produced by
    // a copy, returns the destination device of the copy. Note that the returned
    // device name is not always the device holding the tensor handle's memory. If
    // you want the latter, use TFE_TensorHandleBackingDeviceName. This function
    // will block till the operation that produces `h` has completed.
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Apr 27 21:07:00 GMT 2023
    - 22.8K bytes
    - Viewed (1)
  2. tensorflow/c/c_test.c

      TF_Status* status = TF_NewStatus();
      TF_NewWritableFile(full_path, &h, status);
      if (TF_GetCode(status) != TF_OK) {
        fprintf(stderr, "TF_NewWritableFile failed: %s\n", TF_Message(status));
        return 1;
      }
      fprintf(stderr, "wrote %s\n", full_path);
      free(full_path);
      TF_CloseWritableFile(h, status);
      if (TF_GetCode(status) != TF_OK) {
        fprintf(stderr, "TF_CloseWritableFile failed: %s\n", TF_Message(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)
  3. .github/workflows/update-nightly.yml

    on:
      workflow_dispatch:  # Allow manual triggers
      schedule:
        - cron: 0 4 * * *  # 4am UTC is 9pm PDT and 8pm PST
    name: Set nightly branch to master HEAD
    
    permissions: {}
    
    jobs:
      master-to-nightly:
        if: github.repository == 'tensorflow/tensorflow' # Don't do this in forks
        runs-on: ubuntu-latest
        permissions:
          contents: write
        steps:
    Others
    - Registered: Tue May 07 12:40:20 GMT 2024
    - Last Modified: Tue Sep 12 16:45:56 GMT 2023
    - 1.2K bytes
    - Viewed (0)
  4. tensorflow/c/BUILD

    load("@bazel_skylib//lib:selects.bzl", "selects")
    load("@local_config_tensorrt//:build_defs.bzl", "if_tensorrt")
    load("@local_tsl//tsl/platform:rules_cc.bzl", "cc_library")
    load(
        "//tensorflow:tensorflow.bzl",
        "check_deps",
        "if_google",
        "if_not_mobile",
        "tf_cc_test",
        "tf_copts",
        "tf_cuda_library",
        "tf_custom_op_library",
        "tf_kernel_library",
    )
    Plain Text
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Mar 27 18:00:18 GMT 2024
    - 30.3K bytes
    - Viewed (0)
  5. tensorflow/c/experimental/filesystem/plugins/posix/posix_filesystem_static.cc

    // Return value will be unused
    bool StaticallyRegisterLocalFilesystems() {
      TF_FilesystemPluginInfo info;
      TF_InitPlugin(&info);
      Status status = filesystem_registration::RegisterFilesystemPluginImpl(&info);
      if (!status.ok()) {
        VLOG(0) << "Static POSIX filesystem could not be registered: " << status;
        return false;
      }
      return true;
    }
    
    // Perform the actual registration
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Sun Mar 24 20:08:23 GMT 2024
    - 1.5K bytes
    - Viewed (0)
  6. tensorflow/c/c_api_macros_internal.h

    #define TF_VALIDATE_STRUCT_SIZE(STRUCT_NAME, STRUCT_OBJ, SIZE_VALUE_NAME) \
      do {                                                                    \
        if (STRUCT_OBJ.struct_size == 0) {                                    \
          return tensorflow::Status(absl::StatusCode::kFailedPrecondition,    \
                                    "Expected initialized `" #STRUCT_NAME     \
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Mar 13 17:40:56 GMT 2023
    - 2.5K bytes
    - Viewed (0)
  7. tensorflow/c/eager/c_api_unified_experimental.h

    // Append a tensor at the end of the output list, growing its size by one.
    void TF_OutputListPushBack(TF_OutputList* o, TF_AbstractTensor* tensor,
                               TF_Status*);
    
    // TF_ExecuteOperation will, if in eager mode, execute, if in graph mode, maybe
    // capture some inputs and then add a node in the graph. The output tensors are
    // returned through the provided TF_OutputList.
    // Any active tape will observe the effects of this execution.
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Sun Oct 24 11:27:00 GMT 2021
    - 7K bytes
    - Viewed (0)
  8. ci/official/utilities/cleanup_summary.sh

      python3 \
        "$TFCI_GIT_DIR/ci/official/utilities/extract_resultstore_links.py" \
        "$TFCI_OUTPUT_DIR/script.log" \
        --print \
        --xml-out-path "$XML_PATH" || resultstore_extract_fallback
    }
    
    if grep -q "Streaming build results to" "$TFCI_OUTPUT_DIR/script.log"; then
      resultstore_extract || resultstore_extract_fallback
    Shell Script
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Nov 08 17:50:27 GMT 2023
    - 1.8K bytes
    - Viewed (0)
  9. ci/official/containers/linux_arm64/setup.python.sh

    done
    popd
    
    # Python 3.10 include headers fix:
    # sysconfig.get_path('include') incorrectly points to /usr/local/include/python
    # map /usr/include/python3.10 to /usr/local/include/python3.10
    if [[ ! -f "/usr/local/include/$VERSION" ]]; then
      ln -sf /usr/include/$VERSION /usr/local/include/$VERSION
    fi
    
    # Install pip
    
    Shell Script
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Fri Sep 29 00:26:34 GMT 2023
    - 2.1K bytes
    - Viewed (0)
  10. ci/official/containers/linux_arm64/devel.usertools/aarch64_clang.bazelrc

    build --linkopt="-Wl,--undefined-version"
    
    # Prevent double-compilation of some TF code, ref. b/183279666 (internal)
    # > TF's gen_api_init_files has a genrule to run the core TensorFlow code
    # > on the host machine. If we don't have --distinct_host_configuration=false,
    # > the core TensorFlow code will be built once for the host and once for the
    # > target platform.
    Plain Text
    - Registered: Tue May 07 12:40:20 GMT 2024
    - Last Modified: Tue Nov 21 12:25:39 GMT 2023
    - 6.3K bytes
    - Viewed (0)
Back to top