Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 25 for define (0.23 sec)

  1. ci/official/containers/linux_arm64/builder.devtoolset/stringop_trunc.patch

     
     #ifndef _UTMP_H
     # error "Never include <bits/utmp.h> directly; use <utmp.h> instead."
    @@ -24,11 +24,13 @@
     #include <time.h>
     
     
    -#define	UT_NAMESIZE	8
    -#define	UT_LINESIZE	8
    -#define	UT_HOSTSIZE	16
    +#define UT_LINESIZE	32
    +#define UT_NAMESIZE	32
    +#define UT_HOSTSIZE	256
     
     
    +/* The structure describing an entry in the database of
    +   previous logins.  */
     struct lastlog
       {
         time_t ll_time;
    Others
    - Registered: Tue May 07 12:40:20 GMT 2024
    - Last Modified: Mon Sep 18 14:52:45 GMT 2023
    - 42.9K bytes
    - Viewed (1)
  2. ci/official/containers/linux_arm64/devel.usertools/code_check_full.bats

    }
    
    @test "Pip package doesn't depend on CUDA for static builds (i.e. Windows)" {
      bazel cquery \
        --experimental_cc_shared_library \
        --@local_config_cuda//:enable_cuda \
        --define framework_shared_object=false \
        "somepath(//tensorflow/tools/pip_package:build_pip_package, " \
        "@local_config_cuda//cuda:cudart + "\
        "@local_config_cuda//cuda:cudart + "\
    Plain Text
    - Registered: Tue May 07 12:40:20 GMT 2024
    - Last Modified: Mon Sep 18 14:52:45 GMT 2023
    - 12.7K bytes
    - Viewed (0)
  3. tensorflow/c/eager/c_api_experimental.h

    // tf.device("CUSTOM"):` from Python if `device_name` for this call is
    // "/job:localhost/replica:0/task:0/device:CUSTOM:0".
    //
    // The custom device defines copy operations for moving TensorHandles on and
    // off, and an execution operation for named operations. Often execution will
    // simply wrap op execution on one or more physical devices.
    //
    // device_info is an opaque caller-defined type stored with the custom device
    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)
  4. tensorflow/c/eager/immediate_execution_context.h

      // Experimental Custom Device.
      //===--------------------------------------------------------------------===//
      virtual CustomDeviceOpHandler& GetCustomDeviceOpHandler() = 0;
    
      // Returns whether `device_name` is registered as a custom device.
      virtual bool IsCustomDevice(const string& device_name) = 0;
    
      // Register a custom device. It will return error is the device name is
      // already registered.
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Jul 06 08:34:00 GMT 2023
    - 12.3K bytes
    - Viewed (0)
  5. tensorflow/c/experimental/filesystem/plugins/gcs/ram_file_block_cache.h

    limitations under the License.
    ==============================================================================*/
    
    #ifndef TENSORFLOW_C_EXPERIMENTAL_FILESYSTEM_PLUGINS_GCS_RAM_FILE_BLOCK_CACHE_H_
    #define TENSORFLOW_C_EXPERIMENTAL_FILESYSTEM_PLUGINS_GCS_RAM_FILE_BLOCK_CACHE_H_
    
    #include <functional>
    #include <iostream>
    #include <list>
    #include <map>
    #include <memory>
    #include <string>
    #include <vector>
    
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Mon Aug 31 04:46:34 GMT 2020
    - 10.6K bytes
    - Viewed (0)
  6. ci/official/utilities/code_check_full.bats

    }
    
    @test "Pip package doesn't depend on CUDA for static builds (i.e. Windows)" {
      bazel cquery \
        --experimental_cc_shared_library \
        --@local_config_cuda//:enable_cuda \
        --define framework_shared_object=false \
        "somepath(//tensorflow/tools/pip_package:wheel, " \
        "@local_config_cuda//cuda:cudart + "\
        "@local_config_cuda//cuda:cudart + "\
        "@local_config_cuda//cuda:cuda_driver + "\
    Plain Text
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Mar 06 21:54:13 GMT 2024
    - 13.2K bytes
    - Viewed (0)
  7. tensorflow/c/eager/c_api_experimental_test.cc

      // Remote device on `worker2`.
      const char remote_device[] = "/job:localhost/replica:0/task:2/device:CPU:0";
      // `ctx_0`, `ctx_1` contains `remote_device`.
      {
        const std::vector<std::string>& device_names = ListDeviceNames(ctx_0);
        ASSERT_TRUE(std::find(device_names.begin(), device_names.end(),
                              remote_device) != device_names.end());
      }
    
      {
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Aug 03 03:14:26 GMT 2023
    - 31.5K bytes
    - Viewed (1)
  8. tensorflow/c/eager/c_api.h

    // Controls how to act when we try to run an operation on a given device but
    // some input tensors are not on that device.
    // LINT.IfChange
    // Note: Keep in sync with internal copy of enum in eager/context.h.
    typedef enum TFE_ContextDevicePlacementPolicy {
      // Running operations with input tensors on the wrong device will fail.
      TFE_DEVICE_PLACEMENT_EXPLICIT = 0,
      // Copy the tensor to the right device but log a warning.
      TFE_DEVICE_PLACEMENT_WARN = 1,
    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)
  9. tensorflow/c/eager/parallel_device/parallel_device_lib_test.cc

      std::vector<std::string> devices{
          "/job:localhost/replica:0/task:0/device:CPU:0",
          "/job:localhost/replica:0/task:0/device:CPU:1"};
      ParallelDevice parallel_device(devices);
      const FunctionDef assert_and_collective = FunctionDefHelper::Define(
          // Name
          "AssertAndCollective",
          // Args
          {"x: float", "condition: bool"},
          // Return values
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Jul 08 23:47:35 GMT 2021
    - 15.3K bytes
    - Viewed (0)
  10. tensorflow/c/eager/parallel_device/parallel_device_lib.h

      for (int device_index = 0; device_index < num_underlying_devices();
           ++device_index) {
        auto device_value = absl::make_unique<DataType>();
        *device_value = values[device_index];
        std::unique_ptr<TF_Tensor, decltype(&TF_DeleteTensor)> tensor(
            TF_NewTensor(
                datatype_enum, /*dims=*/nullptr, /*num_dims=*/0,
                device_value.release(), sizeof(DataType),
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Tue Apr 25 15:21:13 GMT 2023
    - 12.9K bytes
    - Viewed (0)
Back to top