- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for Mitake (0.5 sec)
-
tensorflow/c/c_api.cc
// directly, instead of requiring us to serialize to a GraphDef and // call Session::Extend(). bool ExtendSessionGraphHelper(TF_Session* session, TF_Status* status) { if (session->graph != nullptr) { // Take the graph lock before the session lock to avoid deadlock. This is // safe since session->graph does not change. session->graph->mu.lock(); mutex_lock session_lock(session->mu);
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_experimental.cc
std::vector<Tensor> all_input_tensors; // Update the vector with information from `input_tensors` if provided. if (input_tensors != nullptr) { // Note that we take the address of the elements in `all_input_tensors` // below. Allocate enough space so that no reallocation happens, which will // make the pointers invalid. all_input_tensors.reserve(num_inputs);
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Mon Apr 15 03:35:10 GMT 2024 - 29.4K bytes - Viewed (0) -
tensorflow/c/c_api_test.cc
} TF_DeleteTensor(a); } TEST(CAPI, TestTensorIsNotAligned) { // Test unaligned access via a Slice. Tensor x(DT_FLOAT, TensorShape({30})); x.flat<float>().setConstant(0.0); // Take an unaligned slice. Tensor y = x.Slice(1, 13); Status status; TF_Tensor* a = TF_TensorFromTensor(y, &status); if (TF_TensorDefaultAlignment() > 0) { EXPECT_FALSE(TF_TensorIsAligned(a)); }
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)