Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for PartialTensorShape (0.18 sec)

  1. tensorflow/c/c_api.cc

    }
    
    void TF_SetAttrShape(TF_OperationDescription* desc, const char* attr_name,
                         const int64_t* dims, int num_dims) {
      PartialTensorShape shape;
      if (num_dims >= 0) {
        shape = PartialTensorShape(
            ArraySlice<int64_t>(reinterpret_cast<const int64_t*>(dims), num_dims));
      }
      desc->node_builder.Attr(attr_name, shape);
    }
    
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Sat Oct 12 16:27:48 UTC 2024
    - 102.3K bytes
    - Viewed (0)
Back to top