- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 42 for destructors (1.97 sec)
-
tensorflow/cc/training/coordinator.h
public: Coordinator(); /// Constructor with a list of error codes which would not be taken as errors /// in status reporting. Coordinator(const std::vector<error::Code>& clean_stop_errors); /// In the destructor, RequestStop() and Join() would be called. ~Coordinator(); /// Registers a runner, i.e. a unit of running threads which is usually a /// QueueRunner. It takes the ownership of runner to avoid lifecycle-related
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Oct 12 08:49:52 UTC 2023 - 4.4K bytes - Viewed (0) -
tensorflow/c/kernels/summary_op.cc
#include "tensorflow/core/platform/tstring.h" #include "tensorflow/core/platform/types.h" namespace { // Struct that stores the status and TF_Tensor inputs to the opkernel. // Used to delete tensor and status in its destructor upon kernel return. struct Params { TF_Tensor* tags; TF_Tensor* values; TF_Status* status; explicit Params(TF_OpKernelContext* ctx) : tags(nullptr), values(nullptr), status(nullptr) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Sep 06 19:12:29 UTC 2023 - 6.2K bytes - Viewed (0) -
tensorflow/cc/training/queue_runner.h
void AddErrorCallback(const std::function<void(Status)>& cb); /// Delete the previously registered callbacks. void ClearErrorCallbacks(); /// The destructor would join all the threads. ~QueueRunner(); /// Starts the queue runner with the given session. Status Start(Session* sess); /// Starts the queue runner with the given session and sets the run arguments
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Aug 31 18:27:00 UTC 2022 - 5K bytes - Viewed (0) -
tensorflow/c/eager/abstract_operation.h
virtual ~AbstractOperation() {} public: AbstractOperationKind getKind() const { return kind_; } // Release any underlying resources, including the interface object. // // WARNING: The destructor of this class is marked as protected to disallow // clients from directly destroying this object since it may manage it's own // lifetime through ref counting. Thus this must be allocated on the heap and
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Jul 14 16:20:41 UTC 2021 - 6.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/tensorflow/calibrator/calibration_statistics_saver_op.cc
} } ~CalibrationStatisticsSaverOp() override { // Save to file during destruction so we only save it once. // TODO - b/335044516 : Find a way to flush outside of the destructor. CalibrationStatisticsMap statistics_map; for (const auto& [id, collector] : id_to_collector_) { std::optional<CalibrationStatistics> statistics = collector->GetStatistics();
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon May 13 01:31:23 UTC 2024 - 8K bytes - Viewed (0) -
tensorflow/compiler/jit/device_compiler.h
// completed by waiting for all stream executors to complete. compiler_client_->WaitForProgramsToFinish(); // Wait for all outstanding compilations to finish. // Resetting the pointer explicitly in the top level destructor. // Without this, the pointer would be reset when the AsyncCompilationState // is destructed, which is dependent on the order of the members in the // DeviceCompiler class, which is error prone if the order changes.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Feb 22 08:47:20 UTC 2024 - 22.1K bytes - Viewed (0) -
tensorflow/c/experimental/saved_model/core/tf_concrete_function_loading_test.cc
TF_EXPECT_OK(status) << status.message(); // The function should be registered with context. EXPECT_TRUE(context()->FindFunctionByName(func_name)); } // After `result's` destructor runs, the function should no longer be // registered with context. EXPECT_FALSE(context()->FindFunctionByName(func_name)); } } // namespace
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Apr 14 19:16:58 UTC 2023 - 10.6K bytes - Viewed (0) -
testing/performance/src/templates/native-dependents-resources/googleTest/libs/googleTest/1.7.0/include/gtest/internal/gtest-linked_ptr.h
// You can safely put linked_ptr<> in a vector<>. // Other uses may not be as good. // // Note: If you use an incomplete type with linked_ptr<>, the class // *containing* linked_ptr<> must have a constructor and destructor (even // if they do nothing!). // // Bill Gibbons suggested we use something like this. // // Thread Safety: // Unlike other linked_ptr implementations, in this implementation
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 7.9K bytes - Viewed (0) -
platforms/documentation/docs/src/snippets/native-binaries/google-test/groovy/libs/googleTest/1.7.0/include/gtest/gtest.h
// destructor, as: // // 1. You cannot safely throw from a destructor. This is a problem // as in some cases Google Test is used where exceptions are enabled, and // we may want to implement ASSERT_* using exceptions where they are // available. // 2. You cannot use ASSERT_* directly in a constructor or // destructor. class Environment { public:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 86.4K bytes - Viewed (0) -
src/cmd/vendor/github.com/ianlancetaylor/demangle/demangle.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 31 19:48:28 UTC 2024 - 94.1K bytes - Viewed (0)