- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 20 for from (0.14 sec)
-
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");
C - Registered: Tue Apr 23 11:13:09 GMT 2024 - Last Modified: Fri May 12 12:00:02 GMT 2023 - 452 bytes - Viewed (0) -
tensorflow/c/eager/c_api_experimental.h
TF_Status* status); // Enables only graph collection in RunMetadata on the functions executed from // this context. TF_CAPI_EXPORT extern void TFE_ContextEnableGraphCollection(TFE_Context* ctx); // Disables only graph collection in RunMetadata on the functions executed from // this context. TF_CAPI_EXPORT extern void TFE_ContextDisableGraphCollection(TFE_Context* ctx);
C - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Wed Feb 21 22:37:46 GMT 2024 - 39.5K bytes - Viewed (0) -
tensorflow/c/eager/parallel_device/parallel_device_lib.h
// its corresponding inputs from the input ParallelTensors. Wraps the // resulting per-device and per-output TFE_TensorHandles into one // ParallelTensor per output of the original operation. // // Attributes are forwarded to executed operations unmodified. // // The returned optional has a value if and only if `status` evaluates to // TF_OK. Bad statuses are forwarded from underlying `TFE_Execute` calls, or
C - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Tue Apr 25 15:21:13 GMT 2023 - 12.9K bytes - Viewed (0) -
tensorflow/c/eager/c_api_experimental_reader.h
#include "tensorflow/c/eager/c_api.h" #ifdef __cplusplus extern "C" { #endif // Test only exports of the monitoring Cell Reader API which allows tests to // read current values from streamz counters defined in other modules. // // The code under test will have created streamz counters like this: // auto* streamz = tensorflow::monitoring::Counter<1>::New("name", // "description", "label");
C - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Thu Apr 20 03:14:47 GMT 2023 - 2.3K bytes - Viewed (0) -
tensorflow/c/c_api.h
// control inputs). In other words, for every node in the body, each input // must be either listed in `inputs` or must come from another node in // the body. In particular, it is an error to have a control edge going from // a node outside of the body into a node in the body. This applies to control // edges going from nodes referenced in `inputs` to nodes in the body when // the former nodes are not in the body (automatically skipped or not
C - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Thu Oct 26 21:08:15 GMT 2023 - 82.3K bytes - Viewed (3) -
tensorflow/c/eager/c_api_test_util.h
TFE_Op* IdentityOp(TFE_Context* ctx, TFE_TensorHandle* a); // Return a shape op fetching the shape of `a`. TFE_Op* ShapeOp(TFE_Context* ctx, TFE_TensorHandle* a); // Return an allreduce op adding up input tensor `in` from `group_size` workers. TFE_Op* AllReduceOp(TFE_Context* ctx, TFE_TensorHandle* in, int group_size); // Return a SendOp op `op_name` with send input tensor `in` and attributes
C - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Mon Jul 17 23:43:59 GMT 2023 - 7.7K bytes - Viewed (0) -
tensorflow/c/eager/tape.h
std::function<void(BackwardFunction*)> backward_function_deleter; }; // Map from tensor_id to internally-defined operation-id of the operation which // produced this tensor. A value of -1 means that the tensor was directly // watched and not the result of any operation in the tape. using TensorTape = std::unordered_map<int64_t, int64_t>; // Map from operation-id to tape entry. template <typename BackwardFunction, typename TapeTensor>
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/c_api_experimental.h
TF_CAPI_EXPORT extern char* TF_FunctionDebugString(TF_Function* func, size_t* len); // On success, dequeues a tensor from a TF-managed FifoQueue given by // `tensor_id`, associated with `session`. There must be a graph node named // "fifo_queue_dequeue_<tensor_id>", to be executed by this API call.
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/c_api.h
// different from the number returned by TFE_TensorHandleNumDims. // The return value was current at the time of TFE_TensorDebugInfo creation. TF_CAPI_EXPORT extern int TFE_TensorDebugInfoOnDeviceNumDims( TFE_TensorDebugInfo* debug_info); // Returns the number of elements in dimension `dim_index`. // Tensor representation on device can be transposed from its representation
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) -
src/cmd/cgo/internal/test/callback_c.c
} int returnAfterGrowFromGo(void) { 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)