Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for SetShape (0.1 sec)

  1. tensorflow/c/c_api_test.cc

      TF_Buffer* buf = TF_GetAllOpList();
      tensorflow::OpList op_list;
      EXPECT_TRUE(op_list.ParseFromArray(buf->data, buf->length));
      EXPECT_GT(op_list.op_size(), 0);
      TF_DeleteBuffer(buf);
    }
    
    TEST(CAPI, SetShape) {
      TF_Status* s = TF_NewStatus();
      TF_Graph* graph = TF_NewGraph();
    
      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};
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Sat Oct 12 16:27:48 UTC 2024
    - 97K bytes
    - Viewed (0)
Back to top