- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 10 for upload (0.2 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/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/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/experimental/filesystem/plugins/gcs/gcs_filesystem.cc
constexpr size_t kStatCacheDefaultMaxEntries = 1024; // How to upload new data when Flush() is called multiple times. // By default the entire file is reuploaded. constexpr char kAppendMode[] = "GCS_APPEND_MODE"; // If GCS_APPEND_MODE=compose then instead the new data is uploaded to a // temporary object and composed with the original object. This is disabled by
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Wed Aug 23 06:55:53 GMT 2023 - 46.9K 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) -
tensorflow/c/experimental/filesystem/modular_filesystem_registration.cc
if (info->plugin_memory_allocate == nullptr) return errors::FailedPrecondition( "Cannot load filesystem plugin which does not provide " "`plugin_memory_allocate`"); if (info->plugin_memory_free == nullptr) return errors::FailedPrecondition( "Cannot load filesystem plugin which does not provide " "`plugin_memory_free`"); return OkStatus(); }
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Tue Mar 07 22:08:43 GMT 2023 - 12.8K bytes - Viewed (0) -
tensorflow/c/c_api_experimental_test.cc
} TEST(CAPI_EXPERIMENTAL, LibraryPluggableDeviceLoadFunctions) { // TODO(penpornk): Enable this test on Windows. #if !defined(PLATFORM_WINDOWS) #if !defined(TENSORFLOW_NO_SHARED_OBJECTS) // Load the library. TF_Status* status = TF_NewStatus(); string lib_path = tensorflow::GetDataDependencyFilepath(tensorflow::io::JoinPath( "tensorflow", "c", "experimental", "stream_executor", "test",
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Tue Jan 17 22:27:52 GMT 2023 - 13.1K bytes - Viewed (1)