- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 19 for once (0.14 sec)
-
tensorflow/c/eager/parallel_device/parallel_device.h
// "/job:localhost/replica:0/task:0/device:GPU:1"} // Then executing an operation on CUSTOM:0 will execute it on GPU:0 and GPU:1. // // Implicit copies onto `device_name` are allowed, replicating the value once // 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
C - Registered: Tue Apr 23 12:39:09 GMT 2024 - Last Modified: Thu Jun 04 21:49:16 GMT 2020 - 2.9K bytes - Viewed (0) -
tensorflow/c/c_api.h
// like shadowing a numpy array. // * We do not provide TF_OK since it is not strictly necessary and we // are not optimizing for convenience. // * We make assumption that one session has one graph. This should be // fine since we have the ability to run sub-graphs. // * We could allow NULL for some arguments (e.g., NULL options arg). // However since convenience is not a primary goal, we don't do this.
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
const std::vector<std::string> underlying_devices_; // A sequence of thread wrappers, one per device, for executing operations in // parallel. // // Conceptually this is a thread pool with one thread per device. It requires // less synchronization than a thread pool would for this task, since Execute // acquires each thread in order (and so only one Execute will schedule // blocking collective operations at a time), and avoids some dynamic
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/tape.h
void DeleteTrace(int64_t tensor_id); // Consumes the internal state of the tape (so cannot be called more than // once) and produces the gradient of the target tensors with respect to the // source tensors. The output gradients are used if not empty and not // null. The result is populated with one tensor per target element. // When running backward functions, builds zeros-like tensors for
C - Registered: Tue Apr 23 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_unified_experimental.h
int TF_OutputListNumOutputs(TF_OutputList* o); // Return the `i`th output in the list. TF_AbstractTensor* TF_OutputListGet(TF_OutputList* o, int i); // Append a tensor at the end of the output list, growing its size by one. void TF_OutputListPushBack(TF_OutputList* o, TF_AbstractTensor* tensor, TF_Status*); // TF_ExecuteOperation will, if in eager mode, execute, if in graph mode, maybe
C - Registered: Tue Apr 23 12:39:09 GMT 2024 - Last Modified: Sun Oct 24 11:27:00 GMT 2021 - 7K bytes - Viewed (0) -
tensorflow/c/eager/c_api_experimental.h
TF_Status* status); // ----------------------------------------------------------------------------- // Eager Executor APIs. typedef struct TFE_Executor TFE_Executor; // Creates a new eager Executor. Nodes in one executor are guaranteed to be // executed in sequence. Assigning nodes to different executors allows executing // nodes in parallel. // in_flight_nodes_limit: when is_async is true, this value controls the
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/experimental/filesystem/plugins/gcs/expiring_lru_cache.h
// Note: we hold onto mu_ for the rest of this function. In practice, this // is okay, as stat requests are typically fast, and concurrent requests are // often for the same file. Future work can split this up into one lock per // key if this proves to be a significant performance bottleneck. absl::MutexLock lock(&mu_); if (LookupLocked(key, value)) { return TF_SetStatus(status, TF_OK, ""); }
C - Registered: Tue Apr 23 12:39:09 GMT 2024 - Last Modified: Thu Jul 09 19:31:22 GMT 2020 - 6.3K bytes - Viewed (0) -
tensorflow/c/experimental/grappler/grappler.h
// TF_TriState is the C API typedef for tri-state. typedef enum TF_TriState { TF_TriState_Default = 0, TF_TriState_Off, TF_TriState_On, } TF_TriState; // TF_GrapplerItem represents a combination of a graph, one of more fetch nodes, // and potentially a set of nodes to feed. typedef struct TF_GrapplerItem TF_GrapplerItem; // Flags indicating whether existing optimizers should be turned off.
C - Registered: Tue Feb 27 12:39:08 GMT 2024 - Last Modified: Wed Aug 03 18:08:43 GMT 2022 - 12.5K bytes - Viewed (0) -
tensorflow/c/eager/parallel_device/parallel_device_testlib.h
TensorHandlePtr FloatTensorHandle(float v, TF_Status* status); // Creates a rank-one TFE_TensorHandle with value `v`. TensorHandlePtr VectorFloatTensorHandle(const std::vector<float>& v, TF_Status* status); // Helper to un-pack `num_replicas` TFE_TensorHandles from one parallel handle. template <std::size_t num_replicas> void ExtractPerDeviceValues(
C - Registered: Tue Apr 23 12:39:09 GMT 2024 - Last Modified: Tue Feb 09 01:12:35 GMT 2021 - 6.9K bytes - Viewed (0) -
tensorflow/c/env.h
// // Otherwise, while traversing the tree, undeleted_file_count and // undeleted_dir_count are updated if an entry of the corresponding type could // not be deleted. The returned error status represents the reason that any one // of these entries could not be deleted. // // Typical status codes: // * TF_OK - dirname exists and we were able to delete everything underneath // * TF_NOT_FOUND - dirname doesn't exist
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)