- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for TF_SetAttrTensorShapeProtoList (0.15 sec)
-
tensorflow/c/c_api.cc
desc->node_builder.Attr(attr_name, shape); status->status = absl::OkStatus(); } else { status->status = InvalidArgument("Unparseable TensorShapeProto"); } } void TF_SetAttrTensorShapeProtoList(TF_OperationDescription* desc, const char* attr_name, const void* const* protos,
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Sat Oct 12 16:27:48 UTC 2024 - 102.3K bytes - Viewed (0) -
tensorflow/c/c_api_test.cc
std::unique_ptr<size_t[]> list_lens; const std::vector<string> list = {bytes1, bytes2}; StringVectorToArrays(list, &list_ptrs, &list_lens); auto desc = init("list(shape)"); TF_SetAttrTensorShapeProtoList(desc, "v", list_ptrs.get(), list_lens.get(), list.size(), s_); ASSERT_EQ(TF_OK, TF_GetCode(s_)) << TF_Message(s_); auto oper = TF_FinishOperation(desc, s_);
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Sat Oct 12 16:27:48 UTC 2024 - 97K bytes - Viewed (0)