- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 24 for strict (0.24 sec)
-
tensorflow/c/experimental/filesystem/plugins/posix/posix_filesystem_helper.cc
#include "tensorflow/c/experimental/filesystem/plugins/posix/posix_filesystem_helper.h" #include <errno.h> #include <fcntl.h> #include <limits.h> #include <stdint.h> #include <stdlib.h> #include <string.h> #include <unistd.h> #include "tensorflow/c/experimental/filesystem/plugins/posix/copy_file.h" namespace tf_posix_filesystem {
C++ - Registered: Tue Apr 23 12:39:09 GMT 2024 - Last Modified: Thu Jan 16 05:36:52 GMT 2020 - 2.1K bytes - Viewed (1) -
tensorflow/c/eager/parallel_device/parallel_device_remote_test.cc
See the License for the specific language governing permissions and limitations under the License. ==============================================================================*/ #include <array> #include <memory> #include <string> #include "tensorflow/c/c_api.h" #include "tensorflow/c/c_api_experimental.h" #include "tensorflow/c/eager/c_api.h" #include "tensorflow/c/eager/c_api_experimental.h"
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Thu Apr 27 22:09:57 GMT 2023 - 6.7K bytes - Viewed (0) -
tensorflow/c/eager/c_api_unified_experimental.cc
return absl::OkStatus(); } string msg = absl::StrCat( "No tracing engine factory has been registered with the key '", name, "' (available: "); // Ensure deterministic (sorted) order in the error message std::set<string> factories_sorted; for (const auto& factory : GetFactories()) factories_sorted.insert(factory.first); const char* comma = ""; for (const string& factory : factories_sorted) {
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Thu Feb 15 09:49:45 GMT 2024 - 9K bytes - Viewed (0) -
tensorflow/c/c_api.cc
// Convert from TF_Output and TF_Tensor to a string and Tensor. std::vector<std::pair<string, Tensor>> input_pairs(ninputs); if (!TF_Run_Inputs(input_values, &input_pairs, status)) return; for (int i = 0; i < ninputs; ++i) { input_pairs[i].first = OutputName(inputs[i]); } // Convert from TF_Output to string names. std::vector<string> output_names(noutputs); for (int i = 0; i < noutputs; ++i) {
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/custom_device_testutil.cc
#include "tensorflow/c/eager/c_api_test_util.h" #include "tensorflow/c/tf_status.h" #include "tensorflow/core/lib/gtl/cleanup.h" #include "tensorflow/core/platform/test.h" namespace { struct LoggingDevice { tensorflow::string device_name; tensorflow::string underlying_device; // Set to true whenever a TensorHandle is copied onto the device bool* arrived_flag; // Set to true whenever an operation is executed bool* executed_flag;
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Wed Mar 03 20:47:31 GMT 2021 - 8.3K bytes - Viewed (0) -
tensorflow/c/eager/custom_device_test.cc
bool executed = false; RegisterLoggingDevice(context.get(), custom0, /*strict_scope_placement=*/false, &arrived, &executed, status.get()); ASSERT_TRUE(TF_GetCode(status.get()) == TF_OK) << TF_Message(status.get()); RegisterLoggingDevice(context.get(), custom1, /*strict_scope_placement=*/true, &arrived, &executed, status.get());
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/experimental/grappler/grappler_test.cc
TF_Status* tf_status) {} void PopulateDefaultParam(TP_OptimizerRegistrationParams* params) { params->struct_size = TP_OPTIMIZER_REGISTRATION_PARAMS_STRUCT_SIZE; params->optimizer_configs->struct_size = TP_OPTIMIZER_CONFIGS_STRUCT_SIZE; params->optimizer->struct_size = TP_OPTIMIZER_STRUCT_SIZE; params->optimizer->create_func = nullptr; params->optimizer->optimize_func = optimize_func;
C++ - Registered: Tue Feb 27 12:39:08 GMT 2024 - Last Modified: Thu Apr 13 22:30:58 GMT 2023 - 11.6K bytes - Viewed (0) -
tensorflow/c/experimental/filesystem/plugins/posix/posix_filesystem.cc
#include "tensorflow/c/experimental/filesystem/plugins/posix/posix_filesystem.h" #include <dirent.h> #include <errno.h> #include <fcntl.h> #include <limits.h> #include <stdint.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include <sys/mman.h> #include <sys/stat.h> #include <unistd.h> #include "tensorflow/c/experimental/filesystem/filesystem_interface.h"
C++ - Registered: Tue Apr 23 12:39:09 GMT 2024 - Last Modified: Sun Mar 24 20:08:23 GMT 2024 - 15.8K bytes - Viewed (0) -
tensorflow/c/experimental/next_pluggable_device/c_api.cc
auto* cc_agent = reinterpret_cast<tsl::CoordinationServiceAgent*>(agent); absl::Status cc_status = cc_agent->InsertKeyValue( std::string_view(key, key_size), std::string_view(value, value_size)); status->status = cc_status; } TF_Buffer* ProcessGetKeyValueResult(absl::StatusOr<std::string> value, TF_Status* status) { status->status = value.status(); if (!value.ok()) {
C++ - Registered: Tue Feb 27 12:39:08 GMT 2024 - Last Modified: Tue Jan 09 00:52:04 GMT 2024 - 13.9K bytes - Viewed (1) -
tensorflow/c/eager/parallel_device/parallel_device.cc
class NamedParallelDevice { public: NamedParallelDevice(const std::string& name, std::unique_ptr<ParallelDevice> parallel_device) : device_name_(name), parallel_device_(std::move(parallel_device)) {} const std::string& name() const { return device_name_; } const ParallelDevice& device() const { return *parallel_device_; } private: std::string device_name_; std::unique_ptr<ParallelDevice> parallel_device_; };
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Wed Mar 29 22:05:31 GMT 2023 - 18.3K bytes - Viewed (0)