- Sort Score
- Num 10 results
- Language All
Results 1 - 2 of 2 for TensorShapeProto (0.06 seconds)
-
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
Created: Tue Dec 30 12:39:10 GMT 2025 - Last Modified: Thu Oct 26 21:08:15 GMT 2023 - 82.3K 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)