- Sort Score
- Result 10 results
- Languages All
Results 1 - 8 of 8 for toString (0.26 sec)
-
tensorflow/c/c_api_test.cc
TF_TString* t_in_tstr = static_cast<TF_TString*>(TF_TensorData(t_in.get())); TF_TString* t_out_tstr = static_cast<TF_TString*>(TF_TensorData(t_out)); 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),
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/eager/c_api_test_util.h
// Return a tensor handle containing a bool scalar TFE_TensorHandle* TestScalarTensorHandle(TFE_Context* ctx, bool value); // Return a tensor handle containing a tstring scalar TFE_TensorHandle* TestScalarTensorHandle(TFE_Context* ctx, const tensorflow::tstring& value); // Return a tensor handle containing a 2x2 matrix of doubles TFE_TensorHandle* DoubleTestMatrixTensorHandle(TFE_Context* ctx);
C - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Mon Jul 17 23:43:59 GMT 2023 - 7.7K bytes - Viewed (0) -
tensorflow/c/c_api.h
#include "tensorflow/c/tf_attrtype.h" #include "tensorflow/c/tf_buffer.h" #include "tensorflow/c/tf_datatype.h" #include "tensorflow/c/tf_status.h" #include "tensorflow/c/tf_tensor.h" #include "tensorflow/c/tf_tstring.h" // -------------------------------------------------------------------------- // C API for TensorFlow. // // The API leans towards simplicity and uniformity instead of convenience
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) -
tensorflow/c/c_api_function_test.cc
if (is_exact_edges) { ASSERT_EQ(e_edges.size() + c_edges.size(), a_edges.size()) << "Expected edges: " << ToString(e_edges) << " Expected Control edges: " << ToString(c_edges) << " Actual edges: " << ToString(a_edges) << " in fdef: " << fdef.DebugString(); } } void VerifyFDef(const std::unordered_set<string>& nodes,
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) -
tensorflow/c/BUILD
":tf_buffer_hdrs", ":tf_datatype_hdrs", ":tf_status_headers", ":tf_tensor_hdrs", # TODO: Only include tf_tstring_hdrs. Don't expose the implementation of TF_TString to API # users. ":tf_tstring", "//tensorflow/core:protos_all_cc", ], ) tf_cuda_library( name = "c_api_internal", hdrs = [ "c_api.h",
Plain Text - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Wed Mar 27 18:00:18 GMT 2024 - 30.3K bytes - Viewed (0) -
tensorflow/c/eager/c_api_test_util.cc
return th; } TFE_TensorHandle* TestScalarTensorHandle(TFE_Context* ctx, const tensorflow::tstring& value) { TF_Status* status = TF_NewStatus(); TF_Tensor* t = TFE_AllocateHostTensor(ctx, TF_STRING, nullptr, 0, status); tstring* data = static_cast<tstring*>(TF_TensorData(t)); *data = value; TFE_TensorHandle* th = TFE_NewTensorHandleFromTensor(ctx, t, status);
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Wed Feb 21 22:37:46 GMT 2024 - 23.5K bytes - Viewed (2) -
tensorflow/c/eager/immediate_execution_context.h
#include "tensorflow/core/framework/tensor.h" #include "tensorflow/core/framework/types.pb.h" #include "tensorflow/core/platform/platform.h" #include "tensorflow/core/platform/status.h" #include "tensorflow/core/platform/tstring.h" #include "tensorflow/core/protobuf/config.pb.h" #include "tensorflow/core/util/device_name_utils.h" namespace tensorflow { class EagerExecutor; class EagerContext; class CustomDevice;
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) -
RELEASE.md
* The byte layout for string tensors across the C-API has been updated to match TF Core/C++; i.e., a contiguous array of `tensorflow::tstring`/`TF_TString`s. * C-API functions `TF_StringDecode`, `TF_StringEncode`, and `TF_StringEncodedSize` are no longer relevant and have been removed; see
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)