Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for complete (0.23 sec)

  1. tensorflow/c/c_api_test.cc

      TF_Operation* feed = Placeholder(graph, s);
      ASSERT_EQ(TF_OK, TF_GetCode(s)) << TF_Message(s);
      TF_Output feed_out_0 = TF_Output{feed, 0};
      int num_dims;
    
      // Fetch the shape, it should be completely unknown.
      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.
    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