- Sort Score
- Result 10 results
- Languages All
Results 1 - 9 of 9 for CancellationManager (0.35 sec)
-
tensorflow/c/eager/tfe_cancellation_manager_internal.h
#include "tensorflow/core/framework/cancellation.h" struct TFE_CancellationManager; typedef struct TFE_CancellationManager TFE_CancellationManager; namespace tensorflow { DEFINE_CONVERSION_FUNCTIONS(tensorflow::CancellationManager, TFE_CancellationManager); DEFINE_CONVERSION_FUNCTIONS(tensorflow::CancellationManager*, TFE_CancellationManager*); } // namespace tensorflow
C - Registered: Tue Apr 23 12:39:09 GMT 2024 - Last Modified: Tue Feb 02 18:56:02 GMT 2021 - 1.3K bytes - Viewed (0) -
tensorflow/c/eager/c_api_experimental.h
TF_CAPI_EXPORT extern bool TFE_CancellationManagerIsCancelling( TFE_CancellationManager*); TF_CAPI_EXPORT extern void TFE_CancellationManagerStartCancel( TFE_CancellationManager*); TF_CAPI_EXPORT extern TFE_CancellationToken TFE_CancellationManagerGetToken( TFE_CancellationManager*); TF_CAPI_EXPORT extern bool TFE_CancellationManagerRegisterCallback( TFE_CancellationManager*, TFE_CancellationToken token,
C - Registered: Tue Apr 23 12:39:09 GMT 2024 - Last Modified: Wed Feb 21 22:37:46 GMT 2024 - 39.5K bytes - Viewed (0) -
tensorflow/c/eager/c_api_experimental.cc
} TFE_CancellationManager* TFE_NewCancellationManager() { return tensorflow::wrap(new tensorflow::CancellationManager); } void TFE_CancellationManagerStartCancel( TFE_CancellationManager* cancellation_manager) { tensorflow::unwrap(cancellation_manager)->StartCancel(); } bool TFE_CancellationManagerIsCancelled( TFE_CancellationManager* cancellation_manager) {
C++ - Registered: Tue Apr 23 12:39:09 GMT 2024 - Last Modified: Thu Apr 11 23:52:39 GMT 2024 - 35.9K bytes - Viewed (3) -
tensorflow/c/eager/parallel_device/parallel_device_lib.cc
void StartExecute(TFE_Context* context, const char* operation_name, std::vector<TFE_TensorHandle*> inputs, const TFE_OpAttrs* attributes, int expected_max_outputs, CancellationManager& cancellation_manager, absl::optional<int64_t> step_id = absl::nullopt); // Block until the previous `StartExecute` operation has executed. Forwards
C++ - Registered: Tue Apr 23 12:39:09 GMT 2024 - Last Modified: Fri Feb 09 07:47:20 GMT 2024 - 25.4K bytes - Viewed (1) -
tensorflow/c/eager/parallel_device/parallel_device_lib.h
const std::vector<ParallelTensor*>& inputs, const char* operation_name, const TFE_OpAttrs* attributes, int expected_max_outputs, CancellationManager& cancellation_manager, std::optional<int64_t> step_id = std::nullopt) const; void StartExecute(TFE_Context* context, const std::vector<std::vector<TFE_TensorHandle*>>& inputs,
C - Registered: Tue Apr 23 12:39:09 GMT 2024 - Last Modified: Tue Apr 25 15:21:13 GMT 2023 - 12.9K bytes - Viewed (0) -
tensorflow/c/eager/immediate_execution_operation.h
virtual const tensorflow::AbstractOpAttrs* GetOpAttrs() const = 0; virtual void AddAttrs(const AbstractOpAttrs* op_attrs) = 0; virtual void SetCancellationManager( CancellationManager* cancellation_manager) = 0; // Returns the stack trace set by `SetStackTrace` if exists. virtual absl::optional<ManagedStackTrace> GetStackTrace() = 0; virtual void SetStepId(int64_t step_id) = 0;
C - Registered: Tue Apr 23 12:39:09 GMT 2024 - Last Modified: Mon Sep 26 22:40:32 GMT 2022 - 3.6K bytes - Viewed (0) -
tensorflow/c/eager/c_api_experimental_test.cc
TF_DeleteBuffer(result2); TFE_MonitoringDeleteSampler2(sampler2); TFE_MonitoringDeleteBuckets(buckets); TF_DeleteStatus(status); } TEST(CAPI, CancellationManager) { TFE_CancellationManager* c_mgr = TFE_NewCancellationManager(); EXPECT_FALSE(TFE_CancellationManagerIsCancelled(c_mgr)); TFE_CancelCallback callback1; callback1.callback = [](void* context) {
C++ - Registered: Tue Apr 23 12:39:09 GMT 2024 - Last Modified: Thu Aug 03 03:14:26 GMT 2023 - 31.5K bytes - Viewed (1) -
tensorflow/c/eager/parallel_device/parallel_device_lib_test.cc
TFE_OpSetAttrShape(handle_op.get(), "shape", /*dims=*/nullptr, /*num_dims=*/0, status.get()); ASSERT_TRUE(TF_GetCode(status.get()) == TF_OK) << TF_Message(status.get()); CancellationManager cancellation_manager; parallel_device.StartExecute(context.get(), std::vector<ParallelTensor*>(), "VarHandleOp", TFE_OpGetAttrs(handle_op.get()),
C++ - Registered: Tue Apr 23 12:39:09 GMT 2024 - Last Modified: Thu Jul 08 23:47:35 GMT 2021 - 15.3K bytes - Viewed (0) -
tensorflow/c/eager/BUILD
], visibility = [ "//tensorflow:internal", ], deps = [ ":tfe_tensorhandle_internal", ], ) cc_header_only_library( name = "tfe_cancellationmanager_internal_hdrs_only", extra_deps = [ "@com_google_absl//absl/strings", ], visibility = [ "//tensorflow:internal", ], deps = [
Plain Text - Registered: Tue Apr 23 12:39:09 GMT 2024 - Last Modified: Thu Apr 11 23:52:39 GMT 2024 - 33.3K bytes - Viewed (0)