Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 91 for cc_status (1.1 sec)

  1. 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)
  2. 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)
  3. tensorflow/c/kernels_experimental.h

        int num_dims, TF_StringView* var_name,
        void (*plugin_allocator)(TF_OpKernelContext*, TF_Tensor*, TF_DataType,
                                 const int64_t*, int, TF_Status*),
        TF_Status* tf_status);
    
    // Expose higher level temporary variable operator for Pluggable vendors to
    // implement in the plugin for destroying temporary variables. The API takes in
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Aug 07 14:44:39 UTC 2023
    - 9.4K bytes
    - Viewed (0)
  4. tensorflow/c/env.h

    TF_CAPI_EXPORT extern void TF_CreateDir(const char* dirname, TF_Status* status);
    
    // Deletes the specified directory. Typical status codes are:
    //  * TF_OK - successfully deleted the directory
    //  * TF_FAILED_PRECONDITION - the directory is not empty
    TF_CAPI_EXPORT extern void TF_DeleteDir(const char* dirname, TF_Status* status);
    
    // Deletes the specified directory and all subdirectories and files underneath
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Jan 09 02:53:27 UTC 2021
    - 9.6K bytes
    - Viewed (0)
  5. tensorflow/c/tf_status_helper.cc

            std::string value_str(value);
            TF_SetPayload(tf_status, key_str.c_str(), value_str.c_str());
          });
    }
    
    absl::Status StatusFromTF_Status(const TF_Status* tf_status) {
      absl::Status status(StatusCodeFromTSLCode(TF_GetCode(tf_status)),
                          TF_Message(tf_status));
      TF_ForEachPayload(
          tf_status,
          [](const char* key, const char* value, void* capture) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 23 06:12:29 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  6. tensorflow/c/eager/c_api_unified_experimental_eager.cc

                                                     TF_Status* s) {
      TFE_Context* c_ctx = TFE_NewContext(options, s);
      if (TF_GetCode(s) != TF_OK) {
        return nullptr;
      }
      return wrap(static_cast<AbstractContext*>(unwrap(c_ctx)));
    }
    
    TF_AbstractTensor* TF_CreateAbstractTensorFromEagerTensor(TFE_TensorHandle* t,
                                                              TF_Status* s) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 25 04:40:46 UTC 2020
    - 3.2K bytes
    - Viewed (0)
  7. tensorflow/c/experimental/filesystem/plugins/gcs/gcs_filesystem.h

    void Append(const TF_WritableFile* file, const char* buffer, size_t n,
                TF_Status* status);
    int64_t Tell(const TF_WritableFile* file, TF_Status* status);
    void Flush(const TF_WritableFile* file, TF_Status* status);
    void Sync(const TF_WritableFile* file, TF_Status* status);
    void Close(const TF_WritableFile* file, TF_Status* status);
    }  // namespace tf_writable_file
    
    namespace tf_read_only_memory_region {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Aug 31 04:37:41 UTC 2020
    - 5.2K bytes
    - Viewed (0)
  8. tensorflow/c/safe_ptr.h

    Safe_TFE_TensorHandlePtr make_safe(TFE_TensorHandle* handle);
    
    // Safe containers for an owned TF_Status. On destruction, the handle
    // will be deleted by TF_DeleteStatus.
    using Safe_TF_StatusPtr = std::unique_ptr<TF_Status, detail::TFStatusDeleter>;
    Safe_TF_StatusPtr make_safe(TF_Status* status);
    
    // Safe containers for an owned TF_Buffer. On destruction, the handle
    // will be deleted by TF_DeleteBuffer.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Mar 22 19:17:09 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  9. tensorflow/c/experimental/stream_executor/stream_executor_test_util.cc

    void CreateEvent(const SP_Device* const device, SP_Event* event,
                     TF_Status* const status) {
      *event = nullptr;
    }
    void DestroyEvent(const SP_Device* const device, SP_Event event) {}
    SE_EventStatus GetEventStatus(const SP_Device* const device, SP_Event event) {
      return SE_EVENT_UNKNOWN;
    }
    void RecordEvent(const SP_Device* const device, SP_Stream stream,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 21 20:09:00 UTC 2023
    - 8.7K bytes
    - Viewed (0)
  10. tensorflow/c/c_test_util.h

    TF_Operation* Placeholder(TF_Graph* graph, TF_Status* s,
                              const char* name = "feed",
                              TF_DataType dtype = TF_INT32,
                              const std::vector<int64_t>& dims = {});
    
    TF_Operation* Const(TF_Tensor* t, TF_Graph* graph, TF_Status* s,
                        const char* name = "const");
    
    TF_Operation* ScalarConst(bool v, TF_Graph* graph, TF_Status* s,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Aug 09 01:06:53 UTC 2018
    - 6K bytes
    - Viewed (0)
Back to top