tqchen commented on code in PR #11066: URL: https://github.com/apache/tvm/pull/11066#discussion_r853638940
########## python/tvm/analysis/__init__.py: ########## @@ -0,0 +1,296 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +"""High level analysis functions""" Review Comment: The main reason was mentioned above: `analysis` was already used by IR based analysis (in the case of boh tir and relay). So there might be confusions in here I understand that it should not be part of runtime/profile because we need compiler support. In this case `profile_analysis` might be a good distinction(I am not sticking to this particular name though and there might be better one), happy to discuss other name choices as well. One thing to note though is that we might increasing would need compiler counter for profiling. So another possible could be `profile`(compiler support if needed for jitting) and `runtime/profile_rt`(the runtime counter part) -- 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]
