- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 92 for patch (0.15 sec)
-
tensorflow/c/c_api.cc
#include <algorithm> #include <cstring> #include <limits> #include <memory> #include <optional> #include <unordered_set> #include <utility> #include <vector> #include "absl/strings/match.h" // Required for IS_MOBILE_PLATFORM #include "tensorflow/core/platform/platform.h" // NOLINT #if !defined(IS_MOBILE_PLATFORM) && !defined(IS_SLIM_BUILD) #include "tensorflow/c/experimental/filesystem/modular_filesystem.h"
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/eager/gradients.cc
void TapeVSpace::MarkAsResult(AbstractTensorHandle* gradient) const {} void TapeVSpace::DeleteGradient(AbstractTensorHandle* gradient) const { gradient->Unref(); } void Tape::Watch(const AbstractTensorHandle* t) { GradientTape::Watch(ToId(t)); } void Tape::RecordOperation(absl::Span<AbstractTensorHandle* const> inputs, absl::Span<AbstractTensorHandle* const> outputs,
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/env.cc
#include "tensorflow/c/env.h" #include "tensorflow/c/c_api_macros.h" #include "tensorflow/c/tf_status.h" #include "tensorflow/c/tf_status_helper.h" #include "tensorflow/core/platform/env.h" #include "tensorflow/core/platform/path.h" #include "tensorflow/core/platform/types.h" struct TF_StringStream { std::vector<::tensorflow::string>* list; size_t position; }; void TF_CreateDir(const char* dirname, TF_Status* status) {
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Wed Aug 11 01:20:50 GMT 2021 - 7K bytes - Viewed (0) -
tensorflow/c/eager/dlpack.cc
default: return tensorflow::errors::InvalidArgument("Unsupported Type Codes: ", dtype.code); } } // Wraps the deleter function of DLManagedTensor to match the function signature // TFE_NewTensorHandleFromDeviceMemory. void DeallocatorWrapperFunc(void* data, size_t len, void* dlmt_vptr) { TFE_CallDLManagedTensorDeleter(dlmt_vptr); }
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Thu Feb 15 09:49:45 GMT 2024 - 12.8K bytes - Viewed (0) -
tensorflow/c/experimental/filesystem/filesystem_interface.h
/// * Must set `status` to `TF_NOT_FOUND` if `path` doesn't point to a /// filesystem entry. /// * Must set `status` to `TF_FAILED_PRECONDITION` if `path` is invalid. /// * Might use any other error value for `status` to signal other errors. /// /// DEFAULT IMPLEMENTATION: Gets statistics about `path`. Needs `stat`. bool (*is_directory)(const TF_Filesystem* filesystem, const char* path,
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/eager/custom_device_test.cc
limitations under the License. ==============================================================================*/ // A simple logging device to test custom device registration. #include <memory> #include "absl/strings/match.h" #include "tensorflow/c/c_api.h" #include "tensorflow/c/eager/c_api.h" #include "tensorflow/c/eager/c_api_experimental.h" #include "tensorflow/c/eager/c_api_test_util.h" #include "tensorflow/c/eager/custom_device_testutil.h"
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Thu Aug 27 23:39:24 GMT 2020 - 18.4K bytes - Viewed (0) -
tensorflow/c/eager/c_api_experimental.h
TF_Status* status); // Delete configuration key-value. If `key` is a directory, recursively clean up // all key-values under the path specified by `key`. TF_CAPI_EXPORT extern void TFE_DeleteConfigKeyValue(TFE_Context* ctx, const char* key, TF_Status* status);
C - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Wed Feb 21 22:37:46 GMT 2024 - 39.5K bytes - Viewed (0) -
tensorflow/c/BUILD
], }) + [ ":c_api_macros", ":tf_file_statistics", ":tf_status", ":tf_status_helper", "//tensorflow/core/platform:env", "//tensorflow/core/platform:path", "//tensorflow/core/platform:types", ], ) cc_library( name = "kernels_hdrs", hdrs = [ "kernels.h", "kernels_experimental.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) -
tensorflow/c/experimental/filesystem/plugins/gcs/gcs_filesystem.cc
path, stat.generation_number)) { TF_VLog( 1, "File signature has been changed. Refreshing the cache. Path: %s", path.c_str()); } read = gcs_file->file_block_cache->Read(path, offset, n, buffer, status); } else { read = LoadBufferFromGCS(path, offset, n, buffer, gcs_file, status); }
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/experimental/filesystem/modular_filesystem_registration.cc
} // Checks if the plugin and core ABI numbers match. // // If the numbers don't match, plugin cannot be loaded. static Status CheckABI(int pluginABI, int coreABI, StringPiece where) { if (pluginABI != coreABI) return errors::FailedPrecondition( strings::StrCat("Plugin ABI (", pluginABI, ") for ", where, " operations doesn't match expected core ABI (",
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)