- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 207 for cc_status (0.8 sec)
-
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_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/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) -
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/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/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_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)