Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for structure (0.17 sec)

  1. tensorflow/c/c_api_test.cc

      TF_Operation* neg = TF_GraphOperationByName(graph, "imported/neg");
      ASSERT_TRUE(scalar != nullptr);
      ASSERT_TRUE(feed != nullptr);
      ASSERT_TRUE(neg != nullptr);
    
      // Test basic structure of the imported graph.
      EXPECT_EQ(0, TF_OperationNumInputs(scalar));
      EXPECT_EQ(0, TF_OperationNumInputs(feed));
      ASSERT_EQ(1, TF_OperationNumInputs(neg));
      TF_Output neg_input = TF_OperationInput({neg, 0});
    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