Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for revalidate (0.16 sec)

  1. tensorflow/c/c_api_test.cc

      // Set the shape to be 2 x Unknown
      int64_t dims[] = {2, -1};
      TF_GraphSetTensorShape(graph, feed_out_0, dims, 2, s);
      ASSERT_EQ(TF_OK, TF_GetCode(s)) << TF_Message(s);
    
      // Fetch the shape and validate it is 2 by -1.
      num_dims = TF_GraphGetTensorNumDims(graph, feed_out_0, s);
      ASSERT_EQ(TF_OK, TF_GetCode(s)) << TF_Message(s);
      EXPECT_EQ(2, num_dims);
    
      // Resize the dimension vector appropriately.
    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)
Back to top