Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for TF_ShapeAndTypeListSetDtype (0.33 sec)

  1. tensorflow/c/c_api_experimental.h

        int num_dims);
    TF_CAPI_EXPORT extern void TF_ShapeAndTypeListSetUnknownShape(
        TF_ShapeAndTypeList* shape_list, int index);
    TF_CAPI_EXPORT extern void TF_ShapeAndTypeListSetDtype(
        TF_ShapeAndTypeList* shape_list, int index, TF_DataType dtype);
    TF_CAPI_EXPORT extern void TF_DeleteShapeAndTypeList(
        TF_ShapeAndTypeList* shape_list);
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Thu Apr 27 21:07:00 UTC 2023
    - 15.1K bytes
    - Viewed (0)
  2. tensorflow/c/c_api_experimental.cc

      TF_ShapeAndType& shape = shape_list->items[index];
      DCHECK(shape.dims == nullptr) << "Shape at " << index << " is already set!";
      shape.num_dims = -1;
      shape.dims = nullptr;
    }
    
    void TF_ShapeAndTypeListSetDtype(TF_ShapeAndTypeList* shape_list, int index,
                                     TF_DataType dtype) {
      DCHECK(index >= 0 && index < shape_list->num_items);
      TF_ShapeAndType& shape_and_type = shape_list->items[index];
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Sat Oct 12 16:27:48 UTC 2024
    - 29.5K bytes
    - Viewed (0)
Back to top