- Sort Score
- Result 10 results
- Languages All
Results 1 - 8 of 8 for live (0.13 sec)
-
tensorflow/c/c_api.cc
#endif // defined(IS_MOBILE_PLATFORM) || defined(IS_SLIM_BUILD) } #if !defined(IS_MOBILE_PLATFORM) && !defined(IS_SLIM_BUILD) namespace { // TODO(skyewm): make nodes in while loop unfetchable like in Python version void TF_FinishWhileHelper(const TF_WhileParams* params, TF_Status* status, TF_Output* outputs) { if (!ValidateInputWhileParams(*params, status)) return;
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/eager/gradients.cc
AbstractContext* ctx_; }; // Returns the number of elements in the gradient tensor. int64_t TapeVSpace::NumElements(AbstractTensorHandle* tensor) const { // TODO(srbs): It seems like this is used only for performance optimization // and not for correctness. The only downside of keeping this 1 seems to be // that the gradient accumulation is unbounded and we will never
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Thu Feb 15 09:49:45 GMT 2024 - 19.3K bytes - Viewed (0) -
tensorflow/c/eager/parallel_device/parallel_device_lib.cc
// Requests that the worker thread execute the specified operation. Blocks // until the previously pending operation (a StartExecute without a Join) has // finished, if any. // // `cancellation_manager` must live until after `Join` finishes and pending // `is_async` operations finish. In addition to allowing the caller to cancel // the operation, its `StartCancel` method will be called if op execution
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/c_api_test.cc
ASSERT_EQ(src.NumElements(), output.NumElements()) << line; for (int64_t i = 0; i < src.NumElements(); ++i) { ASSERT_EQ(data[i], output.flat<tstring>()(i)) << line; } TF_DeleteTensor(dst); } } TEST(CAPI, TensorEncodeDecodeStrings) { TestEncodeDecode(__LINE__, {}); TestEncodeDecode(__LINE__, {"hello"}); TestEncodeDecode(__LINE__,
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/c_api.cc
"TFE_ContextSetServerDef not supported on mobile"); return false; #else // !defined(IS_MOBILE_PLATFORM) bool is_alive; status->status = tensorflow::unwrap(ctx)->GetDistributedManager()->CheckRemoteAlive( worker_name, &is_alive); return is_alive; #endif // !IS_MOBILE_PLATFORM } TF_CAPI_EXPORT extern void TFE_ContextAsyncWait(TFE_Context* ctx,
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Tue Mar 12 20:00:09 GMT 2024 - 43.9K bytes - Viewed (2) -
tensorflow/c/c_api_function_test.cc
} // Define function, use it in graph, and run DefineT(-1, {}, {{feed1, 0}, {feed2, 0}}, {outputs[0]}, {}); TF_Operation* five = ScalarConst(5, host_graph_, s_, "five"); TF_Operation* func_feed = Placeholder(host_graph_, s_); TF_Operation* func_op = Use({func_feed, five}); Run({{func_feed, Int32Tensor(2)}}, func_op, 2 /*+=*/ + 5 + 1); // Verify input, output, and subset of edges in fdef.
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Thu Jul 20 22:08:54 GMT 2023 - 63.6K bytes - Viewed (6) -
tensorflow/c/eager/c_api_experimental.cc
return; } status->status = coord_agent->WaitAtBarrier( barrier_id, absl::Milliseconds(barrier_timeout_in_ms), {}); } void TFE_InitializeLocalOnlyContext(TFE_Context* ctx, int keep_alive_secs, const void* proto, size_t proto_len, TF_Status* status) { tensorflow::ServerDef server_def; if (!server_def.ParseFromArray(proto, proto_len)) {
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Thu Apr 11 23:52:39 GMT 2024 - 35.9K bytes - Viewed (3) -
tensorflow/c/experimental/filesystem/plugins/gcs/gcs_filesystem.cc
// ---------------------------------------------------------------------------- namespace tf_gcs_filesystem { // TODO(vnvo2409): Use partial reponse for better performance. // TODO(vnvo2409): We could do some cleanups like `return TF_SetStatus`. // TODO(vnvo2409): Refactor the filesystem implementation when // https://github.com/googleapis/google-cloud-cpp/issues/4482 is done. GCSFile::GCSFile(google::cloud::storage::Client&& gcs_client)
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Wed Aug 23 06:55:53 GMT 2023 - 46.9K bytes - Viewed (0)