- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 110 for std (0.21 sec)
-
tests/non_std_test.go
kinggo <******@****.***> 1641452573 +0800
Go - Registered: Sun May 05 09:35:13 GMT 2024 - Last Modified: Thu Jan 06 07:02:53 GMT 2022 - 1.9K bytes - Viewed (0) -
tensorflow/c/experimental/filesystem/plugins/gcs/gcs_helper.cc
#include <string> #include <utility> TempFile::TempFile(const std::string& temp_file_name, std::ios::openmode mode) : std::fstream(temp_file_name, mode), name_(temp_file_name) {} TempFile::TempFile(TempFile&& rhs) : std::fstream(std::move(rhs)), name_(std::move(rhs.name_)) {} TempFile::~TempFile() { std::fstream::close(); std::remove(name_.c_str()); } const std::string TempFile::getName() const { return name_; }
C++ - Registered: Tue Apr 23 12:39:09 GMT 2024 - Last Modified: Fri Jun 26 14:56:58 GMT 2020 - 1.3K bytes - Viewed (0) -
tensorflow/c/eager/parallel_device/parallel_device_remote_test.cc
namespace tensorflow { namespace parallel_device { TEST(PARALLEL_DEVICE, TestRemoteBasic) { std::unique_ptr<TFE_ContextOptions, decltype(&TFE_DeleteContextOptions)> opts( TFE_NewContextOptions(), TFE_DeleteContextOptions); std::unique_ptr<TF_Status, decltype(&TF_DeleteStatus)> status( TF_NewStatus(), TF_DeleteStatus); std::unique_ptr<TFE_Context, decltype(&TFE_DeleteContext)> context(
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/parallel_device/parallel_device_lib_test.cc
vector_handles.push_back(std::move(two_vector)); vector_handles.push_back(std::move(three_vector)); std::unique_ptr<ParallelTensor> unknown_length_vector = ParallelTensor::FromTensorHandles( parallel_device, std::move(vector_handles), status.get()); ASSERT_TRUE(TF_GetCode(status.get()) == TF_OK) << TF_Message(status.get()); const std::vector<int64_t>* shape; TF_ASSERT_OK(unknown_length_vector->Shape(&shape));
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Thu Jul 08 23:47:35 GMT 2021 - 15.3K bytes - Viewed (0) -
tensorflow/c/eager/tfe_monitoring_internal.h
using TFE_MonitoringGauge::TFE_MonitoringGauge; }; struct TFE_MonitoringBuckets { explicit TFE_MonitoringBuckets( std::function<std::unique_ptr<tensorflow::monitoring::Buckets>(void)> fn) { create_buckets = fn; } std::function<std::unique_ptr<tensorflow::monitoring::Buckets>(void)> create_buckets; }; struct TFE_MonitoringSamplerCell {
C - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Wed Aug 11 01:20:50 GMT 2021 - 5.2K bytes - Viewed (0) -
tensorflow/c/eager/tape.h
template <typename Gradient> class ForwardFunction : public std::function<Status(const std::vector<Gradient*>&, std::vector<Gradient*>*, bool)> { public: template <typename lambda_type> explicit ForwardFunction(lambda_type lambda) : std::function<Status(const std::vector<Gradient*>&, std::vector<Gradient*>*, bool)>(lambda) {} };
C - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Tue Apr 02 12:40:29 GMT 2024 - 47.2K bytes - Viewed (1) -
tensorflow/c/experimental/filesystem/plugins/gcs/cleanup.h
F release() { released_ = true; return std::move(f_); } bool is_released() const { return released_; } private: static_assert(!std::is_reference<F>::value, "F must not be a reference"); bool released_ = false; F f_; }; template <int&... ExplicitParameterBarrier, typename F, typename DecayF = typename std::decay<F>::type> Cleanup<DecayF> MakeCleanup(F&& f) {
C - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Thu Jul 09 11:16:00 GMT 2020 - 3.4K bytes - Viewed (0) -
tensorflow/c/experimental/gradients/custom_gradient_test.cc
namespace tensorflow { namespace gradients { namespace internal { namespace { using std::vector; class CustomGradientTest : public ::testing::TestWithParam<std::tuple<const char*, bool, bool>> { protected: void SetUp() override { TF_StatusPtr status(TF_NewStatus()); TF_SetTracingImplementation(std::get<0>(GetParam()), status.get()); Status s = StatusFromTF_Status(status.get());
C++ - Registered: Tue Mar 26 12:39:09 GMT 2024 - Last Modified: Wed Feb 28 13:53:47 GMT 2024 - 4.8K bytes - Viewed (0) -
tensorflow/c/c_api.cc
// Input tensors const std::vector<std::pair<string, Tensor>>& input_pairs, // Output tensors const std::vector<string>& output_tensor_names, TF_Tensor** c_outputs, // Target nodes const std::vector<string>& target_oper_names, TF_Buffer* run_metadata, TF_Status* status) { const int noutputs = output_tensor_names.size(); std::vector<Tensor> outputs(noutputs); Status result;
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/experimental/filesystem/plugins/gcs/expiring_lru_cache.h
/// The callback to read timestamps. std::function<uint64_t()> timer_seconds_; /// Guards access to the cache and the LRU list. absl::Mutex mu_; /// The cache (a map from string key to Entry). std::map<std::string, Entry> cache_ ABSL_GUARDED_BY(mu_); /// The LRU list of entries. The front of the list identifies the most /// recently accessed entry. std::list<std::string> lru_list_ ABSL_GUARDED_BY(mu_); };
C - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Thu Jul 09 19:31:22 GMT 2020 - 6.3K bytes - Viewed (0)