- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 183 for tf_status (0.21 sec)
-
tensorflow/c/eager/c_api_experimental.cc
TF_Status* status) { tensorflow::unwrap(ctx)->SetRunEagerOpAsFunction(enable); } void TFE_ContextSetJitCompileRewrite(TFE_Context* ctx, unsigned char enable, TF_Status* status) { tensorflow::unwrap(ctx)->SetJitCompileRewrite(enable); } const char* TFE_TensorHandleDeviceType(TFE_TensorHandle* h, TF_Status* status) { if (h == nullptr) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 11 23:52:39 UTC 2024 - 35.9K bytes - Viewed (0) -
tensorflow/c/experimental/stream_executor/stream_executor.h
void (*create_stream_dependency)(const SP_Device* device, SP_Stream dependent, SP_Stream other, TF_Status* status); // Without blocking the device, retrieve the current stream status. void (*get_stream_status)(const SP_Device* device, SP_Stream stream, TF_Status* status); /*** EVENT CALLBACKS ***/ // Create SP_Event. Performs platform-specific allocation and initialization
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Aug 24 08:40:35 UTC 2022 - 21.6K bytes - Viewed (0) -
tensorflow/c/kernels.cc
TF_Status* status) { auto* cc_ctx = reinterpret_cast<::tensorflow::OpKernelConstruction*>(ctx); tensorflow::NameAttrList function; auto cc_status = cc_ctx->GetAttr(attr_name, &function); if (!cc_status.ok()) { tsl::Set_TF_Status_from_Status(status, cc_status); return nullptr; } TF_Buffer* buffer = TF_NewBuffer(); cc_status = tensorflow::MessageToBuffer(function, buffer);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue May 28 22:53:47 UTC 2024 - 36K bytes - Viewed (0) -
tensorflow/c/experimental/grappler/grappler.cc
params.patch_version = GO_PATCH; params.optimizer = &optimizer; params.optimizer_configs = &optimizer_configs; OwnedTFStatus c_status(TF_NewStatus()); init_fn(¶ms, c_status.get()); TF_RETURN_IF_ERROR(tsl::StatusFromTF_Status(c_status.get())); TF_RETURN_IF_ERROR(ValidateTPOptimizerRegistrationParams(params)); TF_RETURN_IF_ERROR(ValidateTPOptimizer(optimizer));
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Sep 06 19:12:29 UTC 2023 - 15K bytes - Viewed (0) -
tensorflow/c/kernels.h
TF_CAPI_EXPORT extern void TF_GetInput(TF_OpKernelContext* ctx, int i, TF_Tensor** tensor, TF_Status* status); typedef struct { size_t struct_size; void* priv; // Not used, for possible extension. int start; // output int stop; // output TF_Status* status; // output } TF_InputRange_Args; const size_t TF_InputRange_Args_STRUCT_SIZE =
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Jan 09 22:46:22 UTC 2024 - 24.6K bytes - Viewed (0) -
tensorflow/c/eager/c_api_experimental.h
TF_Status* status); // This API is for experimental usage and may be subject to change. TF_CAPI_EXPORT extern void TFE_ContextUpdateServerDefWithTimeout( TFE_Context* ctx, int keep_alive_secs, const void* proto, size_t proto_len, int64_t init_timeout_in_ms, TF_Status* status); // This API is for experimental usage and may be subject to change.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Feb 21 22:37:46 UTC 2024 - 39.5K bytes - Viewed (0) -
tensorflow/c/eager/c_api_test_util.cc
#include "tensorflow/core/util/port.h" using tensorflow::string; using tensorflow::tstring; TFE_TensorHandle* TestScalarTensorHandle(TFE_Context* ctx, float value) { float data[] = {value}; TF_Status* status = TF_NewStatus(); TF_Tensor* t = TFE_AllocateHostTensor(ctx, TF_FLOAT, nullptr, 0, status); memcpy(TF_TensorData(t), &data[0], TF_TensorByteSize(t));
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Feb 21 22:37:46 UTC 2024 - 23.5K bytes - Viewed (0) -
tensorflow/c/eager/parallel_device/parallel_device_testlib.h
const char* device, TF_Status* status); // Dereferences the backing buffer for the variable. Note that since this can // fail (it runs operations), it must be called explicitly and the resulting // `status` checked. void Destroy(TFE_Context* context, TF_Status* status); // Reads from the variable. TensorHandlePtr Read(TFE_Context* context, TF_Status* status); // Assigns a new value to the variable.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Feb 09 01:12:35 UTC 2021 - 6.9K bytes - Viewed (0) -
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) -
tensorflow/c/c_api.h
const TF_SessionOptions*, TF_Status* status); TF_CAPI_EXPORT extern void TF_CloseDeprecatedSession(TF_DeprecatedSession*, TF_Status* status); TF_CAPI_EXPORT extern void TF_DeleteDeprecatedSession(TF_DeprecatedSession*, TF_Status* status); TF_CAPI_EXPORT extern void TF_Reset(const TF_SessionOptions* opt,
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Oct 26 21:08:15 UTC 2023 - 82.3K bytes - Viewed (0)