Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for string_view (0.21 sec)

  1. tensorflow/c/eager/abstract_op_attrs.h

      virtual bool GetInt(absl::string_view, int64_t* result) const = 0;
      virtual bool GetFloat(absl::string_view attr_name, float* result) const = 0;
      virtual bool GetBool(absl::string_view attr_name, bool* result) const = 0;
      virtual bool GetType(absl::string_view attr_name, DataType* result) const = 0;
      virtual Status GetTypeList(
          absl::string_view attr_name,
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed May 26 22:20:27 GMT 2021
    - 2K bytes
    - Viewed (0)
  2. tensorflow/c/experimental/next_pluggable_device/c_api.cc

                                              TF_Status* status) {
      auto* cc_agent = reinterpret_cast<tsl::CoordinationServiceAgent*>(agent);
      absl::Status cc_status = cc_agent->InsertKeyValue(
          std::string_view(key, key_size), std::string_view(value, value_size));
      status->status = cc_status;
    }
    
    TF_Buffer* ProcessGetKeyValueResult(absl::StatusOr<std::string> value,
                                        TF_Status* status) {
    C++
    - Registered: Tue Feb 27 12:39:08 GMT 2024
    - Last Modified: Tue Jan 09 00:52:04 GMT 2024
    - 13.9K bytes
    - Viewed (1)
  3. tensorflow/c/experimental/filesystem/plugins/gcs/gcs_filesystem_test.cc

                                                absl::string_view result,
                                                size_t read) {
      // Result isn't a null-terminated string so we have to wrap it inside a
      // `string_view`
      if (length == read && content_view.substr(offset, length) ==
                                absl::string_view(result).substr(0, read))
        return ::testing::AssertionSuccess();
      else
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Mon Aug 31 12:04:23 GMT 2020
    - 24.9K bytes
    - Viewed (0)
  4. tensorflow/c/eager/c_api_experimental_test.cc

    #include "tensorflow/core/protobuf/cluster.pb.h"
    #include "tensorflow/core/protobuf/config.pb.h"
    
    using tensorflow::string;
    
    namespace tensorflow {
    namespace {
    
    static bool HasSubstr(absl::string_view base, absl::string_view substr) {
      bool ok = absl::StrContains(base, substr);
      EXPECT_TRUE(ok) << base << ", expected substring " << substr;
      return ok;
    }
    
    TEST(CAPI, MonitoringCounter0) {
    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)
  5. tensorflow/c/c_api_test.cc

      EXPECT_EQ(absl::string_view(test_string),
                absl::string_view(TF_TString_GetDataPointer(t_out_tstr),
                                  TF_TString_GetSize(t_out_tstr)));
      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),
    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)
  6. tensorflow/c/c_api.h

    // Used to return strings across the C API. The caller does not take ownership
    // of the underlying data pointer and is not responsible for freeing it.
    typedef struct TF_StringView {
      const char* data;
      size_t len;
    } TF_StringView;
    
    // --------------------------------------------------------------------------
    // TF_SessionOptions holds options that can be passed during session creation.
    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)
  7. RELEASE.md

            `Tensor::BitcastFrom`.
        *   In `map_vectorization` optimization, reduce the degree of parallelism in
            the vectorized map node.
        *   Add variant wrapper for `absl::string_view`.
        *   Add OpKernels for some stateless maps.
        *   DType is no longer convertible to an int. Use `dtype.as_datatype_enum`
            instead of `int(dtype)` to get the same result.
    Plain Text
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Apr 29 19:17:57 GMT 2024
    - 727.7K bytes
    - Viewed (8)
Back to top