- Sort Score
- Num 10 results
- Language All
Results 1 - 2 of 2 for TensorShapeProto (0.06 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
tensorflow/c/c_api.cc
" bytes) is too large to be parsed by the protocol buffer library"); return; } TensorShapeProto shape; if (shape.ParseFromArray(proto, static_cast<int>(proto_len))) { desc->node_builder.Attr(attr_name, shape); status->status = absl::OkStatus(); } else { status->status = InvalidArgument("Unparseable TensorShapeProto"); } } void TF_SetAttrTensorShapeProtoList(TF_OperationDescription* desc,
Created: Tue Dec 30 12:39:10 GMT 2025 - Last Modified: Sat Oct 04 05:55:32 GMT 2025 - 102.4K bytes - Click Count (0) -
tensorflow/c/c_api_test.cc
for (int j = 0; j < values_ndims[i]; ++j) { EXPECT_EQ(list[i][j], values[i][j]) << "(" << i << ", " << j << ")"; } } } TEST_F(CApiAttributesTest, TensorShapeProto) { const int64_t pts[] = {2, 4, -1, 8}; tensorflow::TensorShapeProto proto; tensorflow::PartialTensorShape(pts).AsProto(&proto); string bytes; proto.SerializeToString(&bytes); auto desc = init("shape");
Created: Tue Dec 30 12:39:10 GMT 2025 - Last Modified: Mon Nov 17 00:00:38 GMT 2025 - 97K bytes - Click Count (0)