- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 38 for TF_Buffer (0.25 sec)
-
tensorflow/c/experimental/next_pluggable_device/c_api.cc
status->status = cc_status; } TF_Buffer* ProcessGetKeyValueResult(absl::StatusOr<std::string> value, TF_Status* status) { status->status = value.status(); if (!value.ok()) { return nullptr; } // Caller is responsible to call `TF_DeleteBuffer` to release the buffer. TF_Buffer* result = TF_NewBuffer(); const std::string& value_str = *value;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Apr 22 05:48:24 UTC 2024 - 13.9K bytes - Viewed (0) -
tensorflow/c/c_api.cc
TF_Buffer* ret = TF_NewBuffer(); status->status = MessageToBuffer(kernel_list, ret); if (!status->status.ok()) { TF_DeleteBuffer(ret); return nullptr; } return ret; } TF_Buffer* TF_GetRegisteredKernelsForOp(const char* name, TF_Status* status) { tensorflow::KernelList kernel_list = tensorflow::GetRegisteredKernelsForOp(name); TF_Buffer* ret = TF_NewBuffer();
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Apr 15 03:35:10 UTC 2024 - 102.3K bytes - Viewed (0) -
tensorflow/c/python_api.cc
TF_Buffer* attr_value_proto, TF_Status* status) { TF_SetAttr(graph, op, attr_name, attr_value_proto, status); } void ClearAttr(TF_Graph* graph, TF_Operation* op, const char* attr_name, TF_Status* status) { TF_ClearAttr(graph, op, attr_name, status); } void SetFullType(TF_Graph* graph, TF_Operation* op, const TF_Buffer* full_type_proto) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Jul 12 18:48:56 UTC 2023 - 3.5K bytes - Viewed (0) -
tensorflow/c/c_api.h
TF_Buffer* output_op_def, TF_Status* status); // Returns the serialized VersionDef proto for this graph. TF_CAPI_EXPORT extern void TF_GraphVersions(TF_Graph* graph, TF_Buffer* output_version_def, TF_Status* status);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Oct 26 21:08:15 UTC 2023 - 82.3K bytes - Viewed (0) -
tensorflow/c/eager/c_api_experimental.h
TF_Buffer* buf, TF_Status* status); // Get GraphDebugInfo containing stack traces mapping to node names TF_CAPI_EXPORT extern void TFE_ContextGetGraphDebugInfo( TFE_Context* ctx, const char* function_name, TF_Buffer* buf, TF_Status* status); // Extracts a TF_Function from the context.
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/parallel_device/parallel_device_lib_test.cc
TF_NewStatus(), TF_DeleteStatus); std::unique_ptr<TFE_ContextOptions, decltype(&TFE_DeleteContextOptions)> opts( TFE_NewContextOptions(), TFE_DeleteContextOptions); std::unique_ptr<TF_Buffer, decltype(&TF_DeleteBuffer)> config( TF_CreateConfig( /*xla*/ false, /* gpu_memory_allow_growth */ true, /* num_cpu_devices */ 2), TF_DeleteBuffer);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Jul 08 23:47:35 UTC 2021 - 15.3K bytes - Viewed (0) -
tensorflow/c/python_api.h
// Changes an attr value in the node_def Protocol Buffer and sets a status upon // completion. void SetAttr(TF_Graph* graph, TF_Operation* op, const char* attr_name, TF_Buffer* attr_value_proto, TF_Status* status); // Clears the attr in the node_def Protocol Buffer and sets a status upon // completion. void ClearAttr(TF_Graph* graph, TF_Operation* op, const char* attr_name,
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Jul 12 18:48:56 UTC 2023 - 3.5K bytes - Viewed (0) -
tensorflow/c/safe_ptr.cc
Safe_TFE_TensorHandlePtr make_safe(TFE_TensorHandle* handle) { return Safe_TFE_TensorHandlePtr(handle); } Safe_TF_StatusPtr make_safe(TF_Status* status) { return Safe_TF_StatusPtr(status); } Safe_TF_BufferPtr make_safe(TF_Buffer* buffer) { return Safe_TF_BufferPtr(buffer); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Mar 22 19:17:09 UTC 2023 - 1.1K bytes - Viewed (0) -
tensorflow/c/eager/parallel_device/parallel_device_test.cc
TF_NewStatus(), TF_DeleteStatus); std::unique_ptr<TFE_ContextOptions, decltype(&TFE_DeleteContextOptions)> opts( TFE_NewContextOptions(), TFE_DeleteContextOptions); std::unique_ptr<TF_Buffer, decltype(&TF_DeleteBuffer)> config( TF_CreateConfig( /*enable_xla_compilation=*/false, /*gpu_memory_allow_growth=*/true, /*num_cpu_devices=*/2), TF_DeleteBuffer);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Jul 08 23:47:35 UTC 2021 - 29.3K bytes - Viewed (0) -
tensorflow/c/eager/c_api_experimental.cc
const char* value) { cell->cell.Set({value}); } const void TFE_MonitoringStringGaugeCellValue( TFE_MonitoringStringGaugeCell* cell, TF_Buffer* buf) { tensorflow::string value = cell->cell.value(); void* data = tensorflow::port::Malloc(value.length()); value.copy(static_cast<char*>(data), value.length(), 0); buf->data = data;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 11 23:52:39 UTC 2024 - 35.9K bytes - Viewed (0)