- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for Changes (0.16 sec)
-
tensorflow/c/c_api_function_test.cc
// Delete the gradient func. // It is safe to delete after adding a copy to host graph. TF_DeleteFunction(grad_func); // Check that GraphDef did not change GraphDef gdef2; GetGraphDef(host_graph_, &gdef2); ASSERT_EQ(gdef.DebugString(), gdef2.DebugString()); // Use and run func TF_Operation* func_feed = Placeholder(host_graph_, s_);
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Thu Jul 20 22:08:54 GMT 2023 - 63.6K bytes - Viewed (6) -
tensorflow/c/c_api_test.cc
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 unknown, expect no change. 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);
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)