- Sort Score
- Result 10 results
- Languages All
Results 1 - 9 of 9 for void (0.14 sec)
-
tensorflow/c/c_api_test.cc
EXPECT_EQ(dims[0], TF_Dim(t, 0)); EXPECT_EQ(dims[1], TF_Dim(t, 1)); EXPECT_EQ(num_bytes, TF_TensorByteSize(t)); EXPECT_EQ(static_cast<void*>(values), TF_TensorData(t)); TF_DeleteTensor(t); EXPECT_TRUE(deallocator_called); } void NoOpDeallocator(void* data, size_t, void*) {} TEST(CAPI, MalformedTensor) { // See https://github.com/tensorflow/tensorflow/issues/7394
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.cc
#include "tensorflow/core/protobuf/config.pb.h" #include "tensorflow/core/protobuf/rewriter_config.pb.h" #include "tensorflow/core/protobuf/tensorflow_server.pb.h" using tensorflow::string; namespace { void BM_InitOp(::testing::benchmark::State& state) { TF_Status* status = TF_NewStatus(); TFE_ContextOptions* opts = TFE_NewContextOptions(); TFE_Context* ctx = TFE_NewContext(opts, status);
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) -
tensorflow/c/experimental/filesystem/modular_filesystem_test.cc
static void InitializeTestRNG() { std::random_device rd; std::mt19937 gen(rd()); std::uniform_int_distribution<> distribution; rng_val_ = distribution(gen); } static void SetCloudPath(const std::string& cloud_path) { cloud_path_ = cloud_path; if (cloud_path_.back() == '/') cloud_path_.pop_back(); } static void SetTmpDir(const std::string& tmp_dir) {
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Fri May 27 20:25:58 GMT 2022 - 71K bytes - Viewed (0) -
tensorflow/c/experimental/filesystem/filesystem_interface.h
typedef struct TF_RandomAccessFile { void* plugin_file; } TF_RandomAccessFile; typedef struct TF_WritableFile { void* plugin_file; } TF_WritableFile; typedef struct TF_ReadOnlyMemoryRegion { void* plugin_memory_region; } TF_ReadOnlyMemoryRegion; typedef struct TF_Filesystem { void* plugin_filesystem; } TF_Filesystem; typedef struct TF_TransactionToken { void* token; TF_Filesystem* owner;
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) -
tensorflow/c/c_api_function_test.cc
func_graph_(TF_NewGraph()), host_graph_(TF_NewGraph()), func_(nullptr) {} void SetUp() override {} ~CApiFunctionTest() override { TF_DeleteFunction(func_); TF_DeleteGraph(host_graph_); TF_DeleteGraph(func_graph_); TF_DeleteStatus(s_); } void Run(const std::vector<std::pair<TF_Operation*, TF_Tensor*>>& inputs, TF_Operation* output, int32_t expected_result) {
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/c_api.h
// // Fails if storage_size is too small to hold the requested number of strings. TF_CAPI_EXPORT extern void TF_OperationGetAttrStringList( TF_Operation* oper, const char* attr_name, void** values, size_t* lengths, int max_values, void* storage, size_t storage_size, TF_Status* status); TF_CAPI_EXPORT extern void TF_OperationGetAttrInt(TF_Operation* oper, const char* attr_name,
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/BUILD
# TensorFlow uses several libraries that may also be used by applications # linking against the C and C++ APIs (such as libjpeg). When we create # the shared library, only export the core TF API functions to avoid # causing library conflicts (e.g., those reported in github issue 1924). # On Linux, tell the linker (-Wl,<option>) to use a version script that # excludes all but a subset of function names.
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) -
.bazelrc
build:android --dynamic_mode=off # Sets the default Apple platform to macOS. build:macos --apple_platform_type=macos # gRPC on MacOS requires this #define build:macos --copt=-DGRPC_BAZEL_BUILD # Avoid hitting command line argument limit build:macos --features=archive_param_file # Settings for MacOS on ARM CPUs. build:macos_arm64 --cpu=darwin_arm64 build:macos_arm64 --macos_minimum_os=11.0
Plain Text - Registered: Tue May 07 12:40:20 GMT 2024 - Last Modified: Thu May 02 19:34:20 GMT 2024 - 52.8K bytes - Viewed (2) -
configure.py
interpreted as a boolean indicator, assume that the user has made a scripting error, and will continue to provide invalid input. Raise the error to avoid infinitely looping. """ if not question: question = 'Do you wish to build TensorFlow with {} support?'.format( query_item) if not yes_reply:
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)