- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for TF_SetAttrTensorShapeProtoList (0.2 sec)
-
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);
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Thu Oct 26 21:08:15 UTC 2023 - 82.3K bytes - Viewed (0) -
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)