- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 11 for to_string (0.21 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) -
ci/official/containers/linux_arm64/builder.devtoolset/stringop_trunc.patch
+ char ut_line[UT_LINESIZE] + __attribute_nonstring__; /* Devicename. */ + char ut_id[4] + __attribute_nonstring__; /* Inittab ID. */ + char ut_user[UT_NAMESIZE] + __attribute_nonstring__; /* Username. */ + char ut_host[UT_HOSTSIZE] + __attribute_nonstring__; /* Hostname for remote login. */ struct exit_status ut_exit; /* Exit status of a process marked
Others - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Mon Sep 18 14:52:45 GMT 2023 - 42.9K bytes - Viewed (1) -
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) -
CONTRIBUTING.md
[TensorFlow Builds](https://github.com/tensorflow/tensorflow/tree/master/tensorflow/tools/ci_build) for details. #### Running doctest for testable docstring There are two ways to test the code in the docstring locally: 1. If you are only changing the docstring of a class/function/method, then you can test it by passing that file's path to
Plain Text - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Thu Mar 21 11:45:51 GMT 2024 - 15.6K bytes - Viewed (0) -
tensorflow/c/experimental/filesystem/plugins/gcs/gcs_filesystem_test.cc
if (read >= 0) content.resize(read); if (file_size != content.size()) TF_SetStatus( status_, TF_DATA_LOSS, std::string("expected " + std::to_string(file_size) + " got " + std::to_string(content.size()) + " bytes") .c_str()); return content; } protected: TF_Filesystem* filesystem_; TF_Status* status_; private:
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) -
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/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
* Add `sparse_column_with_vocabulary_file`, to specify a feature column that transform string features to IDs, where the mapping is defined by a vocabulary file. * Added `index_to_string_table` which returns a lookup table that maps indices to strings. * Add `string_to_index_table`, which returns a lookup table that matches strings to indices. * Add a `ParallelForWithWorkerId` function.
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) -
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)