- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 17 for caster (0.19 sec)
-
src/cmd/cgo/internal/swig/testdata/callback/main.h
// license that can be found in the LICENSE file. class Callback { public: virtual ~Callback() { } virtual std::string run() { return "Callback::run"; } }; class Caller { private: Callback *callback_; public: Caller(): callback_(0) { } ~Caller() { delCallback(); } void delCallback() { delete callback_; callback_ = 0; } void setCallback(Callback *cb) { delCallback(); callback_ = cb; } std::string call();
C - Registered: Tue Apr 23 11:13:09 GMT 2024 - Last Modified: Fri May 12 12:00:07 GMT 2023 - 529 bytes - Viewed (0) -
tensorflow/c/env.h
// The caller is responsible for freeing the list (see TF_StringStreamDone). TF_CAPI_EXPORT extern TF_StringStream* TF_GetLocalTempDirectories(void); // Creates a temporary file name with an extension. // The caller is responsible for freeing the returned pointer. TF_CAPI_EXPORT extern char* TF_GetTempFileName(const char* extension); // Returns the number of nanoseconds since the Unix epoch.
C - Registered: Tue Apr 23 12:39:09 GMT 2024 - Last Modified: Sat Jan 09 02:53:27 GMT 2021 - 9.6K bytes - Viewed (0) -
tensorflow/c/c_api.h
// `run_metadata`) are valid. // // - `run_options` may be NULL, in which case it will be ignored; or // non-NULL, in which case it must point to a `TF_Buffer` containing the // serialized representation of a `RunOptions` protocol buffer. // - `run_metadata` may be NULL, in which case it will be ignored; or // non-NULL, in which case it must point to an empty, freshly allocated
C - Registered: Tue Apr 23 12:39:09 GMT 2024 - Last Modified: Thu Oct 26 21:08:15 GMT 2023 - 82.3K bytes - Viewed (3) -
tensorflow/c/eager/parallel_device/parallel_device_lib.h
int expected_max_outputs, TF_Status* status) const; // A non-blocking version of `Execute`. After each call, `Join` must be called // before `StartExecute` is called again. Using `StartExecute` with `Join` // allows the caller to schedule computation on multiple ParallelDevices // without sequencing those operations (first call `StartExecute` on each
C - Registered: Tue Apr 23 12:39:09 GMT 2024 - Last Modified: Tue Apr 25 15:21:13 GMT 2023 - 12.9K bytes - Viewed (0) -
tensorflow/c/eager/immediate_execution_distributed_manager.h
// When `reset_context` is true, initialize new cluster context state based // on cluster configurations provided in `server_def`; otherwise, update // existing context state with the provided `server_def`. Contexts created // on remote tasks will be considered stale and garbage collected after // `keep_alive_secs` of inactivity. virtual Status SetOrUpdateServerDef(const ServerDef& server_def,
C - Registered: Tue Apr 23 12:39:09 GMT 2024 - Last Modified: Wed Feb 21 22:37:46 GMT 2024 - 2.9K bytes - Viewed (0) -
tensorflow/c/c_api_macros_internal.h
// `struct_size` is used for struct member compatibility check between core TF // and plug-ins with the same C API minor version. More info here: // https://github.com/tensorflow/community/blob/master/rfcs/20200612-stream-executor-c-api/C_API_versioning_strategy.md #define TF_VALIDATE_STRUCT_SIZE(STRUCT_NAME, STRUCT_OBJ, SIZE_VALUE_NAME) \ do { \
C - Registered: Tue Apr 23 12:39:09 GMT 2024 - Last Modified: Mon Mar 13 17:40:56 GMT 2023 - 2.5K bytes - Viewed (0) -
tensorflow/c/eager/c_api.h
typedef struct TFE_TensorHandle TFE_TensorHandle; TF_CAPI_EXPORT extern TFE_TensorHandle* TFE_NewTensorHandle(const TF_Tensor* t, TF_Status* status); // Indicates that the caller will not be using `h` any more. TF_CAPI_EXPORT extern void TFE_DeleteTensorHandle(TFE_TensorHandle* h); TF_CAPI_EXPORT extern TF_DataType TFE_TensorHandleDataType(TFE_TensorHandle* h);
C - Registered: Tue Apr 23 12:39:09 GMT 2024 - Last Modified: Thu Apr 27 21:07:00 GMT 2023 - 22.8K bytes - Viewed (1) -
tensorflow/c/eager/c_api_experimental.h
// If coordination service is enabled, the key-value will be stored on the // leader and become accessible to all workers in the cluster. // Currently, a config key can only be set with one value, and subsequently // setting the same key will lead to errors. // // Note that the key-values are only expected to be used for cluster // configuration data, and should not be used for storing a large amount of data // or being accessed very frequently.
C - Registered: Tue Apr 23 12:39:09 GMT 2024 - Last Modified: Wed Feb 21 22:37:46 GMT 2024 - 39.5K bytes - Viewed (0) -
tensorflow/c/checkpoint_reader.h
TF_Status* out_status) const; private: // Uses "v2_reader_" to build "var name -> shape" and "var name -> data type" // maps; both owned by caller. // REQUIRES: "v2_reader_ != nullptr && v2_reader_.status().ok()". std::pair<std::unique_ptr<TensorSliceReader::VarToShapeMap>, std::unique_ptr<TensorSliceReader::VarToDataTypeMap> > BuildV2VarMaps();
C - Registered: Tue Apr 23 12:39:09 GMT 2024 - Last Modified: Thu Oct 12 08:49:52 GMT 2023 - 3.1K bytes - Viewed (0) -
tensorflow/c/eager/immediate_execution_tensor_handle.h
// `SummarizeValue` to resolving this handle and formatting the tensor. // // For example some tensor handles may represent distributed values, in which // case placement information is lost when resolving the handle. // // If false, a caller might implement pretty-printing by resolving and // iterating over the resulting tensor. This may still be viable if resolving
C - Registered: Tue Apr 23 12:39:09 GMT 2024 - Last Modified: Fri Mar 10 21:56:24 GMT 2023 - 4.3K bytes - Viewed (0)