Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for PartialTensorShape (0.14 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(absl::Span<const int64_t>(
            reinterpret_cast<const int64_t*>(dims), num_dims));
      }
      desc->node_builder.Attr(attr_name, shape);
    }
    
    Registered: Tue Dec 30 12:39:10 UTC 2025
    - Last Modified: Sat Oct 04 05:55:32 UTC 2025
    - 102.4K bytes
    - Viewed (0)
Back to top