- Sort Score
- Result 10 results
- Languages All
Results 21 - 25 of 25 for Operator (0.21 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/experimental/filesystem/plugins/gcs/ram_file_block_cache.h
/// mu_. struct Block { /// The block data. std::vector<char> data; /// A list iterator pointing to the block's position in the LRU list. std::list<Key>::iterator lru_iterator; /// A list iterator pointing to the block's position in the LRA list. std::list<Key>::iterator lra_iterator; /// The timestamp (seconds since epoch) at which the block was cached. uint64_t timestamp;
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/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) -
tensorflow/c/c_api.h
// it will be stopped and joined. TF_CAPI_EXPORT extern void TF_DeleteServer(TF_Server* server); // Register a listener method that processes printed messages. // // If any listeners are registered, the print operator will call all listeners // with the printed messages and immediately return without writing to the // logs. TF_CAPI_EXPORT extern void TF_RegisterLogListener( void (*listener)(const char*));
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/plugins/gcs/gcs_filesystem_test.cc
auto reader = gcs_client->ReadObject(bucket, object); if (!reader) { return ::testing::AssertionFailure() << reader.status().message(); } else { std::string content{std::istreambuf_iterator<char>{reader}, {}}; return CompareSubString(offset, length, content, content.length()); } } TEST_F(GCSFilesystemTest, ParseGCSPath) { std::string bucket, object;
C++ - Registered: Tue Apr 23 12:39:09 GMT 2024 - Last Modified: Mon Aug 31 12:04:23 GMT 2020 - 24.9K bytes - Viewed (0)