- Sort Score
- Result 10 results
- Languages All
Results 141 - 150 of 231 for dotypedef (0.22 sec)
-
tensorflow/c/tf_tensor.h
#include "tensorflow/c/c_api_macros.h" #include "tensorflow/c/tf_datatype.h" #include "tensorflow/c/tf_status.h" #ifdef __cplusplus extern "C" { #endif // Allocator Attributes used for tensor allocation. typedef struct TF_AllocatorAttributes { size_t struct_size; // Set boolean to 1 for CPU allocation, else 0. TF_Bool on_host; } TF_AllocatorAttributes; #define TF_ALLOCATOR_ATTRIBUTES_STRUCT_SIZE \
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Mar 06 16:40:30 UTC 2024 - 6.3K bytes - Viewed (0) -
tensorflow/c/tf_buffer.h
// // By default, TF_Buffer itself does not do any memory management of the // pointed-to block. If need be, users of this struct should specify how to // deallocate the block by setting the `data_deallocator` function pointer. typedef struct TF_Buffer { const void* data; size_t length; void (*data_deallocator)(void* data, size_t length); } TF_Buffer; // Makes a copy of the input and sets an appropriate deallocator. Useful for
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 27 21:07:00 UTC 2023 - 2K bytes - Viewed (0) -
tensorflow/cc/experimental/base/tests/tensor_types_test_util.h
#include <stdint.h> #include "tensorflow/c/tf_datatype.h" namespace tensorflow { // Each of the following struct types have two members: a kDType that // corresponds to a TF_Datatype enum value, and a typedef "type" // of its corresponding C++ type. These types allow us to write Dtype-agnostic // tests via GoogleTest's TypedTests:
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Aug 31 00:34:05 UTC 2022 - 2.2K bytes - Viewed (0) -
src/cmd/cgo/internal/testsanitizers/testdata/msan6.go
// when the stack is used for something else. Issue 26209. /* #cgo LDFLAGS: -fsanitize=memory #cgo CPPFLAGS: -fsanitize=memory #include <stdint.h> #include <stdlib.h> #include <string.h> typedef struct { uintptr_t a[20]; } S; S f() { S *p; p = (S *)(malloc(sizeof(S))); p->a[0] = 0; return *p; } */ import "C" // allocateStack extends the stack so that stack copying doesn't
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 12 11:59:56 UTC 2023 - 1.4K bytes - Viewed (0) -
src/runtime/cgo/gcc_sigaction.c
#include "libcgo.h" // go_sigaction_t is a C version of the sigactiont struct from // defs_linux_amd64.go. This definition — and its conversion to and from struct // sigaction — are specific to linux/amd64. typedef struct { uintptr_t handler; uint64_t flags; uintptr_t restorer; uint64_t mask; } go_sigaction_t; // SA_RESTORER is part of the kernel interface. // This is Linux i386/amd64 specific. #ifndef SA_RESTORER
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jan 24 22:38:02 UTC 2023 - 2.1K bytes - Viewed (0) -
tensorflow/c/experimental/filesystem/plugins/gcs/ram_file_block_cache.h
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Aug 31 04:46:34 UTC 2020 - 10.6K bytes - Viewed (0) -
tensorflow/c/kernels.h
// `TF_RegisterKernelBuilder`, which will allow TF to construct user-provided // kernels when necessary. typedef struct TF_KernelBuilder TF_KernelBuilder; typedef struct TF_OpKernelConstruction TF_OpKernelConstruction; typedef struct TF_OpKernelContext TF_OpKernelContext; typedef struct TF_AsyncOpKernelDoneCallback TF_AsyncOpKernelDoneCallback; // Run callback function for async kernel.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Jan 09 22:46:22 UTC 2024 - 24.6K bytes - Viewed (0) -
tensorflow/c/eager/c_api_experimental_reader.h
// // auto* reader = TFE_MonitoringNewCounterReader("name"); // test(); // int64_t value = TFE_MonitoringReadCounter1(reader, "label-value"); // Opaque handle to a reader. typedef struct TFE_MonitoringCounterReader TFE_MonitoringCounterReader; // Returns a handle to be used for reading values from streamz counter. The // counter can have been created with any number of labels.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 20 03:14:47 UTC 2023 - 2.3K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/api/internal/project/IsolatedAntBuilder.java
*/ public interface IsolatedAntBuilder { /** * Creates a copy of this builder which uses the given libraries. These classes are visible for use in * taskdef/typedef tasks. * * @param classpath The library classpath * @return a copy of this builder */ IsolatedAntBuilder withClasspath(Iterable<File> classpath); /**
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Feb 02 18:37:54 UTC 2023 - 1.6K bytes - Viewed (0) -
src/crypto/internal/boring/div_test.c
// but any crypto code that depends on the speed of // division is equally dumb. //go:build ignore #include <stdio.h> #include <stdint.h> #define nelem(x) (sizeof(x)/sizeof((x)[0])) typedef uint32_t u32; static u32 div(u32 x, u32 y, u32 *rp) { int n = 0; while((y>>(32-1)) != 1 && y < x) { y<<=1; n++; } u32 q = 0; for(;; n--, y>>=1, q<<=1) { if(x>=y) { x -= y; q |= 1;
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Aug 18 21:28:09 UTC 2022 - 1.4K bytes - Viewed (0)