- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 12 for load (0.19 sec)
-
tensorflow/c/c_api_experimental.cc
// Make a copy so that we can mutate it. FunctionDef fdef_to_load = fdef; if (mutate_proto_func) { (*mutate_proto_func)(&fdef_to_load); } VLOG(1) << "Adding func to graph: " << fdef_to_load.DebugString(); std::vector<char> binary_proto_buf(fdef_to_load.ByteSizeLong()); fdef_to_load.SerializeToArray(binary_proto_buf.data(), binary_proto_buf.size());
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Mon Apr 15 03:35:10 GMT 2024 - 29.4K bytes - Viewed (0) -
tensorflow/c/eager/c_api_remote_test.cc
bool remote_func_outputs = false) { return TestRemoteExecuteSilentCopies(async, remote, /*func=*/false, /*heavy_load_on_streaming_rpc=*/false, remote_func_outputs); } TEST(CAPI, RemoteExecuteSilentCopies) { TestRemoteExecuteSilentCopiesOp(/*async=*/false, /*remote=*/true); }
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Wed Aug 12 00:14:22 GMT 2020 - 5.4K bytes - Viewed (0) -
tensorflow/c/eager/c_api_remote_function_test.cc
bool heavy_load_on_streaming_rpc, bool remote_func_outputs = false, bool has_packed_input = false) { return TestRemoteExecuteSilentCopies(async, remote, /*func=*/true, heavy_load_on_streaming_rpc,
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Fri Dec 11 22:56:03 GMT 2020 - 3.6K bytes - Viewed (0) -
tensorflow/c/experimental/filesystem/plugins/gcs/ram_file_block_cache_test.cc
// with each read. Start with a block of "a" at the current timestamp `now`. TF_EXPECT_OK(ReadCache(&cache, "a", 0, 1, &out)); // Now load a block of a different file "b" at timestamp `now` + 1 env->SetNowSeconds(now + 1); TF_EXPECT_OK(ReadCache(&cache, "b", 0, 1, &out)); // Now load a different block of file "a" at timestamp `now` + 1. When the // first block of "a" expires, this block should also be removed because it
C++ - Registered: Tue Apr 23 12:39:09 GMT 2024 - Last Modified: Fri Oct 15 03:16:57 GMT 2021 - 23.2K bytes - Viewed (0) -
tensorflow/c/experimental/filesystem/modular_filesystem.cc
// Step 1: Load plugin Env* env = Env::Default(); void* dso_handle; TF_RETURN_IF_ERROR(env->LoadDynamicLibrary(dso_path.c_str(), &dso_handle)); // Step 2: Load symbol for `TF_InitPlugin` void* dso_symbol; TF_RETURN_WITH_CONTEXT_IF_ERROR( env->GetSymbolFromLibrary(dso_handle, "TF_InitPlugin", &dso_symbol), "Failed to load TF_InitPlugin symbol for DSO: ", dso_path);
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Wed Sep 06 19:12:29 GMT 2023 - 23.1K bytes - Viewed (0) -
tensorflow/c/experimental/grappler/grappler.cc
creator, device_type, configs); } #undef CONFIG_TOGGLE absl::Status InitGraphPlugin(void* dso_handle) { tsl::Env* env = tsl::Env::Default(); // Step 1: Load symbol for `TF_InitPlugin` void* dso_symbol; TF_RETURN_IF_ERROR( env->GetSymbolFromLibrary(dso_handle, "TF_InitGraph", &dso_symbol)); // Step 2: Call `TF_InitPlugin`
C++ - Registered: Tue Feb 27 12:39:08 GMT 2024 - Last Modified: Wed Sep 06 19:12:29 GMT 2023 - 15K bytes - Viewed (1) -
tensorflow/c/c_api_test.cc
// tf_cuda_cc_test() bazel rule and remove the next line. if (!GPUDeviceName().empty()) return; #if !defined(TENSORFLOW_NO_SHARED_OBJECTS) { // Load the library. TF_Status* status = TF_NewStatus(); string lib_path = tensorflow::GetDataDependencyFilepath( tensorflow::io::JoinPath("tensorflow", "c", "test_op1.so"));
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/experimental/filesystem/modular_filesystem_test.cc
GTEST_API_ int main(int argc, char** argv) { const std::vector<tensorflow::Flag> flag_list = { tensorflow::Flag("dso", tensorflow::LoadDSO, "", "Path to shared object to load"), tensorflow::Flag("scheme", tensorflow::GetURIScheme, "", "URI scheme to test"), tensorflow::Flag("cloud_path", tensorflow::SetCloudPath, "",
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/eager/gradients.cc
#include "tensorflow/core/platform/errors.h" namespace tensorflow { namespace gradients { namespace { // TODO(b/172558015): Using the pointer address as the identifier for the tensor // may lead to collisions. Introduce another way to get a unique id for this // tensor. int64_t ToId(const AbstractTensorHandle* t) { return static_cast<int64_t>(reinterpret_cast<uintptr_t>(t)); }
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Thu Feb 15 09:49:45 GMT 2024 - 19.3K bytes - Viewed (0) -
tensorflow/c/eager/c_api_remote_test_util.cc
" }"), &def)); return def.SerializeAsString(); } void TestRemoteExecuteSilentCopies(bool async, bool remote, bool func, bool heavy_load_on_streaming_rpc, bool remote_func_outputs, bool has_packed_input) { CHECK(!has_packed_input || func); tensorflow::ServerDef server_def = GetServerDef(3);
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Fri Dec 11 22:56:03 GMT 2020 - 9.1K bytes - Viewed (0)