Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for linting (0.36 sec)

  1. tensorflow/c/c_api_test.cc

      ASSERT_TRUE(o == nullptr);  // It is unsafe to move memory TF might not own.
      TF_DeleteTensor(t);
      EXPECT_TRUE(deallocator_called);
    }
    
    TEST(CAPI, LibraryLoadFunctions) {
      // TODO(b/73318067): Fix linking for the GPU test generated by the
      // tf_cuda_cc_test() bazel rule and remove the next line.
      if (!GPUDeviceName().empty()) return;
    
    #if !defined(TENSORFLOW_NO_SHARED_OBJECTS)
      {
        // Load the library.
    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)
  2. ci/official/containers/linux_arm64/builder.devtoolset/gcc9-fixups.patch

    +    __attribute_copy__ (name);
     
     /* Declare SYMBOL as weak undefined symbol (resolved to 0 if not defined).  */
     # define weak_extern(symbol) _weak_extern (weak symbol)
    @@ -528,7 +536,8 @@ for linking")
     #  define __hidden_ver1(local, internal, name) \
       extern __typeof (name) __EI_##name __asm__(__hidden_asmname (#internal)); \
       extern __typeof (name) __EI_##name \
    -	__attribute__((alias (__hidden_asmname (#local))))
    Others
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Sep 18 14:52:45 GMT 2023
    - 8.9K bytes
    - Viewed (0)
  3. tensorflow/c/eager/parallel_device/parallel_device_lib.cc

      for (int component_index = 0; component_index < tensors_.size();
           ++component_index) {
        // TODO(allenl): Add a C API for summarizing tensors. Currently custom
        // devices limiting themselves to a C API (for ABI compatibility) would need
        // to implement summarization for component tensors themselves.
        ImmediateExecutionTensorHandle* component =
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Fri Feb 09 07:47:20 GMT 2024
    - 25.4K bytes
    - Viewed (1)
  4. tensorflow/c/eager/c_api_distributed_test.cc

                             std::vector<std::string>* control_ret_node_names,
                             bool* control_rets_updated) override {
        // Inject failure to function instantiation if finding a node that contains
        // the given node name (error_node_) and requested device (error_device_).
        for (const auto node : graph->get()->nodes()) {
          if (node->name().find(error_node_) != string::npos &&
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Feb 15 09:49:45 GMT 2024
    - 23.5K bytes
    - Viewed (0)
  5. tensorflow/c/experimental/next_pluggable_device/BUILD

            "@local_xla//xla/pjrt:pjrt_client",
            "@local_xla//xla/pjrt/c:pjrt_c_api_hdrs",
            "@local_xla//xla/pjrt/c:pjrt_c_api_helpers",
        ],
    )
    
    # Plugin should include this target to avoid linking the C API implementation.
    cc_library(
        name = "c_api_hdrs",
        hdrs = ["c_api.h"],
        visibility = ["//visibility:public"],
        deps = [
            "//tensorflow/c:c_api_macros_hdrs",
    Plain Text
    - Registered: Tue Feb 27 12:39:08 GMT 2024
    - Last Modified: Tue Jan 09 00:52:04 GMT 2024
    - 3.8K bytes
    - Viewed (0)
  6. tensorflow/c/c_api_experimental.h

    // `len`. The format is subject to change in the future.
    // The returned string is heap-allocated, and caller should call free() on it.
    //
    // Do not return const char*, because some foreign language binding
    // (e.g. swift) cannot then call free() on the returned pointer.
    TF_CAPI_EXPORT extern char* TF_FunctionDebugString(TF_Function* func,
                                                       size_t* len);
    
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Apr 27 21:07:00 GMT 2023
    - 15.1K bytes
    - Viewed (0)
  7. .bazelrc

    build:android --dynamic_mode=off
    
    # Sets the default Apple platform to macOS.
    build:macos --apple_platform_type=macos
    
    # gRPC on MacOS requires this #define
    build:macos --copt=-DGRPC_BAZEL_BUILD
    
    # Avoid hitting command line argument limit
    build:macos --features=archive_param_file
    
    # Settings for MacOS on ARM CPUs.
    build:macos_arm64 --cpu=darwin_arm64
    build:macos_arm64 --macos_minimum_os=11.0
    
    Plain Text
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Apr 24 20:50:35 GMT 2024
    - 52.6K bytes
    - Viewed (2)
  8. tensorflow/c/eager/tape.h

        // instead allow ForwardAccumulator some control over the current tape set
        // (so it can deactivate itself and activate its GradientTape). Currently
        // that is managed by the language binding and would require relatively
        // messy callbacks.
        call_state_.top().backward_tape->RecordOperation(
            op_type, output_tensors, input_tensor_id, input_dtypes,
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Tue Apr 02 12:40:29 GMT 2024
    - 47.2K bytes
    - Viewed (1)
  9. .github/bot_config.yml

          * Try to build TF from sources by changing CPU optimization flags.
       
       *Please let us know if this helps.*
       
    windows_comment: >
       From the stack trace it looks like you are hitting windows path length limit.
          * Try to disable path length limit on Windows 10.
            * Refer [disable path length limit instructions guide.](https://mspoweruser.com/ntfs-260-character-windows-10/)
       
    Others
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Tue Oct 17 11:48:07 GMT 2023
    - 4K bytes
    - Viewed (0)
  10. ci/official/containers/linux_arm64/builder.devtoolset/build_devtoolset.sh

    # Link in architecture specific includes from the system; note that we cannot
    # link in the whole aarch64-linux-gnu folder, as otherwise we're overlaying
    # system gcc paths that we do not want to find.
    # TODO(klimek): Automate linking in all non-gcc / non-kernel include
    # directories.
    mkdir -p "${TARGET}/usr/include/aarch64-linux-gnu"
    PYTHON_VERSIONS=("python3.8" "python3.9" "python3.10" "python3.11")
    for v in "${PYTHON_VERSIONS[@]}"; do
    Shell Script
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Fri Sep 29 00:26:34 GMT 2023
    - 6.1K bytes
    - Viewed (1)
Back to top