- Sort Score
- Result 10 results
- Languages All
Results 91 - 92 of 92 for GetShape (0.11 sec)
-
tensorflow/c/c_api.cc
return; } tensorflow::shape_inference::ShapeHandle new_shape = tensorflow::ShapeHandleFromDims(ic, num_dims, dims); status->status = graph->refiner.SetShape(node, output.index, new_shape); } int TF_GraphGetTensorNumDims(TF_Graph* graph, TF_Output output, TF_Status* status) { Node* node = &output.oper->node;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Apr 15 03:35:10 UTC 2024 - 102.3K bytes - Viewed (0) -
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: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Apr 15 03:35:10 UTC 2024 - 96.9K bytes - Viewed (0)