- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 183 for tf_status (0.11 sec)
-
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) -
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) -
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) -
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) -
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) -
tensorflow/c/ops.cc
TF_Status* status)) { auto* cc_builder = reinterpret_cast<OpDefBuilder*>(builder); cc_builder->SetShapeFn( [shape_inference_func](InferenceContext* ctx) -> tensorflow::Status { TF_Status* c_status = TF_NewStatus(); auto c_ctx = reinterpret_cast<TF_ShapeInferenceContext*>(ctx); shape_inference_func(c_ctx, c_status);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Jul 28 22:41:35 UTC 2022 - 10.9K bytes - Viewed (0) -
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) -
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) -
tensorflow/c/experimental/stream_executor/stream_executor_test.cc
TF_Status* const status) -> void { *stream = new SP_Stream_st(1); }; se_.destroy_stream = [](const SP_Device* const device, SP_Stream stream) -> void { delete stream; }; se_.create_event = [](const SP_Device* const device, SP_Event* event, TF_Status* const status) -> void { *event = new SP_Event_st(2); };
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon May 20 19:54:04 UTC 2024 - 26.5K bytes - Viewed (0) -
tensorflow/c/eager/c_api.h
TF_Status* status); TF_CAPI_EXPORT extern void TFE_OpSetDevice(TFE_Op* op, const char* device_name, TF_Status* status); // The returned string remains valid throughout the lifetime of 'op'. TF_CAPI_EXPORT extern const char* TFE_OpGetDevice(const TFE_Op* op, TF_Status* status);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 27 21:07:00 UTC 2023 - 22.8K bytes - Viewed (0)