- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for vendor (0.41 sec)
-
tensorflow/c/c_api_test.cc
TF_DeleteBuffer(op_list_buffer); } } void TestEncodeDecode(int line, const std::vector<string>& data) { const int64_t n = data.size(); Status status; for (const std::vector<int64_t>& dims : std::vector<std::vector<int64_t>>{{n}, {1, n}, {n, 1}, {n / 2, 2}}) { // Create C++ Tensor Tensor src(tensorflow::DT_STRING, TensorShape(dims)); for (int64_t i = 0; i < src.NumElements(); ++i) {
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_test.cc
TFE_DeleteContextOptions(opts); std::vector<int64_t> dims(4, 1); TFE_Op* op = TFE_NewOp(ctx, "AvgPool", status); ASSERT_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status); TF_Tensor* tensor = TF_AllocateTensor(TF_FLOAT, dims.data(), dims.size(), sizeof(float)); float tensor_data[] = {1}; memcpy(TF_TensorData(tensor), tensor_data, TF_TensorByteSize(tensor));
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)