- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for TF_ShapeAndTypeListSetShape (0.15 sec)
-
tensorflow/c/c_api_experimental_test.cc
TF_NewShapeAndTypeList(input_shapes_vec.size()); for (size_t i = 0; i < input_shapes_vec.size(); ++i) { const auto& input_shape = input_shapes_vec[i]; if (input_shape.has_value()) { TF_ShapeAndTypeListSetShape(input_shapes, i, input_shape->data(), input_shape->size()); } else { TF_ShapeAndTypeListSetUnknownShape(input_shapes, i); } }
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Tue Jan 17 22:27:52 UTC 2023 - 13.1K bytes - Viewed (0) -
tensorflow/c/c_api_experimental.h
// API for manipulating TF_ShapeAndTypeList objects. // TF_CAPI_EXPORT extern TF_ShapeAndTypeList* TF_NewShapeAndTypeList( int num_shapes); TF_CAPI_EXPORT extern void TF_ShapeAndTypeListSetShape( TF_ShapeAndTypeList* shape_list, int index, const int64_t* dims, int num_dims); TF_CAPI_EXPORT extern void TF_ShapeAndTypeListSetUnknownShape( TF_ShapeAndTypeList* shape_list, int index);
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Thu Apr 27 21:07:00 UTC 2023 - 15.1K bytes - Viewed (0) -
tensorflow/c/c_api_experimental.cc
TF_ShapeAndTypeList* result = new TF_ShapeAndTypeList; result->num_items = num_items; result->items = (num_items == 0) ? nullptr : new TF_ShapeAndType[num_items](); return result; } void TF_ShapeAndTypeListSetShape(TF_ShapeAndTypeList* shape_list, int index, const int64_t* dims, int num_dims) { DCHECK(index >= 0 && index < shape_list->num_items);
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Sat Oct 12 16:27:48 UTC 2024 - 29.5K bytes - Viewed (0)