- Sort Score
- Num 10 results
- Language All
Results 1 - 2 of 2 for TF_SetAttrTensorShapeProtoList (0.16 seconds)
-
tensorflow/c/c_api.h
// `protos` and `proto_lens` must point to arrays of length `num_shapes`. // `protos[i]` must point to an array of `proto_lens[i]` bytes // representing a binary-serialized TensorShapeProto. TF_CAPI_EXPORT extern void TF_SetAttrTensorShapeProtoList( TF_OperationDescription* desc, const char* attr_name, const void* const* protos, const size_t* proto_lens, int num_shapes, TF_Status* status);Created: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Thu Oct 26 21:08:15 GMT 2023 - 82.3K bytes - Click Count (0) -
tensorflow/c/c_api_test.cc
std::unique_ptr<size_t[]> list_lens; const std::vector<std::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_);
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)