- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for TF_GraphSetTensorShape (0.12 sec)
-
tensorflow/c/c_api_test.cc
TF_GraphSetTensorShape(graph, feed_out_0, /*dims=*/nullptr, -1, s); ASSERT_EQ(TF_OK, TF_GetCode(s)) << TF_Message(s); num_dims = TF_GraphGetTensorNumDims(graph, feed_out_0, s); ASSERT_EQ(TF_OK, TF_GetCode(s)) << TF_Message(s); EXPECT_EQ(-1, num_dims); // Set the shape to be 2 x Unknown int64_t dims[] = {2, -1}; TF_GraphSetTensorShape(graph, feed_out_0, dims, 2, s);
Registered: Tue Sep 09 12:39:10 UTC 2025 - Last Modified: Fri Dec 27 12:18:10 UTC 2024 - 97K bytes - Viewed (0) -
tensorflow/c/c_api.h
// // Returns an error into `status` if: // * `output` is not in `graph`. // * An invalid shape is being set (e.g., the shape being set // is incompatible with the existing shape). TF_CAPI_EXPORT extern void TF_GraphSetTensorShape(TF_Graph* graph, TF_Output output, const int64_t* dims,
Registered: Tue Sep 09 12:39:10 UTC 2025 - Last Modified: Thu Oct 26 21:08:15 UTC 2023 - 82.3K bytes - Viewed (0) -
tensorflow/c/c_api.cc
} } #endif // !defined(IS_MOBILE_PLATFORM) && !defined(IS_SLIM_BUILD) } // namespace // Shape functions ----------------------------------------------------------- void TF_GraphSetTensorShape(TF_Graph* graph, TF_Output output, const int64_t* dims, const int num_dims, TF_Status* status) { Node* node = &output.oper->node;
Registered: Tue Sep 09 12:39:10 UTC 2025 - Last Modified: Tue May 13 06:30:43 UTC 2025 - 102.3K bytes - Viewed (0)