- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 11 for ones (0.15 sec)
-
tensorflow/c/eager/tape.h
if (op_it->second.output_tensor_info[j].GetID() == id) { found = true; Gradient* ones_like = nullptr; TF_RETURN_IF_ERROR(vspace.BuildOnesLike( op_it->second.output_tensor_info[j], &ones_like)); (*result)[id].push_back(ones_like); break; } } if (!found) { return errors::Internal(
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
// while `op` is alive. TF_CAPI_EXPORT extern const TFE_OpAttrs* TFE_OpGetAttrs(const TFE_Op* op); // Add attributes in `attrs` to `op`. // // Does not overwrite or update existing attributes, but adds new ones. TF_CAPI_EXPORT extern void TFE_OpAddAttrs(TFE_Op* op, const TFE_OpAttrs* attrs); // Serialize `attrs` as a tensorflow::NameAttrList protocol buffer (into `buf`), // containing the op name and a map of its attributes.
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/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 30 12:39:09 GMT 2024 - Last Modified: Sun Oct 24 11:27:00 GMT 2021 - 7K 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 30 12:39:09 GMT 2024 - Last Modified: Thu Jul 09 19:31:22 GMT 2020 - 6.3K 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 30 12:39:09 GMT 2024 - Last Modified: Thu Oct 26 21:08:15 GMT 2023 - 82.3K bytes - Viewed (3) -
tensorflow/c/experimental/filesystem/filesystem_interface.h
/// same filesystem and the malicious one loads before the legimitate one - /// but we consider this to be something that users should care about and /// manage themselves). In both of these cases, core TensorFlow looks for /// the `TF_InitPlugin` symbol and calls this function. /// /// For every filesystem URI scheme that this plugin supports, the plugin must /// add one `TF_FilesystemPluginInfo` entry in `plugin_info->ops` and call
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/gradients.h
// watched inputs. void Watch(const AbstractTensorHandle*); // Records an operation with given inputs and outputs // on the tape and marks all its outputs as watched if at // least one input of the op is watched and has a trainable dtype. // op_name is optional and is used for debugging only. void RecordOperation(absl::Span<AbstractTensorHandle* const> inputs,
C - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Mon Sep 26 10:27:05 GMT 2022 - 6.9K bytes - Viewed (0) -
tensorflow/c/experimental/filesystem/plugins/gcs/ram_file_block_cache.h
/// the file contents do not extend past `offset` and thus nothing was /// placed in `out`. /// 4) `TF_OK` otherwise (i.e. the read succeeded, and at least one byte was /// placed /// in `buffer`). /// /// Caller is responsible for allocating memory for `buffer`. /// `buffer` will be left unchanged in case of errors.
C - Registered: Tue Apr 23 12:39:09 GMT 2024 - Last Modified: Mon Aug 31 04:46:34 GMT 2020 - 10.6K bytes - Viewed (0) -
tensorflow/c/experimental/filesystem/modular_filesystem.h
/// This file builds classes needed to hold a filesystem implementation in the /// modular world. Once all TensorFlow filesystems are converted to use the /// plugin based approach, this file will replace the one in core/platform and /// the names will lose the `Modular` part. Until that point, the `Modular*` /// classes here are experimental and subject to breaking changes.
C - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Thu Oct 12 08:49:52 GMT 2023 - 8.9K bytes - Viewed (0) -
tensorflow/c/eager/c_api_remote_test_util.h
#define TENSORFLOW_C_EAGER_C_API_REMOTE_TEST_UTIL_H_ // Run a function containing a MatMul op and check its output. // If heavy_load_on_streaming_rpc is true, send some rpc requests before the one // which creates a remote input, to simulate a scenario that the remote input // is not ready when we start running an op or a function. void TestRemoteExecuteSilentCopies(bool async, bool remote, bool func,
C - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Fri Dec 11 22:56:03 GMT 2020 - 1.4K bytes - Viewed (0)