- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 12 for light (0.15 sec)
-
tensorflow/c/eager/parallel_device/parallel_device_lib.h
public: // Eager async execution is only supported when remote eager is not in use // (b/157523095). explicit ParallelDevice(const std::vector<std::string>& devices, bool is_async = false, int in_flight_nodes_limit = 0); ~ParallelDevice(); // Helper to copy a tensor handle from another device once for each component // of the ParallelDevice. //
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
// 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. // * Maybe add TF_TensorShape that encapsulates dimension info. // // Design decisions made: // * Backing store for tensor memory has an associated deallocation
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/c_api.h
typedef enum TFE_ContextDevicePlacementPolicy { // Running operations with input tensors on the wrong device will fail. TFE_DEVICE_PLACEMENT_EXPLICIT = 0, // Copy the tensor to the right device but log a warning. TFE_DEVICE_PLACEMENT_WARN = 1, // Silently copy the tensor, which has a performance cost since the operation // will be blocked till the copy completes. This is the default placement // policy.
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) -
tensorflow/c/eager/tape.h
pop_backward_tape.release()(); std::vector<int64_t> targets; std::vector<Gradient*> used_in_grads; // We may end up with slightly fewer elements than we reserve, but grad.size() // should be a reasonably tight upper bound. targets.reserve(grad.size()); used_in_grads.reserve(grad.size()); std::unordered_map<int64_t, TapeTensor> sources_that_are_targets;
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
// 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 // maximum number of in flight async nodes. Enqueuing of additional async ops // after the limit is reached blocks until some inflight nodes finishes.
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) -
tensorflow/c/experimental/grappler/grappler.h
// * `void* ext` is a free-form field that can be populated by // a plugin in `TP_*` structs or potential future extension points . // // Example usage: // // /* Sample TensorFlow code below, exact implementation might differ. */ // // Version checking uses `struct_size`. It should be set both by core // // and the plugin. // TP_OptimizerRegistrationParams params{ // TP_OPTIMIZER_REGISTRATION_PARAMS_STRUCT_SIZE};
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/immediate_execution_tensor_handle.h
// // 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 // the handle loses information, but `SummarizeValue` would be more precise.
C - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Fri Mar 10 21:56:24 GMT 2023 - 4.3K bytes - Viewed (0) -
tensorflow/c/eager/immediate_execution_context.h
enum ContextDevicePlacementPolicy { // Running operations with input tensors on the wrong device will fail. DEVICE_PLACEMENT_EXPLICIT = 0, // Copy the tensor to the right device but log a warning. DEVICE_PLACEMENT_WARN = 1, // Silently copy the tensor, which has a performance cost since the operation // will be blocked till the copy completes. This is the default policy.
C - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Thu Jul 06 08:34:00 GMT 2023 - 12.3K bytes - Viewed (0) -
tensorflow/c/experimental/filesystem/filesystem_interface.h
int64_t (*tell)(const TF_WritableFile* file, TF_Status* status); /// Flushes `*file` and syncs contents to filesystem. /// /// This call might not block, and when it returns the contents might not have /// been fully persisted. /// /// DEFAULT IMPLEMENTATION: No op. void (*flush)(const TF_WritableFile* file, TF_Status* status);
C - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Fri May 27 17:36:54 GMT 2022 - 53.1K bytes - Viewed (0) -
tensorflow/c/eager/tfe_executor_internal.h
struct TFE_Executor { explicit TFE_Executor(bool async, bool enable_streaming_enqueue, int in_flight_nodes_limit) : owned_executor(new tensorflow::EagerExecutor( async, enable_streaming_enqueue, in_flight_nodes_limit)) {} explicit TFE_Executor(tensorflow::EagerExecutor* executor) : owned_executor(nullptr), unowned_executor(executor) {}
C - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Tue Nov 22 20:30:59 GMT 2022 - 1.5K bytes - Viewed (0)