Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for mantler (0.2 sec)

  1. tensorflow/c/eager/parallel_device/parallel_device_lib.h

      // re-use a thread.
      std::vector<std::unique_ptr<DeviceThread>> device_threads_;
      // A cancellation manager to use if the caller does not provide one. When ops
      // are executed asynchronously this must outlive the queued op, so it can't be
      // function-local to Execute.
      mutable std::unique_ptr<CancellationManager> default_cancellation_manager_;
    };
    
    // Contains a tuple of tensors, one on each of the `underlying_devices_` of the
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Tue Apr 25 15:21:13 GMT 2023
    - 12.9K bytes
    - Viewed (0)
  2. 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 30 12:39:09 GMT 2024
    - Last Modified: Tue Feb 02 18:56:02 GMT 2021
    - 1.3K bytes
    - Viewed (0)
  3. 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 30 12:39:09 GMT 2024
    - Last Modified: Wed Feb 21 22:37:46 GMT 2024
    - 2.9K bytes
    - Viewed (0)
  4. tensorflow/c/c_api_macros_internal.h

    // `struct_size` is used for struct member compatibility check between core TF
    // and plug-ins with the same C API minor version. More info here:
    // https://github.com/tensorflow/community/blob/master/rfcs/20200612-stream-executor-c-api/C_API_versioning_strategy.md
    #define TF_VALIDATE_STRUCT_SIZE(STRUCT_NAME, STRUCT_OBJ, SIZE_VALUE_NAME) \
      do {                                                                    \
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Mar 13 17:40:56 GMT 2023
    - 2.5K bytes
    - Viewed (0)
  5. tensorflow/c/experimental/filesystem/plugins/gcs/cleanup.h

    //
    // Example:
    //   void func() {
    //     FILE* fp = fopen("data.txt", "r");
    //     if (fp == nullptr) return;
    //     auto fp_cleaner = gtl::MakeCleanup([fp] { fclose(fp); });
    //     // No matter what, fclose(fp) will happen.
    //     DataObject d;
    //     while (ReadDataObject(fp, &d)) {
    //       if (d.IsBad()) {
    //         LOG(ERROR) << "Bad Data";
    //         return;
    //       }
    //       PushGoodData(d);
    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)
  6. tensorflow/c/eager/c_api.h

    // Destroy an options object.
    TF_CAPI_EXPORT extern void TFE_DeleteContextOptions(TFE_ContextOptions*);
    
    // "Context" under which operations/functions are executed. It encapsulates
    // things like the available devices, resource manager etc.
    // TFE_Context must outlive all tensor handles created using it. In other
    // words, TFE_DeleteContext() must be called after all tensor handles have
    // been deleted (with TFE_DeleteTensorHandle).
    //
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Apr 27 21:07:00 GMT 2023
    - 22.8K bytes
    - Viewed (1)
  7. tensorflow/c/eager/c_api_internal.h

    #define TENSORFLOW_C_EAGER_C_API_INTERNAL_H_
    
    #include "tensorflow/c/c_api_internal.h"
    #include "tensorflow/c/eager/c_api.h"
    #include "tensorflow/c/eager/c_api_experimental.h"
    #include "tensorflow/c/eager/tfe_cancellation_manager_internal.h"  // IWYU pragma: export
    #include "tensorflow/c/eager/tfe_executor_internal.h"  // IWYU pragma: export
    #include "tensorflow/c/eager/tfe_monitoring_internal.h"  // IWYU pragma: export
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Jan 18 19:26:34 GMT 2023
    - 1.9K bytes
    - Viewed (0)
  8. tensorflow/c/eager/tape.h

          // TODO(allenl): Figure out why using zeros_like everywhere causes issues
          // for some gradient functions and if there's another way to work around
          // it (e.g. conds instead of ifs). The value shouldn't really matter.
          TF_RETURN_IF_ERROR(vspace_.BuildOnesLike(output_tensor, &aid));
        }
        if (TF_PREDICT_FALSE(aid == nullptr)) {
          return tensorflow::errors::Internal(
    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)
  9. 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 30 12:39:09 GMT 2024
    - Last Modified: Mon Sep 26 22:40:32 GMT 2022
    - 3.6K bytes
    - Viewed (0)
  10. 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 30 12:39:09 GMT 2024
    - Last Modified: Wed Feb 21 22:37:46 GMT 2024
    - 39.5K bytes
    - Viewed (0)
Back to top