- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 328 for Extern (0.11 sec)
-
tensorflow/c/eager/c_api_experimental_reader.h
TF_CAPI_EXPORT extern TFE_MonitoringCounterReader* TFE_MonitoringNewCounterReader(const char* name); // Reads the value of a counter that was created with 0 labels. TF_CAPI_EXPORT extern int64_t TFE_MonitoringReadCounter0( TFE_MonitoringCounterReader*); // Reads the value of specific cell of a counter that was created with 1 label. TF_CAPI_EXPORT extern int64_t TFE_MonitoringReadCounter1(
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 20 03:14:47 UTC 2023 - 2.3K bytes - Viewed (0) -
tensorflow/c/experimental/saved_model/public/tensor_spec.h
#include "tensorflow/c/tf_datatype.h" #include "tensorflow/c/tf_shape.h" #ifdef __cplusplus extern "C" { #endif // __cplusplus // An opaque type corresponding to TensorSpec typedef struct TF_TensorSpec TF_TensorSpec; // Returns the dtype associated with the TensorSpec. TF_CAPI_EXPORT extern TF_DataType TF_TensorSpecDataType( const TF_TensorSpec* spec);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Sep 30 17:58:21 UTC 2020 - 1.6K bytes - Viewed (0) -
src/runtime/cgo/libcgo_unix.h
/* * Initialize g->stacklo. */ extern void _cgo_set_stacklo(G *, uintptr *); /* * Call pthread_create, retrying on EAGAIN. */ extern int _cgo_try_pthread_create(pthread_t*, const pthread_attr_t*, void* (*)(void*), void*); /* * Same as _cgo_try_pthread_create, but passing on the pthread_create function. * Only defined on OpenBSD. */
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Aug 22 22:06:46 UTC 2023 - 684 bytes - Viewed (0) -
src/runtime/cgo/gcc_aix_ppc64.c
* Without it, ld might add trampolines in the middle of .text section * to reach these functions which are normally declared in runtime package. */ extern int __attribute__((longcall)) __cgo_topofstack(void); extern int __attribute__((longcall)) runtime_rt0_go(int argc, char **argv); extern void __attribute__((longcall)) _rt0_ppc64_aix_lib(void); int _cgo_topofstack(void) { return __cgo_topofstack(); }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jan 24 22:38:02 UTC 2023 - 1.3K bytes - Viewed (0) -
tensorflow/c/eager/dlpack.h
// void* for further PyCapsule construction. TF_CAPI_EXPORT extern void* TFE_HandleToDLPack(TFE_TensorHandle* h, TF_Status* status); // Converts DLPack (DLManagedTensor*) to eager tensor handle. TF_CAPI_EXPORT extern TFE_TensorHandle* TFE_HandleFromDLPack(void* dlm, TF_Status* status,
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Sat Mar 28 08:41:24 UTC 2020 - 1.6K bytes - Viewed (0) -
src/cmd/cgo/internal/test/callback_c_gc.c
//go:build gc #include "_cgo_export.h" #include <stdint.h> #include <stdio.h> #include <stdlib.h> /* Test calling panic from C. This is what SWIG does. */ 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);
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 12 12:00:02 UTC 2023 - 592 bytes - Viewed (0) -
src/runtime/testdata/testprogcgo/bigstack_windows.go
// Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package main /* typedef void callback(char*); extern void CallGoBigStack1(char*); extern void bigStack(callback*); */ import "C" func init() { register("BigStack", BigStack) } func BigStack() { // Create a large thread stack and call back into Go to test
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sat Jun 12 16:07:12 UTC 2021 - 586 bytes - Viewed (0) -
src/runtime/testdata/testprogcgo/trace_unix.c
//go:build unix // The unix C definitions for trace.go. That file uses //export so // it can't put function definitions in the "C" import comment. #include <pthread.h> #include <assert.h> extern void goCalledFromC(void); extern void goCalledFromCThread(void); static void* cCalledFromCThread(void *p) { goCalledFromCThread(); return NULL; } void cCalledFromGo(void) { goCalledFromC(); pthread_t thread;
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 30 19:18:12 UTC 2023 - 688 bytes - Viewed (0) -
tensorflow/c/tf_datatype.h
// to the given TF_DataType enum value. Returns 0 for variable length types // (eg. TF_STRING) or on failure. TF_CAPI_EXPORT extern size_t TF_DataTypeSize(TF_DataType dt); #ifdef __cplusplus } /* end extern "C" */ #endif
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Sep 08 20:13:32 UTC 2023 - 2.5K bytes - Viewed (0) -
src/cmd/cgo/internal/test/callback_c_gccgo.c
//go:build gccgo #include "_cgo_export.h" #include <stdint.h> #include <stdio.h> #include <stdlib.h> /* Test calling panic from C. This is what SWIG does. */ extern void _cgo_panic(const char *); extern void *_cgo_allocate(size_t); void callPanic(void) { _cgo_panic("panic from C");
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 12 12:00:02 UTC 2023 - 452 bytes - Viewed (0)