- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for leading (0.2 sec)
-
tensorflow/c/c_api.cc
shape_handle, static_cast<DataType>(types[i])); } ic->set_output_handle_shapes_and_types(output.index, shape_and_type_vec); } // Helpers for loading a TensorFlow plugin (a .so file). Status LoadDynamicLibrary(const char* library_filename, void** result, const void** buf, size_t* len);
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Mon Apr 15 03:35:10 GMT 2024 - 102.3K bytes - Viewed (0) -
tensorflow/c/c_api_experimental.cc
return {}; } const auto& fdef_lib = gdef.library(); if (fdef_lib.gradient_size() > 0) { status->status = tensorflow::errors::Internal( "GradientDef is not supported in reading Dataset related functions: ", text_proto); return {}; } std::vector<UniqueFuncPtr> ret; for (const FunctionDef& fdef : fdef_lib.function()) { // Make a copy so that we can mutate it.
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/experimental/filesystem/plugins/gcs/ram_file_block_cache_test.cc
EXPECT_TRUE(second_block); // Reading the second full block will return 8 bytes, from a cache hit. second_block = false; TF_EXPECT_OK(ReadCache(&cache, "", block_size, block_size, &out)); EXPECT_FALSE(second_block); EXPECT_EQ(out.size(), file_size - block_size); } TEST(RamFileBlockCacheTest, Inconsistent) { // Tests the detection of interrupted reads leading to partially filled blocks
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/plugins/gcs/ram_file_block_cache.cc
} auto begin = data.begin(); if (offset > pos) { // The block begins before the slice we're reading. begin += offset - pos; } auto end = data.end(); if (pos + data.size() > offset + n) { // The block extends past the end of the slice we're reading. end -= (pos + data.size()) - (offset + n); } if (begin < end) { size_t bytes_to_copy = end - begin;
C++ - Registered: Tue Apr 23 12:39:09 GMT 2024 - Last Modified: Thu Jul 16 01:39:09 GMT 2020 - 11.1K bytes - Viewed (0) -
tensorflow/c/experimental/filesystem/modular_filesystem_registration.cc
// but plugins didn't provide will be set to `nullptr` values and core // TensorFlow will know to not call these on behalf of users; // * increased security as plugins will not be able to alter function table // after loading up. Thus, malicious plugins can't alter functionality to // probe for gadgets inside core TensorFlow. We can even protect the area // of memory where the copies reside to not allow any more writes to it
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)