tqchen commented on a change in pull request #9023:
URL: https://github.com/apache/tvm/pull/9023#discussion_r713249834
##########
File path: include/tvm/te/tensor.h
##########
@@ -100,6 +100,15 @@ class TensorNode : public DataProducerNode {
* or intermediate computation result.
*/
class Tensor : public DataProducer {
+ private:
+ /*!
+ * \brief Helper for indexing operations into tensors
+ * \param indices The indices
+ * \param support_negative_indices Whether to normalize indices in the case
of negative indices.
+ * \return the result expression representing tensor read.
+ */
+ inline PrimExpr index_tensor(Array<PrimExpr> indices, bool
support_negative_indices) const;
Review comment:
CamelCase per google code style
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]