Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 164 for tx_status (0.24 sec)

  1. tensorflow/c/eager/c_api.cc

          return tensorflow::CustomDeviceTensorHandle::SummarizeValue(summary);
        }
        TF_Status c_status;
        std::unique_ptr<TF_Buffer, decltype(&TF_DeleteBuffer)> summary_buffer(
            methods_.summarize(data_, &c_status), TF_DeleteBuffer);
        if (!c_status.status.ok()) {
          return c_status.status;
        }
        summary = std::string(reinterpret_cast<const char*>(summary_buffer->data),
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 09 08:11:23 UTC 2024
    - 44K bytes
    - Viewed (0)
  2. tensorflow/c/tf_status_helper_test.cc

    namespace tsl {
    namespace {
    
    TEST(StatusHelper, TestStatusHelper) {
      TSL_Status* s = TSL_NewStatus();
      absl::Status cc_status(absl::InvalidArgumentError("some error"));
      cc_status.SetPayload("key1", absl::Cord("value1"));
      cc_status.SetPayload("key2", absl::Cord("value2"));
      Set_TF_Status_from_Status(s, cc_status);
      ASSERT_EQ(TSL_INVALID_ARGUMENT, TSL_GetCode(s));
      ASSERT_EQ(std::string("some error"), TSL_Message(s));
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sun Apr 14 21:57:32 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  3. tensorflow/c/experimental/stream_executor/stream_executor_internal.h

      int VisibleDeviceCount() const override {
        int visible_device_count = 0;
        tensorflow::TF_StatusPtr c_status(TF_NewStatus());
        platform_fns_.get_device_count(&platform_, &visible_device_count,
                                       c_status.get());
        if (TF_GetCode(c_status.get()) != TF_OK) {
          LOG(ERROR) << TF_Message(c_status.get());
          return 0;
        }
        return visible_device_count;
      }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Jun 14 07:39:19 UTC 2024
    - 8K bytes
    - Viewed (0)
  4. tensorflow/c/kernels_experimental.cc

      }
    
      TF_SetStatus(tf_status, TF_OK, "");
    }
    
    void TF_DestroyTemporaryVariable(TF_OpKernelContext* ctx, const int index,
                                     TF_StringView* var_name,
                                     TF_Status* tf_status) {
      auto* context = reinterpret_cast<::tensorflow::OpKernelContext*>(ctx);
      if (!IsRefType(context->input_dtype(0))) {
        tf_status->status =
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 23 06:12:29 UTC 2024
    - 30.9K bytes
    - Viewed (0)
  5. tensorflow/c/tf_status_internal.h

    #ifndef TENSORFLOW_C_TF_STATUS_INTERNAL_H_
    #define TENSORFLOW_C_TF_STATUS_INTERNAL_H_
    
    #include "xla/tsl/c/tsl_status_internal.h"
    
    typedef struct TSL_Status TF_Status;
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 12 20:00:09 UTC 2024
    - 885 bytes
    - Viewed (0)
  6. src/main/resources/mail/es_status.dfmail

    Shinsuke Sugaya <******@****.***> 1477533782 +0900
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Oct 27 02:03:02 UTC 2016
    - 291 bytes
    - Viewed (0)
  7. tensorflow/c/experimental/stream_executor/stream_executor.cc

        if (TF_GetCode(c_status.get()) != TF_OK) {
          LOG(ERROR) << TF_Message(c_status.get());
        }
        return StatusFromTF_Status(c_status.get());
      }
      bool MemcpyDeviceToDevice(Stream* stream, DeviceMemoryBase* gpu_dst,
                                const DeviceMemoryBase& gpu_src,
                                uint64 size) override {
        OwnedTFStatus c_status(TF_NewStatus());
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Jun 14 07:39:19 UTC 2024
    - 27.1K bytes
    - Viewed (0)
  8. tensorflow/c/experimental/next_pluggable_device/c_api.h

                                                    TF_Status* status);
    
    TF_CAPI_EXPORT extern void TF_AllocateTempForVariableInfo(
        TF_OpKernelContext* ctx, TF_VariableInfo* var_info, TF_Status* status);
    
    TF_CAPI_EXPORT extern TF_Tensor* TF_GetTensorFromVariableInfo(
        TF_VariableInfo* var_info, TF_Status* status);
    
    TF_CAPI_EXPORT extern void TF_DeleteVariableInfo(TF_VariableInfo* var_info);
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Dec 20 20:01:06 UTC 2023
    - 7.2K bytes
    - Viewed (0)
  9. tensorflow/c/eager/c_api_unified_experimental.h

                                TF_Status* s);
    // `op_name` must outlive `op`.
    void TF_AbstractOpSetOpName(TF_AbstractOp* op, const char* const op_name,
                                TF_Status* s);
    // `attr_name` must outlive `op`.
    void TF_AbstractOpSetAttrType(TF_AbstractOp* op, const char* const attr_name,
                                  TF_DataType value, TF_Status* s);
    
    void TF_DeleteAbstractTensor(TF_AbstractTensor*);
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sun Oct 24 11:27:00 UTC 2021
    - 7K bytes
    - Viewed (0)
  10. tensorflow/c/env.cc

    #include "tensorflow/c/c_api_macros.h"
    #include "tensorflow/c/tf_status.h"
    #include "tensorflow/c/tf_status_helper.h"
    #include "tensorflow/core/platform/env.h"
    #include "tensorflow/core/platform/path.h"
    #include "tensorflow/core/platform/types.h"
    
    struct TF_StringStream {
      std::vector<::tensorflow::string>* list;
      size_t position;
    };
    
    void TF_CreateDir(const char* dirname, TF_Status* status) {
      TF_SetStatus(status, TF_OK, "");
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Aug 11 01:20:50 UTC 2021
    - 7K bytes
    - Viewed (0)
Back to top