- Sort Score
- Num 10 results
- Language All
Results 1 - 2 of 2 for TF_OperationGetAttrTensorShapeProtoList (0.2 seconds)
-
tensorflow/c/c_api_test.cc
auto oper = TF_FinishOperation(desc, s_); ASSERT_EQ(TF_OK, TF_GetCode(s_)) << TF_Message(s_); EXPECT_TF_META("v", 2, TF_ATTR_SHAPE, 8); TF_Buffer* values[2]; TF_OperationGetAttrTensorShapeProtoList(oper, "v", values, 2, s_); EXPECT_EQ(TF_OK, TF_GetCode(s_)) << TF_Message(s_); for (int i = 0; i < 2; ++i) { int le = list_lens[i]; int la = values[i]->length;
Created: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Wed Jan 07 04:56:09 GMT 2026 - 97.3K bytes - Click Count (0) -
tensorflow/c/c_api.cc
status->status = InvalidArgument("Value for '", attr_name, "' is not a shape."); return; } status->status = MessageToBuffer(attr->shape(), value); } void TF_OperationGetAttrTensorShapeProtoList(TF_Operation* oper, const char* attr_name, TF_Buffer** values, int max_values,Created: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Sat Oct 04 05:55:32 GMT 2025 - 102.4K bytes - Click Count (0)