- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for street (0.14 sec)
-
tensorflow/c/c_test.c
time_t t = time(NULL); snprintf(file_name, sizeof(file_name), "test-%d-%ld.txt", getpid(), t); size_t length = 2 + strlen(path) + strlen(file_name); char* full_path = malloc(length); snprintf(full_path, length, "%s/%s", path, file_name); TF_WritableFileHandle* h; TF_Status* status = TF_NewStatus(); TF_NewWritableFile(full_path, &h, status); if (TF_GetCode(status) != TF_OK) {
C - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Wed Apr 24 20:50:35 GMT 2024 - 2.8K bytes - Viewed (0) -
src/cmd/cgo/internal/test/callback_c.c
{ extern int goReturnVal(void); return goReturnVal(); } void callGoWithString(void) { extern void goWithString(GoString); const char *str = "string passed from C to Go"; goWithString((GoString){str, strlen(str)});
C - Registered: Tue Apr 23 11:13:09 GMT 2024 - Last Modified: Fri May 12 12:00:02 GMT 2023 - 933 bytes - Viewed (0) -
src/cmd/cgo/internal/test/callback_c_gc.c
extern void crosscall2(void (*fn)(void *, int), void *, int); extern void _cgo_panic(void *, int); extern void _cgo_allocate(void *, int); void callPanic(void) { struct { const char *p; } a; a.p = "panic from C"; crosscall2(_cgo_panic, &a, sizeof a); *(int*)1 = 1;
C - Registered: Tue Apr 23 11:13:09 GMT 2024 - Last Modified: Fri May 12 12:00:02 GMT 2023 - 592 bytes - Viewed (0) -
tensorflow/c/experimental/next_pluggable_device/c_api.h
#ifdef __cplusplus extern "C" { #endif // TF_Device is a C wrapper to the C++ TF Device class. This is to be passed // through TF_OpKernelContext, and is opaque to plugin. typedef struct TF_Device TF_Device; typedef struct TF_VariableInfo TF_VariableInfo; // Returns a `TF_Device` pointer, which actually points to a C++ `Device`. // Currently we only allow `NextPluggableDevice` to be casted as `TF_Device`,
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/immediate_execution_context.h
virtual std::vector<std::string> GetLoggedOpsTestonly() { return {}; } // Get a list of the names of functions that have been registered. virtual std::vector<string> ListFunctionNames() = 0; struct CacheStats { int64_t kernel_cache_size; int64_t device_cache_size; std::map<std::string, int64_t> func_kernel_cache_entries; int64_t local_rendezvous_cache_active_size; };
C - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Thu Jul 06 08:34:00 GMT 2023 - 12.3K bytes - Viewed (0)