- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 14 for Darling (0.26 sec)
-
tensorflow/c/c_api.h
// of stdbool.h is avoided and unsigned char is used instead. // * size_t is used to represent byte sizes of objects that are // materialized in the address space of the calling process. // * int is used as an index into arrays. // * Deletion functions are safe to call on nullptr. // // Questions left to address: // * Might at some point need a way for callers to provide their own Env.
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/abstract_context.h
virtual ~AbstractContext() {} public: AbstractContextKind getKind() const { return kind_; } // Release any underlying resources, including the interface object. // // WARNING: The destructor of this class is marked as protected to disallow // clients from directly destroying this object since it may manage its own // lifetime through ref counting. Thus clients MUST call Release() in order to
C - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Sun Oct 24 11:16:58 GMT 2021 - 3K bytes - Viewed (0) -
tensorflow/c/eager/parallel_device/parallel_device_lib.h
}, nullptr), TF_DeleteTensor); // TODO(allenl): Here and when executing regular operations, we could hold // on to one TFE_Op per device and just call TFE_ResetOp to avoid parsing // device names repeatedly. std::unique_ptr<TFE_Op, decltype(&TFE_DeleteOp)> const_op( TFE_NewOp(context, "Const", status), TFE_DeleteOp); if (TF_GetCode(status) != TF_OK) return nullptr;
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.h
==============================================================================*/ #ifndef TENSORFLOW_C_EAGER_C_API_H_ #define TENSORFLOW_C_EAGER_C_API_H_ // C API extensions to experiment with eager execution of kernels. // WARNING: Unlike tensorflow/c/c_api.h, the API here is not guaranteed to be // stable and can change without notice. #include "tensorflow/c/c_api.h" #include "tensorflow/c/c_api_macros.h" #ifdef __cplusplus extern "C" {
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/issue20910.c
// Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. #include <assert.h> #include <stdlib.h> #include <string.h> #include "_cgo_export.h" /* Test calling a Go function with multiple return values. */ void callMulti(void) { struct multi_return result = multi(); assert(strcmp(result.r0, "multi") == 0); assert(result.r1 == 0); free(result.r0);
C - Registered: Tue Apr 23 11:13:09 GMT 2024 - Last Modified: Fri May 12 12:00:02 GMT 2023 - 459 bytes - Viewed (0) -
src/cmd/cgo/internal/test/callback_c_gccgo.c
// license that can be found in the LICENSE file. //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/tfe_op_internal.h
#define TENSORFLOW_C_EAGER_TFE_OP_INTERNAL_H_ #include "tensorflow/c/conversion_macros.h" #include "tensorflow/c/eager/immediate_execution_operation.h" // Wraps a pointer to an operation implementation. // // WARNING: Since the underlying object could be ref-counted a user of this // interface cannot destruct the underlying operation object. Instead, call // TFE_DeleteOp who calls Release() on the operation pointer and deletes
C - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Wed Jun 17 19:39:13 GMT 2020 - 1.4K bytes - Viewed (0) -
tensorflow/c/eager/tfe_tensorhandle_internal.h
#include "tensorflow/c/conversion_macros.h" #include "tensorflow/c/eager/immediate_execution_tensor_handle.h" // Wraps a pointer to a tensor handle implementation. // // WARNING: Since the underlying object could be ref-counted a user of this // interface cannot destruct the underlying handle object. Instead, call // TFE_DeleteTensorHandle who calls Release() on the handle pointer and deletes
C - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Wed Jun 17 19:39:13 GMT 2020 - 1.6K bytes - Viewed (0) -
tensorflow/c/eager/tape.h
// Tell the forward accumulator to watch tensor_id, with a Tensor tangent // vector `tangent` of matching shape and dtype. Tangents are the "vector" in // "Jacobian-vector product"; `Watch`ing a new Tensor and immediately calling // FetchJVP for it would return `tangent`. void Watch(int64_t tensor_id, Gradient* tangent); // Removes the gradient associated with tensor_id. Should be called when the
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/eager/c_api_experimental.h
// does not set the device name. If it's not `NULL`, then it attempts to parse // and set the device name. It's effectively `TFE_OpSetDevice`, but it is faster // than separately calling it because if the existing op has the same // `raw_device_name`, it skips parsing and just leave as it is. TF_CAPI_EXPORT extern void TFE_OpReset(TFE_Op* op_to_reset, const char* op_or_function_name,
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)