- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for matrix (0.17 sec)
-
tensorflow/c/eager/unified_api_test.cc
/*inputs=*/{x.get()}, /*outputs=*/{}, /*use_function=*/UseFunction()); ASSERT_EQ(errors::OK, s.code()) << s.message(); } // Checks that inputs[0] is a matrix with shape 2x4. Status TestTensorShape2x4(AbstractContext* ctx, absl::Span<AbstractTensorHandle* const> inputs, absl::Span<AbstractTensorHandle*> outputs) {
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Tue Feb 27 13:57:45 GMT 2024 - 6.7K bytes - Viewed (0) -
tensorflow/c/eager/c_api_unified_experimental_test.cc
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Fri May 19 21:44:52 GMT 2023 - 39.1K bytes - Viewed (0) -
tensorflow/c/eager/c_api_test.cc
EXPECT_NE(TF_OK, TF_GetCode(status)); } else { TF_Tensor* t = TFE_TensorHandleResolve(retvals[0], status); EXPECT_NE(TF_OK, TF_GetCode(status)); EXPECT_EQ(nullptr, t); const char* msg = "Matrix size-incompatible: In[0]: [2,2], In[1]: [3,2]"; EXPECT_TRUE(strstr(TF_Message(status), msg) != nullptr) << TF_Message(status); // Since error is not cleared, the following copy with correct device will
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Thu Aug 03 20:50:20 GMT 2023 - 94.6K bytes - Viewed (1) -
tensorflow/c/eager/c_api_experimental_test.cc
std::unique_ptr<monitoring::CollectedMetrics> metrics = collection_registry->CollectMetrics(options); EXPECT_EQ("test/counter", metrics->point_set_map.at("test/counter")->metric_name); EXPECT_EQ( 1, metrics->point_set_map.at("test/counter")->points.at(0)->int64_value); TFE_MonitoringCounterCellIncrementBy(cell, 5); EXPECT_EQ(TFE_MonitoringCounterCellValue(cell), 6);
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Thu Aug 03 03:14:26 GMT 2023 - 31.5K bytes - Viewed (1)