[PATCH] D85262: [llvm] Expose untyped accessor to evaluation result tensors

Mircea Trofin via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Aug 5 09:34:11 PDT 2020


mtrofin marked an inline comment as done.
mtrofin added inline comments.


================
Comment at: llvm/include/llvm/Analysis/Utils/TFUtils.h:120-122
+    /// Get a (const) pointer to the untyped data of the tensor.
+    void *getUntypedTensorValue(size_t Index);
+    const void *getUntypedTensorValue(size_t Index) const;
----------------
yundiqian wrote:
> why making them public?
See motivation in patch description - they are necessary for generic data copying (for upcoming patch)


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D85262/new/

https://reviews.llvm.org/D85262



More information about the llvm-commits mailing list