- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 18 for qalter (0.22 sec)
-
tensorflow/c/eager/c_api_experimental.h
void (*deallocator)(void* data); // Summarizes the value of this tensor. The caller takes ownership of the // returned buffer. If `status` is not TF_OK, instead returns a null pointer. // // Does not include the shape and dtype of the tensor (which is generally // appended later), but should include any information specific to this custom // device which would be useful for debugging. //
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) -
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
// allocated to size `ninputs`. The caller should build `cond_graph` and // `body_graph` starting from the inputs, and store the final outputs in // `cond_output` and `body_outputs`. // // If `status` is OK, the caller must call either TF_FinishWhile or // TF_AbortWhile on the returned TF_WhileParams. If `status` isn't OK, the // returned TF_WhileParams is not valid, and the caller should not call
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/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/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/experimental/filesystem/plugins/gcs/cleanup.h
// // Example: // void func() { // FILE* fp = fopen("data.txt", "r"); // if (fp == nullptr) return; // auto fp_cleaner = gtl::MakeCleanup([fp] { fclose(fp); }); // // No matter what, fclose(fp) will happen. // DataObject d; // while (ReadDataObject(fp, &d)) { // if (d.IsBad()) { // LOG(ERROR) << "Bad Data"; // return; // } // PushGoodData(d);
C - Registered: Tue Apr 23 12:39:09 GMT 2024 - Last Modified: Thu Jul 09 11:16:00 GMT 2020 - 3.4K bytes - Viewed (0) -
tensorflow/c/experimental/filesystem/plugins/posix/posix_filesystem_helper.h
// // Callers should pass size of `src` in `size` and the permissions of `src` in // `mode`. The later is only used if `dst` needs to be created. int TransferFileContents(const char* src, const char* dst, mode_t mode, off_t size); // Returns true only if `entry` points to an entry other than `.` or `..`. // // This is a filter for `scandir`. int RemoveSpecialDirectoryEntries(const struct dirent* entry);
C - Registered: Tue Apr 23 12:39:09 GMT 2024 - Last Modified: Fri Nov 22 21:23:55 GMT 2019 - 1.5K bytes - Viewed (0) -
tensorflow/c/experimental/next_pluggable_device/c_api.h
// invokes create_func to create the resource. `delete_func` is needed for // ResourceMgr to clean up the resource. `status` will be set. If `status` is // not OK, `*result_plugin_resource` will be set as nullptr. // // Caller does not take ownership of the `plugin_resource`. TF_CAPI_EXPORT extern void TF_LookupOrCreatePluginResource( TF_OpKernelContext* ctx, const char* container_name,
C - Registered: Tue Feb 27 12:39:08 GMT 2024 - Last Modified: Wed Dec 20 20:01:06 GMT 2023 - 7.2K bytes - Viewed (0)