Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for tstring (0.15 sec)

  1. tensorflow/c/c_api_test.cc

      EXPECT_EQ(absl::string_view(TF_TString_GetDataPointer(t_in_tstr),
                                  TF_TString_GetSize(t_in_tstr)),
                absl::string_view(TF_TString_GetDataPointer(t_out_tstr),
                                  TF_TString_GetSize(t_out_tstr)));
      TF_DeleteTensor(t_out);
      TF_TString_Dealloc(&tstr[0]);
    }
    
    TEST_F(CApiAttributesTest, TensorList) {
    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. tensorflow/c/experimental/filesystem/modular_filesystem_test.cc

    // don't want to have a `std::vector<std::string>` at global level, we use a
    // static pointer to such a vector: we construct it via `SchemeVector()` below
    // and when tests are instantiated we process it using `GetSchemes()`.
    static std::vector<std::string>* SchemeVector() {
      static std::vector<std::string>* schemes = new std::vector<std::string>;
      return schemes;
    }
    
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Fri May 27 20:25:58 GMT 2022
    - 71K bytes
    - Viewed (0)
  3. tensorflow/c/eager/c_api_test.cc

        const char* dev = TF_DeviceListName(devices, i, status.get());
        ASSERT_EQ(TF_OK, TF_GetCode(status.get())) << TF_Message(status.get());
        string device_name(dev);
        if (device_name.find("GPU:0") != string::npos) {
          has_gpu0 = true;
        }
        if (device_name.find("GPU:1") != string::npos) {
          has_gpu1 = true;
        }
      }
    
      const char* kCPUDevice = "CPU:0";
      if (!has_gpu0 || !has_gpu1) {
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Aug 03 20:50:20 GMT 2023
    - 94.6K bytes
    - Viewed (1)
  4. tensorflow/c/c_api_function_test.cc

    //      output tensor naming, but it the index is actually an input index)
    struct EdgeSpec : public std::pair<string, string> {
      typedef std::pair<string, string> Base;
    
      // Inherit the set of constructors
      using Base::pair;
    
      string ToString() const { return strings::StrCat(first, "->", second); }
    };
    
    class CApiFunctionTest : public ::testing::Test {
     protected:
      CApiFunctionTest()
          : s_(TF_NewStatus()),
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Jul 20 22:08:54 GMT 2023
    - 63.6K bytes
    - Viewed (6)
  5. tensorflow/c/experimental/filesystem/filesystem_interface.h

      /// constraint and the fact that `ssize_t` is not defined in `stdint.h`/C++
      /// standard, the return type is `int64_t`.
      ///
      /// This is thread safe.
      ///
      /// Note: the `buffer` argument is NOT a null terminated string!
      ///
      /// Plugins:
      ///   * Must set `status` to `TF_OK` if exactly `n` bytes have been read.
      ///   * Must set `status` to `TF_OUT_OF_RANGE` if fewer than `n` bytes have
      ///     been read due to EOF.
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Fri May 27 17:36:54 GMT 2022
    - 53.1K bytes
    - Viewed (0)
  6. tensorflow/BUILD

    )
    
    config_setting(
        name = "using_rocm_hipcc",
        define_values = {"using_rocm_hipcc": "true"},
    )
    
    config_setting(
        name = "override_eigen_strong_inline",
        define_values = {"override_eigen_strong_inline": "true"},
        visibility = ["//visibility:public"],
    )
    
    # This flag specifies whether TensorFlow 2.0 API should be built instead
    Plain Text
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Tue Apr 09 18:15:11 GMT 2024
    - 53.4K bytes
    - Viewed (8)
  7. tensorflow/c/c_api.h

      // The units of total_size depend on is_list and type.
      // (1) If type == TF_ATTR_STRING and is_list == 0
      //     then total_size is the byte size of the string
      //     valued attribute.
      // (2) If type == TF_ATTR_STRING and is_list == 1
      //     then total_size is the cumulative byte size
      //     of all the strings in the list.
      // (3) If type == TF_ATTR_SHAPE and is_list == 0
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Oct 26 21:08:15 GMT 2023
    - 82.3K bytes
    - Viewed (3)
  8. configure.py

      new value.
    
      Args:
        environ_cp: (Dict) copy of the os.environ.
        var_name: (String) string for name of environment variable, e.g. "TF_MYVAR".
        var_default: (String) default value string.
        ask_for_var: (String) string for how to ask for user input.
        check_success: (Function) function that takes one argument and returns a
    Python
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 18:25:36 GMT 2024
    - 53.8K bytes
    - Viewed (1)
Back to top