- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 85 for New (0.14 sec)
-
tensorflow/c/c_api.cc
target_oper_names[i] = c_target_oper_names[i]; } string new_handle; status->status = s->session->PRunSetup(input_names, output_names, target_oper_names, &new_handle); if (status->status.ok()) { char* buf = new char[new_handle.size() + 1]; memcpy(buf, new_handle.c_str(), new_handle.size() + 1); *handle = buf; } }
C++ - Registered: Tue Apr 23 12:39:09 GMT 2024 - Last Modified: Mon Apr 15 03:35:10 GMT 2024 - 102.3K bytes - Viewed (0) -
tensorflow/c/eager/tfe_monitoring_internal.h
template <typename... LabelDesc> TFE_MonitoringCounter(const char* name, const char* description, LabelDesc&&... label) { counter = absl::WrapUnique(tensorflow::monitoring::Counter<NumLabels>::New( name, description, label...)); } std::unique_ptr<tensorflow::monitoring::Counter<NumLabels>> counter; }; struct TFE_MonitoringCounter0 : TFE_MonitoringCounter<0> {
C - Registered: Tue Apr 23 12:39:09 GMT 2024 - Last Modified: Wed Aug 11 01:20:50 GMT 2021 - 5.2K bytes - Viewed (0) -
tensorflow/c/experimental/gradients/nn_grad.cc
GradientFunction* ReluRegisterer(const ForwardOperation& op) { return new ReluGradientFunction(op.outputs); } GradientFunction* SparseSoftmaxCrossEntropyWithLogitsRegisterer( const ForwardOperation& op) { return new SparseSoftmaxCrossEntropyWithLogitsGradientFunction(op.outputs); } GradientFunction* BiasAddRegisterer(const ForwardOperation& op) { return new BiasAddGradientFunction(op.attrs); }
C++ - Registered: Tue Mar 26 12:39:09 GMT 2024 - Last Modified: Wed Feb 28 13:53:47 GMT 2024 - 5.7K bytes - Viewed (0) -
tensorflow/c/eager/c_api_unified_experimental.cc
using tensorflow::string; namespace tensorflow { namespace tracing { typedef absl::flat_hash_map<std::string, tracing::FactoryFunction> FactoriesMap; static FactoriesMap& GetFactories() { static FactoriesMap* factories = new FactoriesMap; return *factories; } static tracing::FactoryFunction default_factory; void RegisterTracingEngineFactory(const string& name, FactoryFunction factory) { assert((!GetFactories().count(name)) ||
C++ - Registered: Tue Apr 23 12:39:09 GMT 2024 - Last Modified: Thu Feb 15 09:49:45 GMT 2024 - 9K bytes - Viewed (0) -
tensorflow/c/eager/c_api.h
TF_Status* status); // Create a new TFE_TensorHandle with the same contents as 'h' but placed // in the memory of the device name 'device_name'. // If source and destination are the same device, then this creates a new handle // that shares the underlying buffer. Otherwise, it currently requires at least
C - Registered: Tue Apr 23 12:39:09 GMT 2024 - Last Modified: Thu Apr 27 21:07:00 GMT 2023 - 22.8K bytes - Viewed (1) -
tensorflow/c/eager/immediate_execution_distributed_manager.h
class ImmediateExecutionDistributedManager { public: virtual ~ImmediateExecutionDistributedManager() {} // Set up distributed execution environment on local and remote tasks. // When `reset_context` is true, initialize new cluster context state based // on cluster configurations provided in `server_def`; otherwise, update // existing context state with the provided `server_def`. Contexts created
C - Registered: Tue Apr 23 12:39:09 GMT 2024 - Last Modified: Wed Feb 21 22:37:46 GMT 2024 - 2.9K bytes - Viewed (0) -
tensorflow/c/experimental/filesystem/modular_filesystem_test.cc
const std::string filepath = GetURIForPath("a_file"); std::unique_ptr<WritableFile> new_file; Status status = env_->NewWritableFile(filepath, &new_file); if (!status.ok()) GTEST_SKIP() << "NewWritableFile() not supported: " << status; const std::string new_filepath = GetURIForPath("a_new_file"); status = env_->RenameFile(filepath, new_filepath); EXPECT_PRED2(UnimplementedOrReturnsCode, status, Code::OK);
C++ - Registered: Tue Apr 23 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/cleanup.h
template <typename G> Cleanup(Cleanup<G>&& src) // NOLINT : released_(src.is_released()), f_(src.release()) {} // Assignment to a Cleanup object behaves like destroying it // and making a new one in its place, analogous to unique_ptr // semantics. Cleanup& operator=(Cleanup&& src) { // NOLINT if (!released_) f_(); released_ = src.released_; f_ = src.release(); return *this; }
C - Registered: Tue Apr 23 12:39:09 GMT 2024 - Last Modified: Thu Jul 09 11:16:00 GMT 2020 - 3.4K bytes - Viewed (0) -
tensorflow/c/checkpoint_reader.cc
v2_reader_.reset( new BundleReader(Env::Default(), filename /* prefix to a V2 ckpt */)); if (!v2_reader_->status().ok()) { tsl::Set_TF_Status_from_Status(status, v2_reader_->status()); return; } auto result = BuildV2VarMaps(); var_to_shape_map_.swap(result.first); var_to_data_type_map_.swap(result.second); } else { reader_.reset(new TensorSliceReader(filename));
C++ - Registered: Tue Apr 23 12:39:09 GMT 2024 - Last Modified: Fri Aug 25 21:29:12 GMT 2023 - 5.5K bytes - Viewed (0) -
tensorflow/c/experimental/filesystem/plugins/gcs/ram_file_block_cache.cc
RemoveFile_Locked(key.first); } } // Insert a new empty block, setting the bookkeeping to sentinel values // in order to update them as appropriate. auto new_entry = std::make_shared<Block>(); lru_list_.push_front(key); lra_list_.push_front(key); new_entry->lru_iterator = lru_list_.begin(); new_entry->lra_iterator = lra_list_.begin(); new_entry->timestamp = timer_seconds_();
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)