- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 34 for init (0.13 sec)
-
tensorflow/c/eager/parallel_device/parallel_device_testlib.h
TFE_OpSetAttrInt(op.get(), "N", num_replicas); for (int i = 0; i < num_replicas; ++i) { TFE_OpAddInput(op.get(), components[i], status); if (TF_GetCode(status) != TF_OK) return nullptr; } TFE_OpSetDevice(op.get(), device, status); if (TF_GetCode(status) != TF_OK) return nullptr; TFE_TensorHandle* result_handle; int num_retvals = 1; TFE_Execute(op.get(), &result_handle, &num_retvals, status);
C - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Tue Feb 09 01:12:35 GMT 2021 - 6.9K bytes - Viewed (0) -
tensorflow/c/eager/parallel_device/parallel_device.h
// passed to TFE_RegisterCustomDevice. The `device_name` arguments must match. void AllocateParallelDevice(const char* device_name, const char* const* underlying_devices, int num_underlying_devices, TFE_CustomDevice* device, void** device_info); } // namespace parallel_device } // namespace tensorflow
C - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Thu Jun 04 21:49:16 GMT 2020 - 2.9K bytes - Viewed (0) -
tensorflow/c/env.h
// that the system default will be used. size_t guard_size; // The NUMA node to use, -1 implies that there should be no NUMA affinity for // this thread. int numa_node; } TF_ThreadOptions; // Creates the specified directory. Typical status code are: // * TF_OK - successfully created the directory // * TF_ALREADY_EXISTS - directory already exists
C - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Sat Jan 09 02:53:27 GMT 2021 - 9.6K bytes - Viewed (0) -
src/cmd/cgo/internal/test/cthread_unix.c
#include <pthread.h> #include "_cgo_export.h" static void* addThread(void *p) { int i, max; max = *(int*)p; for(i=0; i<max; i++) Add(i); return 0; } void doAdd(int max, int nthread) { enum { MaxThread = 20 }; int i; pthread_t thread_id[MaxThread]; if(nthread > MaxThread) nthread = MaxThread; for(i=0; i<nthread; i++)
C - Registered: Tue Apr 23 11:13:09 GMT 2024 - Last Modified: Wed May 17 21:53:11 GMT 2023 - 1K bytes - Viewed (0) -
tensorflow/c/c_api_experimental.h
// TF_CAPI_EXPORT extern TF_ShapeAndTypeList* TF_NewShapeAndTypeList( int num_shapes); TF_CAPI_EXPORT extern void TF_ShapeAndTypeListSetShape( TF_ShapeAndTypeList* shape_list, int index, const int64_t* dims, int num_dims); TF_CAPI_EXPORT extern void TF_ShapeAndTypeListSetUnknownShape( TF_ShapeAndTypeList* shape_list, int index); TF_CAPI_EXPORT extern void TF_ShapeAndTypeListSetDtype(
C - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Thu Apr 27 21:07:00 GMT 2023 - 15.1K bytes - Viewed (0) -
tensorflow/c/eager/tape.h
// this by not constructing zeros to pass for those indices. std::unordered_map<string, std::unordered_set<int>>* FunctionsAcceptingNoneForIndicesMap() { static auto* const m = new std::unordered_map<string, std::unordered_set<int>>({ {"SoftmaxCrossEntropyWithLogits", {1}}, {"SparseSoftmaxCrossEntropyWithLogits", {1}}, {"FusedBatchNorm", {1, 2, 3, 4}},
C - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Tue Apr 02 12:40:29 GMT 2024 - 47.2K bytes - Viewed (1) -
tensorflow/c/experimental/filesystem/filesystem_interface.h
typedef struct TF_FilesystemPluginOps { char* scheme; int filesystem_ops_abi; int filesystem_ops_api; size_t filesystem_ops_size; TF_FilesystemOps* filesystem_ops; int random_access_file_ops_abi; int random_access_file_ops_api; size_t random_access_file_ops_size; TF_RandomAccessFileOps* random_access_file_ops; int writable_file_ops_abi; int writable_file_ops_api; size_t writable_file_ops_size;
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/abstract_operation.h
virtual Status SetAttrTypeList(const char* attr_name, const DataType* values, int num_values) = 0; virtual Status SetAttrBoolList(const char* attr_name, const unsigned char* values, int num_values) = 0; virtual Status SetAttrShapeList(const char* attr_name, const int64_t** dims,
C - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Wed Jul 14 16:20:41 GMT 2021 - 6.8K bytes - Viewed (0) -
src/cmd/cgo/internal/test/callback_c.c
{ Issue1560FromC(); } void callGoStackCheck(void) { extern void goStackCheck(void); goStackCheck(); } int returnAfterGrow(void) { extern int goReturnVal(void); goReturnVal(); return 123456; } int returnAfterGrowFromGo(void) { extern int goReturnVal(void); return goReturnVal(); } void callGoWithString(void) { extern void goWithString(GoString);
C - Registered: Tue Apr 23 11:13:09 GMT 2024 - Last Modified: Fri May 12 12:00:02 GMT 2023 - 933 bytes - Viewed (0) -
tensorflow/c/eager/c_api.h
const TF_DataType* values, int num_values); TF_CAPI_EXPORT extern void TFE_OpSetAttrShapeList( TFE_Op* op, const char* attr_name, const int64_t** dims, const int* num_dims, int num_values, TF_Status* out_status); TF_CAPI_EXPORT extern void TFE_OpSetAttrFunctionList(TFE_Op* op,
C - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Thu Apr 27 21:07:00 GMT 2023 - 22.8K bytes - Viewed (1)