- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for Mitake (0.18 sec)
-
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)