- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 27 for Rust (0.14 sec)
-
tensorflow/c/eager/parallel_device/parallel_device_lib.h
// 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 // parallel device, then call `Join` on each; even if some of the `Join`s // return a bad status the caller must run all of the `Join`s or any future
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/c_api.h
// keep. // `value` must point to a string of length `length` bytes. TF_CAPI_EXPORT extern void TF_SetAttrString(TF_OperationDescription* desc, const char* attr_name, const void* value, size_t length); // `values` and `lengths` each must have lengths `num_values`. // `values[i]` must point to a string of length `lengths[i]` bytes.
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/parallel_device/parallel_device.h
// per device in `underlying_devices`. Implicit copies off of the device throw // an error. // // All component tensors must have the same dtype. Currently they must also have // the same shape, although this requirement may be relaxed in the future. // // `device_name` must not name an existing physical or custom device (see // the documentation for TFE_RegisterCustomDevice for more information). //
C - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Thu Jun 04 21:49:16 GMT 2020 - 2.9K bytes - Viewed (0) -
tensorflow/c/eager/abstract_context.h
// // 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 // destroy an instance of this class. virtual void Release() = 0; // Creates an operation builder and ties it to this context.
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_testlib.h
const char* device, TF_Status* status); // Dereferences the backing buffer for the variable. Note that since this can // fail (it runs operations), it must be called explicitly and the resulting // `status` checked. void Destroy(TFE_Context* context, TF_Status* status); // Reads from the variable. TensorHandlePtr Read(TFE_Context* context, TF_Status* status);
C - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Tue Feb 09 01:12:35 GMT 2021 - 6.9K bytes - Viewed (0) -
tensorflow/c/eager/c_api_test_util.h
TFE_Op* MinOp(TFE_Context* ctx, TFE_TensorHandle* input, TFE_TensorHandle* axis); // If there is a device of type `device_type`, returns true // and sets 'device_name' accordingly. // `device_type` must be either "GPU" or "TPU". bool GetDeviceName(TFE_Context* ctx, tensorflow::string* device_name, const char* device_type); // Create a ServerDef with the given `job_name` and add `num_tasks` tasks in it.
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/env.h
// // The given param (which may be null) is passed to work_func when the thread // starts. In this way, data may be passed from the thread back to the caller. // // Caller takes ownership of the result and must call TF_JoinThread on it // eventually. TF_CAPI_EXPORT extern TF_Thread* TF_StartThread(const TF_ThreadOptions* options, const char* thread_name,
C - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Sat Jan 09 02:53:27 GMT 2021 - 9.6K bytes - Viewed (0) -
tensorflow/c/eager/abstract_operation.h
// // WARNING: The destructor of this class is marked as protected to disallow // clients from directly destroying this object since it may manage it's own // lifetime through ref counting. Thus this must be allocated on the heap and // clients MUST call Release() in order to destroy an instance of this class. virtual void Release() = 0; virtual Status Reset(const char* op, const char* raw_device_name) = 0;
C - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Wed Jul 14 16:20:41 GMT 2021 - 6.8K bytes - Viewed (0) -
tensorflow/c/c_test.c
// just nice to know that it compiles. void* create(TF_OpKernelConstruction* ctx) { TF_DataType type; TF_Status* s = TF_NewStatus(); TF_OpKernelConstruction_GetAttrType(ctx, "foobar", &type, s); TF_DeleteStatus(s); return NULL; } // A compute function. This will never actually get called in this test, it's // just nice to know that it compiles.
C - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Wed Apr 24 20:50:35 GMT 2024 - 2.8K bytes - Viewed (0) -
tensorflow/c/eager/c_api.h
// "Context" under which operations/functions are executed. It encapsulates // things like the available devices, resource manager etc. // TFE_Context must outlive all tensor handles created using it. In other // words, TFE_DeleteContext() must be called after all tensor handles have // been deleted (with TFE_DeleteTensorHandle). // // TODO(ashankar): Merge with TF_Session? typedef struct TFE_Context TFE_Context;
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)