- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for TensorShapeProto (0.06 sec)
-
tensorflow/c/c_api.h
// Sets `value` to the binary-serialized TensorShapeProto of the value of // `attr_name` attribute of `oper`. TF_CAPI_EXPORT extern void TF_OperationGetAttrTensorShapeProto( TF_Operation* oper, const char* attr_name, TF_Buffer* value, TF_Status* status); // Fills in `values` with binary-serialized TensorShapeProto values of the
Registered: Tue Sep 09 12:39:10 UTC 2025 - Last Modified: Thu Oct 26 21:08:15 UTC 2023 - 82.3K bytes - Viewed (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");
Registered: Tue Sep 09 12:39:10 UTC 2025 - Last Modified: Fri Dec 27 12:18:10 UTC 2024 - 97K bytes - Viewed (0)