- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 101 for chan (0.23 sec)
-
tensorflow/c/experimental/next_pluggable_device/c_api.h
// for ResourceMgr to clean up the resource. `status` will be set. TF_CAPI_EXPORT extern void TF_CreatePluginResource( TF_OpKernelContext* ctx, const char* container_name, const char* plugin_resource_name, void* plugin_resource, void (*delete_func)(void*), TF_Status* status); // If the ResourceMgr provided by the `ctx` has a resource
C - Registered: Tue Feb 27 12:39:08 GMT 2024 - Last Modified: Wed Dec 20 20:01:06 GMT 2023 - 7.2K bytes - Viewed (0) -
tensorflow/c/eager/c_api.cc
return ret; } TF_AttrType TFE_OpNameGetAttrType(TFE_Context* ctx, const char* op_or_function_name, const char* attr_name, unsigned char* is_list, TF_Status* status) { TF_AttrType ret; TFE_Op* op = TFE_NewOp(ctx, op_or_function_name, status); if (status->status.ok()) {
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Tue Mar 12 20:00:09 GMT 2024 - 43.9K bytes - Viewed (2) -
tensorflow/c/experimental/filesystem/plugins/gcs/gcs_filesystem.cc
// will be evicted on the next read. constexpr char kMaxStaleness[] = "GCS_READ_CACHE_MAX_STALENESS"; constexpr uint64_t kDefaultMaxStaleness = 0; constexpr char kStatCacheMaxAge[] = "GCS_STAT_CACHE_MAX_AGE"; constexpr uint64_t kStatCacheDefaultMaxAge = 5; // The environment variable that overrides the maximum number of entries in the // Stat cache. constexpr char kStatCacheMaxEntries[] = "GCS_STAT_CACHE_MAX_ENTRIES";
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Wed Aug 23 06:55:53 GMT 2023 - 46.9K bytes - Viewed (0) -
tensorflow/c/c_api_function_test.cc
static const char** ToArray(const std::vector<string>& strs) { const char** ptr = nullptr; if (!strs.empty()) { ptr = new const char*[strs.size()]; for (size_t i = 0; i < strs.size(); ++i) { ptr[i] = strs[i].c_str(); } } return ptr; } // An explicit `num_opers` is needed so that we can distinguish between the
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Thu Jul 20 22:08:54 GMT 2023 - 63.6K bytes - Viewed (6) -
tensorflow/c/experimental/filesystem/filesystem_interface.h
TF_Filesystem_Option_Type_Buffer, TF_Filesystem_Num_Option_Types, // must always be the last item } TF_Filesystem_Option_Type; typedef struct TF_Filesystem_Option { char* name; // null terminated, owned char* description; // null terminated, owned int per_file; // bool actually, but bool is not a C type TF_Filesystem_Option_Value* value; // owned
C - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Fri May 27 17:36:54 GMT 2022 - 53.1K bytes - Viewed (0) -
tensorflow/c/eager/c_api_experimental_reader.cc
template <typename... LabelType> int64_t TFE_MonitoringCounterReader::Read(const LabelType&... labels) { return counter->Read(labels...); } TFE_MonitoringCounterReader* TFE_MonitoringNewCounterReader(const char* name) { auto* result = new TFE_MonitoringCounterReader(name); return result; } int64_t TFE_MonitoringReadCounter0(TFE_MonitoringCounterReader* cell_reader) { int64_t result = cell_reader->Read();
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Thu Apr 20 03:14:47 GMT 2023 - 1.4K bytes - Viewed (0) -
tensorflow/c/experimental/filesystem/plugins/posix/posix_filesystem_helper.h
// `mode`. The later is only used if `dst` needs to be created. int TransferFileContents(const char* src, const char* dst, mode_t mode, off_t size); // Returns true only if `entry` points to an entry other than `.` or `..`. // // This is a filter for `scandir`. int RemoveSpecialDirectoryEntries(const struct dirent* entry); } // namespace tf_posix_filesystem
C - Registered: Tue Apr 23 12:39:09 GMT 2024 - Last Modified: Fri Nov 22 21:23:55 GMT 2019 - 1.5K bytes - Viewed (0) -
tensorflow/c/eager/c_api_unified_experimental_internal.h
static bool classof(const AbstractContext* ptr) { return ptr->getKind() == kGraph || ptr->getKind() == kMlir; } }; typedef TracingContext* (*FactoryFunction)(const char* fn_name, TF_Status*); Status SetDefaultTracingEngine(const char* name); void RegisterTracingEngineFactory(const ::tensorflow::string& name, FactoryFunction factory); } // namespace tracing
C - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Fri Nov 13 22:20:40 GMT 2020 - 5.2K bytes - Viewed (0) -
tensorflow/c/eager/c_api_remote_test_util.cc
// requests been enqueued. for (int i = 0; i < 50; ++i) { handles_task0.push_back(TestMatrixTensorHandle(ctx)); } } const char task1_name[] = "/job:localhost/replica:0/task:1/device:CPU:0"; const char task2_name[] = "/job:localhost/replica:0/task:2/device:CPU:0"; std::vector<TFE_TensorHandle*> handles_task2; for (auto* h_task0 : handles_task0) { handles_task2.push_back(
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Fri Dec 11 22:56:03 GMT 2020 - 9.1K bytes - Viewed (0) -
tensorflow/c/eager/unified_api_testutil.cc
#include "tensorflow/core/framework/tensor_shape.h" #include "tensorflow/core/lib/llvm_rtti/llvm_rtti.h" #include "tensorflow/core/platform/errors.h" namespace tensorflow { AbstractContext* BuildFunction(const char* fn_name) { std::unique_ptr<TF_Status, decltype(&TF_DeleteStatus)> status( TF_NewStatus(), TF_DeleteStatus); TF_ExecutionContext* graph_ctx = TF_CreateFunction(fn_name, status.get()); return unwrap(graph_ctx); }
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Tue Feb 27 13:57:45 GMT 2024 - 5.7K bytes - Viewed (0)