- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 52 for Nering (0.18 sec)
-
tensorflow/c/c_api.cc
for (int i = 0; i < noutputs; ++i) { c_outputs[i] = nullptr; } } // TF_TensorToTensorV1 decodes a string serialization to DT_RESOURCE. // In the TFv1 convention, TF_Tensor can hold a string serialization of // DT_RESOURCE. The string serialization is converted back to a // ResourceHandle during Session run where the TF_Tensor is converted to a // Tensor. // TFv2 does not depend on this conversion. There is no matching
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/c_api_distributed_test.cc
} class FunctionErrorInjectionPass : public tensorflow::FunctionOptimizationPass { public: FunctionErrorInjectionPass(string error_node, string error_device) : error_node_(error_node), error_device_(error_device) {} tensorflow::Status Run(const std::string& function_name, const tensorflow::DeviceSet& device_set, const tensorflow::ConfigProto& config_proto,
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Thu Feb 15 09:49:45 GMT 2024 - 23.5K bytes - Viewed (0) -
tensorflow/c/experimental/filesystem/plugins/gcs/gcs_filesystem_test.cc
std::random_device rd; std::mt19937 gen(rd()); std::uniform_int_distribution<> distribution; std::string rng_val = std::to_string(distribution(gen)); return tensorflow::io::JoinPath(std::string(test_dir), rng_val); } else { return ""; } } static std::string* GetTmpDir() { static std::string tmp_dir = InitializeTmpDir(); if (tmp_dir == "") return nullptr; else return &tmp_dir; }
C++ - Registered: Tue Apr 23 12:39:09 GMT 2024 - Last Modified: Mon Aug 31 12:04:23 GMT 2020 - 24.9K bytes - Viewed (0) -
tensorflow/c/eager/abstract_tensor_handle.cc
namespace tensorflow { std::string AbstractTensorHandle::DebugString() const { PartialTensorShape shape; Status s = Shape(&shape); std::string shape_string; if (!s.ok()) { shape_string = "<error computing shape>"; } else { shape_string = shape.DebugString(); } return absl::StrCat("TensorHandle(shape=", shape_string, ", dtype=", DataType_Name(DataType()),
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Thu Feb 15 09:49:45 GMT 2024 - 1.4K bytes - Viewed (0) -
tensorflow/c/experimental/grappler/grappler_test.cc
} TEST(TF_GrapplerItem, NodesToPreserve) { GrapplerItem item; item.fetch = std::vector<string>{"Conv", "BiasAdd"}; std::unordered_set<string> nodes_preserved = item.NodesToPreserve(); TF_GrapplerItem* c_item = reinterpret_cast<TF_GrapplerItem*>(&item); int list_total_size = 0; for (const string& s : nodes_preserved) { list_total_size += s.size(); } size_t storage_size = 0;
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/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) -
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_lib.cc
shape_ = std::vector<int64_t>(dim_sizes.begin(), dim_sizes.end()); } *shape = &*shape_; return absl::OkStatus(); } Status ParallelTensor::SummarizeValue(std::string& summary) { summary = "{"; std::vector<std::string> summarized_devices = device_.SummarizeDeviceNames(); for (int component_index = 0; component_index < tensors_.size(); ++component_index) {
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Fri Feb 09 07:47:20 GMT 2024 - 25.4K bytes - Viewed (1) -
tensorflow/c/c_api_function.cc
// Process output names. std::vector<string> output_names_vec; if (output_names) { output_names_vec.reserve(noutputs); for (int i = 0; i < noutputs; ++i) { output_names_vec.push_back(string(output_names[i])); } } // Process control output names. std::vector<string> control_output_names_vec; if (control_output_names) {
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Mon Apr 15 03:35:10 GMT 2024 - 13.6K bytes - Viewed (2) -
tensorflow/c/eager/parallel_device/parallel_device_test.cc
ExpectScalarEq<float>(second_components[1].get(), 9.); // Verify that the mirrors are placed on the component devices. std::string first_device = TFE_TensorHandleBackingDeviceName( second_components[0].get(), status.get()); ASSERT_EQ(second_underlying_devices[0], first_device); std::string second_device = TFE_TensorHandleBackingDeviceName( second_components[1].get(), status.get());
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Thu Jul 08 23:47:35 GMT 2021 - 29.3K bytes - Viewed (1)