- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for Operator (0.22 sec)
-
tensorflow/c/c_api.cc
return oper->node.attrs().size(); } int TF_OperationGetAttrNameLength(TF_Operation* oper, int i) { auto attrs = oper->node.attrs(); int count = 0; AttrValueMap::const_iterator it; for (it = attrs.begin(); it != attrs.end(); it++) { if (count == i) { return it->first.length(); } count++; } return -1; }
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Mon Apr 15 03:35:10 GMT 2024 - 102.3K bytes - Viewed (0) -
tensorflow/c/c_api_test.cc
limitations under the License. ==============================================================================*/ #include "tensorflow/c/c_api.h" #include <algorithm> #include <cstddef> #include <iterator> #include <memory> #include <vector> #include "tensorflow/c/c_api_internal.h" #include "tensorflow/c/c_test_util.h" #include "tensorflow/c/tf_buffer.h" #include "tensorflow/c/tf_buffer_internal.h"
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Mon Apr 15 03:35:10 GMT 2024 - 96.9K bytes - Viewed (3) -
tensorflow/c/eager/parallel_device/parallel_device_lib.cc
class OpDeleter { public: void operator()(TFE_Op* to_delete) const { TFE_DeleteOp(to_delete); } }; using OpPtr = std::unique_ptr<TFE_Op, OpDeleter>; class StatusDeleter { public: void operator()(TF_Status* to_delete) const { TF_DeleteStatus(to_delete); } }; using StatusPtr = std::unique_ptr<TF_Status, StatusDeleter>; class ExecutorDeleter { public: void operator()(TFE_Executor* to_delete) const {
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Fri Feb 09 07:47:20 GMT 2024 - 25.4K bytes - Viewed (1) -
tensorflow/c/eager/tape.h
void ForwardAccumulator<Gradient, BackwardFunction, TapeTensor>::Watch( int64_t tensor_id, Gradient* tangent) { typename std::unordered_map<int64_t, Gradient*>::iterator existing = accumulated_gradients_.find(tensor_id); vspace_.MarkAsResult(tangent); if (existing == accumulated_gradients_.end()) { accumulated_gradients_.emplace(tensor_id, tangent); } else {
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) -
RELEASE.md
* Add NUMA-aware MapAndBatch dataset. * Deprecate `tf.data.Dataset.make_one_shot_iterator()` in V1, removed it from V2, and added tf.compat.v1.data.make_one_shot_iterator()`. * Deprecate `tf.data.Dataset.make_initializable_iterator()` in V1, removed it from V2, and added `tf.compat.v1.data.make_initializable_iterator()`. * Enable nested dataset support in core `tf.data` transformations.
Plain Text - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Mon Apr 29 19:17:57 GMT 2024 - 727.7K bytes - Viewed (8)