- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for string_view (0.88 sec)
-
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) -
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) -
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) -
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 May 07 12:40:20 GMT 2024 - Last Modified: Mon Apr 29 19:17:57 GMT 2024 - 727.7K bytes - Viewed (8)