Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 32 for manager (0.19 sec)

  1. tensorflow/c/eager/tfe_cancellation_manager_internal.h

    limitations under the License.
    ==============================================================================*/
    #ifndef TENSORFLOW_C_EAGER_TFE_CANCELLATION_MANAGER_INTERNAL_H_
    #define TENSORFLOW_C_EAGER_TFE_CANCELLATION_MANAGER_INTERNAL_H_
    
    #include "tensorflow/c/conversion_macros.h"
    #include "tensorflow/core/framework/cancellation.h"
    
    struct TFE_CancellationManager;
    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)
  2. tensorflow/c/eager/immediate_execution_distributed_manager.h

    limitations under the License.
    ==============================================================================*/
    
    #ifndef TENSORFLOW_C_EAGER_IMMEDIATE_EXECUTION_DISTRIBUTED_MANAGER_H_
    #define TENSORFLOW_C_EAGER_IMMEDIATE_EXECUTION_DISTRIBUTED_MANAGER_H_
    
    #include <cstdint>
    #include <string>
    
    #include "tensorflow/core/platform/status.h"
    
    namespace tsl {
    class CoordinationServiceAgent;
    }
    
    namespace tensorflow {
    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)
  3. tensorflow/c/eager/c_api_experimental.cc

        TFE_CancellationManager* cancellation_manager) {
      tensorflow::unwrap(cancellation_manager)->StartCancel();
    }
    
    bool TFE_CancellationManagerIsCancelled(
        TFE_CancellationManager* cancellation_manager) {
      return tensorflow::unwrap(cancellation_manager)->IsCancelled();
    }
    
    bool TFE_CancellationManagerIsCancelling(
        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)
  4. tensorflow/c/eager/immediate_execution_context.h

      virtual bool UsesTFRT() = 0;
    
      // List attributes of available devices
      virtual void ListDevices(std::vector<DeviceAttributes>* devices) = 0;
    
      // Add `devices` into context's device manager. Context's device manager
      // will take ownership and maintain devices' lifetime.
      virtual Status AddDevices(std::vector<std::unique_ptr<Device>> devices) = 0;
    
      // Block until all pending nodes are finished.
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Thu Jul 06 08:34:00 GMT 2023
    - 12.3K bytes
    - Viewed (0)
  5. tensorflow/c/eager/BUILD

            ],
            "//conditions:default": [
                ":immediate_execution_context",
                ":immediate_execution_distributed_manager",
                ":immediate_execution_operation",
                ":immediate_execution_tensor_handle",
                ":tfe_cancellation_manager_internal",
                ":tfe_context_internal",
                ":tfe_executor_internal",
                ":tfe_monitoring_internal",
    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)
  6. 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;
    
      // For LLVM style RTTI.
    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)
  7. tensorflow/c/eager/dlpack.cc

        return nullptr;
      }
      return tensor;
    }
    
    // Deleter for DLManagedTensor
    void DLManagedTensorDeleter(DLManagedTensor* arg) {
      TfDlManagedTensorCtx* owner =
          static_cast<TfDlManagedTensorCtx*>(arg->manager_ctx);
      owner->reference.Unref();
      delete owner;
    }
    
    // Converts TF_DATAType to DLPack data type.
    DLDataType GetDlDataType(TF_DataType data_type, TF_Status* status) {
      DLDataType dtype;
      dtype.lanes = 1;
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Thu Feb 15 09:49:45 GMT 2024
    - 12.8K bytes
    - Viewed (0)
  8. tensorflow/c/eager/parallel_device/parallel_device_lib.cc

        operation_name_ = operation_name;
        step_id_ = step_id;
        op_inputs_ = inputs;
        attributes_ = attributes;
        expected_max_outputs_ = expected_max_outputs;
        cancellation_manager_ = &cancellation_manager;
        execution_state_ = ExecutionState::kReadyToExecute;
      }
      start_execute_.notify_one();
    }
    
    std::vector<TensorHandlePtr> DeviceThread::Join(TF_Status* status) {
    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)
  9. tensorflow/c/eager/c_api_experimental.h

    // Associates the given `cancellation_manager` with `op`, so that invoking
    // `TFE_CancellationManagerStartCancel(cancellation_manager)` will cancel the
    // execution of `op`.
    typedef struct TFE_CancellationManager TFE_CancellationManager;
    TF_CAPI_EXPORT extern void TFE_OpSetCancellationManager(
        TFE_Op* op, TFE_CancellationManager* cancellation_manager,
        TF_Status* status);
    
    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)
  10. tensorflow/c/eager/parallel_device/BUILD

            "//tensorflow/c:safe_ptr",
            "//tensorflow/c:tf_status_internal",
            "//tensorflow/c/eager:c_api",
            "//tensorflow/c/eager:c_api_experimental",
            "//tensorflow/c/eager:tfe_cancellation_manager_internal",
            "//tensorflow/c/eager:tfe_op_internal",
            "//tensorflow/c/eager:tfe_tensorhandle_internal",
            "//tensorflow/core:framework",
            "//tensorflow/core:lib",
    Plain Text
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Mon Apr 01 20:19:06 GMT 2024
    - 4.8K bytes
    - Viewed (0)
Back to top