Commit c8772288 by Tianqi Chen Committed by Yizhi Liu

[LINT] Remove unnecessary copyright message for files with ASF header (#4409)

* [LINT] Improve the check tool to handle ASF copyright message.

* [LINT] Remove unnecessary copyright message as per ASF requirement.

* Fix codegen hybrid

* [LINT] Broaden license checks to include html, xml

* [LINT] Fix rest of the files

* Fix notice

* [LINT] Improve check file type error message
parent 8ba1d7d1
Apache TVM (incubating) Apache TVM (incubating)
Copyright 2017 and onwards The Apache Software Foundation Copyright 2019 and onwards The Apache Software Foundation
This product includes software developed at This product includes software developed at
The Apache Software Foundation (http://www.apache.org/). The Apache Software Foundation (http://www.apache.org/).
......
# 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.
LOCAL_PATH := $(call my-dir) LOCAL_PATH := $(call my-dir)
MY_PATH := $(LOCAL_PATH) MY_PATH := $(LOCAL_PATH)
......
# 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.
ifndef config ifndef config
ifneq ("$(wildcard ./config.mk)","") ifneq ("$(wildcard ./config.mk)","")
config ?= config.mk config ?= config.mk
......
# 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.
#------------------------------------------------------------------------------- #-------------------------------------------------------------------------------
# Template configuration for compiling # Template configuration for compiling
# #
......
# 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.
ifndef config ifndef config
ifneq ("$(wildcard ./config.mk)","") ifneq ("$(wildcard ./config.mk)","")
config ?= config.mk config ?= config.mk
......
...@@ -18,7 +18,6 @@ ...@@ -18,7 +18,6 @@
*/ */
/*! /*!
* Copyright (c) 2017 by Contributors
* \file tvm_runtime.h * \file tvm_runtime.h
* \brief Pack all tvm runtime source files * \brief Pack all tvm runtime source files
*/ */
......
...@@ -19,7 +19,6 @@ ...@@ -19,7 +19,6 @@
/*! /*!
* Copyright (c) 2017 by Contributors
* \brief Example package that uses TVM. * \brief Example package that uses TVM.
* \file tvm_ext.cc * \file tvm_ext.cc
*/ */
......
...@@ -18,7 +18,6 @@ ...@@ -18,7 +18,6 @@
*/ */
/*! /*!
* Copyright (c) 2017 by Contributors
* \brief Example code on load and run TVM module.s * \brief Example code on load and run TVM module.s
* \file cpp_deploy.cc * \file cpp_deploy.cc
*/ */
......
...@@ -15,7 +15,6 @@ ...@@ -15,7 +15,6 @@
# specific language governing permissions and limitations # specific language governing permissions and limitations
# under the License. # under the License.
# Copyright (c) 2017 by Contributors
# brief Example code on load and run TVM module.s # brief Example code on load and run TVM module.s
# file python_deploy.py # file python_deploy.py
......
// !$*UTF8*$! // !$*UTF8*$!
/*
* 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.
*/
{ {
archiveVersion = 1; archiveVersion = 1;
classes = { classes = {
......
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<!--- 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. -->
<Workspace <Workspace
version = "1.0"> version = "1.0">
<FileRef <FileRef
......
...@@ -18,7 +18,6 @@ ...@@ -18,7 +18,6 @@
*/ */
/*! /*!
* Copyright (c) 2017 by Contributors
* \file AppDelegate.h * \file AppDelegate.h
*/ */
......
...@@ -18,7 +18,6 @@ ...@@ -18,7 +18,6 @@
*/ */
/*! /*!
* Copyright (c) 2017 by Contributors
* \file AppDelegate.mm * \file AppDelegate.mm
*/ */
......
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<!--- 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. -->
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="12121" systemVersion="16D30" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" colorMatched="YES" initialViewController="BYZ-38-t0r"> <document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="12121" systemVersion="16D30" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" colorMatched="YES" initialViewController="BYZ-38-t0r">
<device id="retina4_7" orientation="portrait"> <device id="retina4_7" orientation="portrait">
<adaptation id="fullscreen"/> <adaptation id="fullscreen"/>
......
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<!--- 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. -->
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0"> <plist version="1.0">
<dict> <dict>
......
...@@ -18,7 +18,6 @@ ...@@ -18,7 +18,6 @@
*/ */
/*! /*!
* Copyright (c) 2017 by Contributors
* \file TVMRuntime.h * \file TVMRuntime.h
*/ */
#import <Foundation/Foundation.h> #import <Foundation/Foundation.h>
......
...@@ -18,7 +18,6 @@ ...@@ -18,7 +18,6 @@
*/ */
/*! /*!
* Copyright (c) 2017 by Contributors
* \file ViewController.h * \file ViewController.h
*/ */
......
...@@ -18,7 +18,6 @@ ...@@ -18,7 +18,6 @@
*/ */
/*! /*!
* Copyright (c) 2017 by Contributors
* \file ViewController.mm * \file ViewController.mm
*/ */
......
...@@ -18,7 +18,6 @@ ...@@ -18,7 +18,6 @@
*/ */
/*! /*!
* Copyright (c) 2017 by Contributors
* \file main.m * \file main.m
*/ */
......
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<!--- 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. -->
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0"> <plist version="1.0">
<dict> <dict>
......
...@@ -18,7 +18,6 @@ ...@@ -18,7 +18,6 @@
*/ */
/*! /*!
* Copyright (c) 2017 by Contributors
* \brief A hook to launch RPC server via xcodebuild test * \brief A hook to launch RPC server via xcodebuild test
* \file tvmrpcLauncher.mm * \file tvmrpcLauncher.mm
*/ */
......
...@@ -18,7 +18,6 @@ ...@@ -18,7 +18,6 @@
*/ */
/*! /*!
* Copyright (c) 2018 by Contributors
* \brief Sample golang application deployment over tvm. * \brief Sample golang application deployment over tvm.
* \file complex.go * \file complex.go
*/ */
......
...@@ -18,7 +18,6 @@ ...@@ -18,7 +18,6 @@
*/ */
/*! /*!
* Copyright (c) 2018 by Contributors
* \brief Sample golang application to demonstrate go-closure given to a packed function argument. * \brief Sample golang application to demonstrate go-closure given to a packed function argument.
* \file pack_func_closure_arg.go * \file pack_func_closure_arg.go
*/ */
......
...@@ -18,7 +18,6 @@ ...@@ -18,7 +18,6 @@
*/ */
/*! /*!
* Copyright (c) 2018 by Contributors
* \brief Sample golang application to demonstrate go-closure returned from a callback function. * \brief Sample golang application to demonstrate go-closure returned from a callback function.
* \file pack_func_closure_return.go * \file pack_func_closure_return.go
*/ */
......
...@@ -18,7 +18,6 @@ ...@@ -18,7 +18,6 @@
*/ */
/*! /*!
* Copyright (c) 2018 by Contributors
* \brief Sample golang application to demonstrate function conversion to packed function. * \brief Sample golang application to demonstrate function conversion to packed function.
* \file pack_func_convert.go * \file pack_func_convert.go
*/ */
......
...@@ -18,7 +18,6 @@ ...@@ -18,7 +18,6 @@
*/ */
/*! /*!
* Copyright (c) 2018 by Contributors
* \brief Sample golang application to demonstrate converted packed * \brief Sample golang application to demonstrate converted packed
* function handle passed to another packed function. * function handle passed to another packed function.
* \file pack_func_handle_arg.go * \file pack_func_handle_arg.go
......
...@@ -18,7 +18,6 @@ ...@@ -18,7 +18,6 @@
*/ */
/*! /*!
* Copyright (c) 2018 by Contributors
* \brief Sample golang application to demonstrate function register into TVM global functions. * \brief Sample golang application to demonstrate function register into TVM global functions.
* \file pack_func_register.go * \file pack_func_register.go
*/ */
......
...@@ -18,7 +18,6 @@ ...@@ -18,7 +18,6 @@
*/ */
/*! /*!
* Copyright (c) 2018 by Contributors
* \brief Sample golang application deployment over tvm. * \brief Sample golang application deployment over tvm.
* \file simple.go * \file simple.go
*/ */
......
...@@ -18,7 +18,6 @@ ...@@ -18,7 +18,6 @@
*/ */
/*! /*!
* Copyright (c) 2018 by Contributors
* \brief gotvm package * \brief gotvm package
* \file array_test.go * \file array_test.go
*/ */
......
...@@ -18,7 +18,6 @@ ...@@ -18,7 +18,6 @@
*/ */
/*! /*!
* Copyright (c) 2018 by Contributors
* \brief gotvm package source for TVMByteArray interface. * \brief gotvm package source for TVMByteArray interface.
* \file bytearray.go * \file bytearray.go
*/ */
......
...@@ -18,7 +18,6 @@ ...@@ -18,7 +18,6 @@
*/ */
/*! /*!
* Copyright (c) 2018 by Contributors
* \brief gotvm package * \brief gotvm package
* \file bytearray_test.go * \file bytearray_test.go
*/ */
......
...@@ -18,7 +18,6 @@ ...@@ -18,7 +18,6 @@
*/ */
/*! /*!
* Copyright (c) 2018 by Contributors
* \brief gotvm package source for TVMContext interface * \brief gotvm package source for TVMContext interface
* \file context.go * \file context.go
*/ */
......
...@@ -18,7 +18,6 @@ ...@@ -18,7 +18,6 @@
*/ */
/*! /*!
* Copyright (c) 2018 by Contributors
* \brief gotvm package source for error related API interface. * \brief gotvm package source for error related API interface.
* \file error.go * \file error.go
*/ */
......
...@@ -18,7 +18,6 @@ ...@@ -18,7 +18,6 @@
*/ */
/*! /*!
* Copyright (c) 2018 by Contributors
* \brief gotvm package * \brief gotvm package
* \file error_test.go * \file error_test.go
*/ */
......
...@@ -18,7 +18,6 @@ ...@@ -18,7 +18,6 @@
*/ */
/*! /*!
* Copyright (c) 2018 by Contributors
* \brief gotvm package source for TVMFunction interface. * \brief gotvm package source for TVMFunction interface.
* \file function.go * \file function.go
*/ */
......
...@@ -18,7 +18,6 @@ ...@@ -18,7 +18,6 @@
*/ */
/*! /*!
* Copyright (c) 2018 by Contributors
* \brief gotvm package * \brief gotvm package
* \file function_test.go * \file function_test.go
*/ */
......
...@@ -18,7 +18,6 @@ ...@@ -18,7 +18,6 @@
*/ */
/*! /*!
* Copyright (c) 2018 by Contributors
* \brief gotvm native interface definition * \brief gotvm native interface definition
* \file gotvm.cxx * \file gotvm.cxx
*/ */
......
...@@ -18,7 +18,6 @@ ...@@ -18,7 +18,6 @@
*/ */
/*! /*!
* Copyright (c) 2018 by Contributors
* \brief gotvm package * \brief gotvm package
* \file gotvm.go * \file gotvm.go
*/ */
......
...@@ -18,7 +18,6 @@ ...@@ -18,7 +18,6 @@
*/ */
/*! /*!
* Copyright (c) 2018 by Contributors
* \brief gotvm native interface declaration. * \brief gotvm native interface declaration.
* \file gotvm.h * \file gotvm.h
* *
......
...@@ -18,7 +18,6 @@ ...@@ -18,7 +18,6 @@
*/ */
/*! /*!
* Copyright (c) 2018 by Contributors
* \brief gotvm package * \brief gotvm package
* \file gotvm_test.go * \file gotvm_test.go
*/ */
......
...@@ -18,7 +18,6 @@ ...@@ -18,7 +18,6 @@
*/ */
/*! /*!
* Copyright (c) 2018 by Contributors
* \brief gotvm package source for TVMModule interface. * \brief gotvm package source for TVMModule interface.
* \file module.go * \file module.go
*/ */
......
...@@ -18,7 +18,6 @@ ...@@ -18,7 +18,6 @@
*/ */
/*! /*!
* Copyright (c) 2018 by Contributors
* \brief gotvm package * \brief gotvm package
* \file module_test.go * \file module_test.go
*/ */
......
...@@ -18,7 +18,6 @@ ...@@ -18,7 +18,6 @@
*/ */
/*! /*!
* Copyright (c) 2018 by Contributors
* \brief gotvm package source for TVMArray aka DLTensor * \brief gotvm package source for TVMArray aka DLTensor
* \file ndarray.go * \file ndarray.go
*/ */
......
...@@ -18,7 +18,6 @@ ...@@ -18,7 +18,6 @@
*/ */
/*! /*!
* Copyright (c) 2018 by Contributors
* \brief gotvm package for TVMType interface * \brief gotvm package for TVMType interface
* \file type.go * \file type.go
*/ */
......
...@@ -18,7 +18,6 @@ ...@@ -18,7 +18,6 @@
*/ */
/*! /*!
* Copyright (c) 2018 by Contributors
* \brief gotvm package source for common utilities * \brief gotvm package source for common utilities
* \file util.go * \file util.go
*/ */
......
...@@ -18,7 +18,6 @@ ...@@ -18,7 +18,6 @@
*/ */
/*! /*!
* Copyright (c) 2018 by Contributors
* \brief gotvm package source for TVMValue interface * \brief gotvm package source for TVMValue interface
* \file value.go * \file value.go
*/ */
......
...@@ -18,7 +18,6 @@ ...@@ -18,7 +18,6 @@
*/ */
/*! /*!
* Copyright (c) 2018 by Contributors
* \brief gotvm package * \brief gotvm package
* \file value_test.go * \file value_test.go
*/ */
......
...@@ -18,7 +18,6 @@ ...@@ -18,7 +18,6 @@
*/ */
/*! /*!
* Copyright (c) 2019 by Contributors
* \file tvm/relay/attrs/reduce.h * \file tvm/relay/attrs/reduce.h
* \brief Auxiliary attributes for reduce operators. * \brief Auxiliary attributes for reduce operators.
*/ */
......
...@@ -18,7 +18,6 @@ ...@@ -18,7 +18,6 @@
*/ */
/*! /*!
* Copyright (c) 2016 by Contributors
* \file nnvm/base.h * \file nnvm/base.h
* \brief Configuration of nnvm as well as basic data structure. * \brief Configuration of nnvm as well as basic data structure.
*/ */
......
...@@ -18,7 +18,6 @@ ...@@ -18,7 +18,6 @@
*/ */
/*! /*!
* Copyright (c) 2016 by Contributors
* \file nnvm/c_api.h * \file nnvm/c_api.h
* \brief C API of NNVM symbolic construction and pass. * \brief C API of NNVM symbolic construction and pass.
* Enables construction and transformation of Graph * Enables construction and transformation of Graph
......
...@@ -18,7 +18,6 @@ ...@@ -18,7 +18,6 @@
*/ */
/*! /*!
* Copyright (c) 2017 by Contributors
* \file nnvm/compiler/op_attr_types.h * \file nnvm/compiler/op_attr_types.h
* \brief The Expr and related elements in DataFlow construction. * \brief The Expr and related elements in DataFlow construction.
*/ */
......
...@@ -18,7 +18,6 @@ ...@@ -18,7 +18,6 @@
*/ */
/*! /*!
* Copyright (c) 2017 by Contributors
* \file nnvm/compiler/packed_func_ext.h * \file nnvm/compiler/packed_func_ext.h
* \brief Extension to enable packed functionn for nnvm types * \brief Extension to enable packed functionn for nnvm types
*/ */
......
...@@ -18,7 +18,6 @@ ...@@ -18,7 +18,6 @@
*/ */
/*! /*!
* Copyright (c) 2016 by Contributors
* \file nnvm/compiler/util.h * \file nnvm/compiler/util.h
* \brief Utility functions for nnvm compiler * \brief Utility functions for nnvm compiler
*/ */
......
...@@ -18,7 +18,6 @@ ...@@ -18,7 +18,6 @@
*/ */
/*! /*!
* Copyright (c) 2016 by Contributors
* \file nnvm/graph.h * \file nnvm/graph.h
* \brief Configuation of nnvm as well as basic data structure. * \brief Configuation of nnvm as well as basic data structure.
*/ */
......
...@@ -18,7 +18,6 @@ ...@@ -18,7 +18,6 @@
*/ */
/*! /*!
* Copyright (c) 2016 by Contributors
* \file nnvm/graph_attr_types.h * \file nnvm/graph_attr_types.h
* \brief Data structures that can appear in graph attributes. * \brief Data structures that can appear in graph attributes.
*/ */
......
...@@ -18,7 +18,6 @@ ...@@ -18,7 +18,6 @@
*/ */
/*! /*!
* Copyright (c) 2018 by Contributors
* \file nnvm/layout.h * \file nnvm/layout.h
* \brief Layout expression. * \brief Layout expression.
* The layout is composed of upper cases, lower cases and numbers, * The layout is composed of upper cases, lower cases and numbers,
......
...@@ -18,7 +18,6 @@ ...@@ -18,7 +18,6 @@
*/ */
/*! /*!
* Copyright (c) 2016 by Contributors
* \file nnvm/node.h * \file nnvm/node.h
* \brief Graph node data structure. * \brief Graph node data structure.
*/ */
......
...@@ -18,7 +18,6 @@ ...@@ -18,7 +18,6 @@
*/ */
/*! /*!
* Copyright (c) 2016 by Contributors
* \file nnvm/op.h * \file nnvm/op.h
* \brief Operator information structor. * \brief Operator information structor.
*/ */
......
...@@ -18,7 +18,6 @@ ...@@ -18,7 +18,6 @@
*/ */
/*! /*!
* Copyright (c) 2016 by Contributors
* \file nnvm/op_attr_types.h * \file nnvm/op_attr_types.h
* \brief Data structures that can appear in operator attributes. * \brief Data structures that can appear in operator attributes.
*/ */
......
...@@ -18,7 +18,6 @@ ...@@ -18,7 +18,6 @@
*/ */
/*! /*!
* Copyright (c) 2016 by Contributors
* \file nnvm/pass.h * \file nnvm/pass.h
* \brief Pass that can be applied to a graph. * \brief Pass that can be applied to a graph.
*/ */
......
...@@ -18,7 +18,6 @@ ...@@ -18,7 +18,6 @@
*/ */
/*! /*!
* Copyright (c) 2016 by Contributors
* \file nnvm/pass_functions.h * \file nnvm/pass_functions.h
* \brief Pass functions that simply redirect the calls to ApplyPass * \brief Pass functions that simply redirect the calls to ApplyPass
* *
......
...@@ -18,7 +18,6 @@ ...@@ -18,7 +18,6 @@
*/ */
/*! /*!
* Copyright (c) 2016 by Contributors
* \file nnvm/symbolic.h * \file nnvm/symbolic.h
* \brief Symbolic graph construction API * \brief Symbolic graph construction API
* *
......
...@@ -18,7 +18,6 @@ ...@@ -18,7 +18,6 @@
*/ */
/*! /*!
* Copyright (c) 2017 by Contributors
* \file nnvm/top/nn.h * \file nnvm/top/nn.h
* \brief Auxiliary param for tensor primitive. * \brief Auxiliary param for tensor primitive.
*/ */
......
...@@ -18,7 +18,6 @@ ...@@ -18,7 +18,6 @@
*/ */
/*! /*!
* Copyright (c) 2017 by Contributors
* \file nnvm/top/tensor.h * \file nnvm/top/tensor.h
* \brief Auxiliary param for tensor primitive. * \brief Auxiliary param for tensor primitive.
*/ */
......
...@@ -18,7 +18,6 @@ ...@@ -18,7 +18,6 @@
*/ */
/*! /*!
* Copyright (c) 2016 by Contributors
* \file nnvm/tuple.h * \file nnvm/tuple.h
* \brief Data structure Tuple and TShape to store dynamic sized shapes. * \brief Data structure Tuple and TShape to store dynamic sized shapes.
*/ */
......
...@@ -18,7 +18,6 @@ ...@@ -18,7 +18,6 @@
*/ */
/*! /*!
* Copyright (c) 2016 by Contributors
* \file c_api_error.h * \file c_api_error.h
* \brief Common fields of all C APIs * \brief Common fields of all C APIs
*/ */
......
...@@ -18,7 +18,6 @@ ...@@ -18,7 +18,6 @@
*/ */
/*! /*!
* Copyright (c) 2016 by Contributors
* \file c_api_error.cc * \file c_api_error.cc
* \brief C error handling * \brief C error handling
*/ */
......
...@@ -18,7 +18,6 @@ ...@@ -18,7 +18,6 @@
*/ */
/*! /*!
* Copyright (c) 2016 by Contributors
* \file c_api_graph.cc * \file c_api_graph.cc
* \brief C API related to Graph IR. * \brief C API related to Graph IR.
*/ */
......
...@@ -18,7 +18,6 @@ ...@@ -18,7 +18,6 @@
*/ */
/*! /*!
* Copyright (c) 2016 by Contributors
* \file c_api_symbolic.cc * \file c_api_symbolic.cc
* \brief C API related to symbolic graph compsition. * \brief C API related to symbolic graph compsition.
*/ */
......
...@@ -18,7 +18,6 @@ ...@@ -18,7 +18,6 @@
*/ */
/*! /*!
* Copyright (c) 2018 by Contributors
* \file alter_op_layout.cc * \file alter_op_layout.cc
* \brief Alter the operator layouts. Keep inferred layouts (if any) from previous stages. * \brief Alter the operator layouts. Keep inferred layouts (if any) from previous stages.
* e.g., convolution may calculates faster with NCHW16c layout. * e.g., convolution may calculates faster with NCHW16c layout.
......
...@@ -18,7 +18,6 @@ ...@@ -18,7 +18,6 @@
*/ */
/*! /*!
* Copyright (c) 2017 by Contributors
* \file compile_engine.cc * \file compile_engine.cc
* \brief The compile engine. * \brief The compile engine.
*/ */
......
...@@ -18,7 +18,6 @@ ...@@ -18,7 +18,6 @@
*/ */
/*! /*!
* Copyright (c) 2017 by Contributors
* \file compile_engine.h * \file compile_engine.h
* \brief Internal engine to compile a subgraph fragment and cache compilation. * \brief Internal engine to compile a subgraph fragment and cache compilation.
*/ */
......
...@@ -18,7 +18,6 @@ ...@@ -18,7 +18,6 @@
*/ */
/*! /*!
* Copyright (c) 2017 by Contributors
* \file fold_scale_axis.cc * \file fold_scale_axis.cc
* \author Fold scaling parameter of axis into weight of conv/dense * \author Fold scaling parameter of axis into weight of conv/dense
*/ */
......
...@@ -18,7 +18,6 @@ ...@@ -18,7 +18,6 @@
*/ */
/*! /*!
* Copyright (c) 2018 by Contributors
* \file graph_compile.cc * \file graph_compile.cc
* \brief Compile a graph. It lowers the graph nodes into low level IR. * \brief Compile a graph. It lowers the graph nodes into low level IR.
*/ */
......
...@@ -18,7 +18,6 @@ ...@@ -18,7 +18,6 @@
*/ */
/*! /*!
* Copyright (c) 2017 by Contributors
* \file graph_fuse.cc * \file graph_fuse.cc
* \brief Fuse the operators together. * \brief Fuse the operators together.
*/ */
......
...@@ -18,7 +18,6 @@ ...@@ -18,7 +18,6 @@
*/ */
/*! /*!
* Copyright (c) 2018 by Contributors
* \file graph_fuse.h * \file graph_fuse.h
* \brief Definition of structs used by graph fusion * \brief Definition of structs used by graph fusion
*/ */
......
...@@ -18,7 +18,6 @@ ...@@ -18,7 +18,6 @@
*/ */
/*! /*!
* Copyright (c) 2017 by Contributors
* \file graph_deep_compare.cc * \file graph_deep_compare.cc
* \brief Deep compare two graph structure * \brief Deep compare two graph structure
*/ */
......
...@@ -18,7 +18,6 @@ ...@@ -18,7 +18,6 @@
*/ */
/*! /*!
* Copyright (c) 2017 by Contributors
* \file graph_hash.h * \file graph_hash.h
* \brief The graph hashing function. * \brief The graph hashing function.
*/ */
......
...@@ -18,7 +18,6 @@ ...@@ -18,7 +18,6 @@
*/ */
/*! /*!
* Copyright (c) 2017 by Contributors
* \file graph_runtime.h * \file graph_runtime.h
* \brief Interface code with TVM graph runtime. * \brief Interface code with TVM graph runtime.
*/ */
......
...@@ -18,7 +18,6 @@ ...@@ -18,7 +18,6 @@
*/ */
/*! /*!
* Copyright (c) 2017 by Contributors
* \file graph_transform.h * \file graph_transform.h
* \brief A mutator class that does local pattern matching and mutates a node. * \brief A mutator class that does local pattern matching and mutates a node.
*/ */
......
...@@ -18,7 +18,6 @@ ...@@ -18,7 +18,6 @@
*/ */
/*! /*!
* Copyright (c) 2017 by Contributors
* \file node_attr.h * \file node_attr.h
* \brief utility to access node attributes * \brief utility to access node attributes
*/ */
......
...@@ -18,7 +18,6 @@ ...@@ -18,7 +18,6 @@
*/ */
/*! /*!
* Copyright (c) 2017 by Contributors
* \file packed_func_ext.cc * \file packed_func_ext.cc
* \brief Registeration of extension type. * \brief Registeration of extension type.
*/ */
......
...@@ -18,7 +18,6 @@ ...@@ -18,7 +18,6 @@
*/ */
/*! /*!
* Copyright (c) 2017 by Contributors
* \file pattern_util.h * \file pattern_util.h
* \brief Utilities for doing various pattern matching in graph. * \brief Utilities for doing various pattern matching in graph.
*/ */
......
...@@ -18,7 +18,6 @@ ...@@ -18,7 +18,6 @@
*/ */
/*! /*!
* Copyright (c) 2017 by Contributors
* \file precompute_prune.cc * \file precompute_prune.cc
* \brief Split the graph into a pre-compute graph and a execution graph. * \brief Split the graph into a pre-compute graph and a execution graph.
* *
......
...@@ -18,7 +18,6 @@ ...@@ -18,7 +18,6 @@
*/ */
/*! /*!
* Copyright (c) 2017 by Contributors
* \file simplify_inference.cc * \file simplify_inference.cc
* \author Ziheng Jiang * \author Ziheng Jiang
*/ */
......
...@@ -18,7 +18,6 @@ ...@@ -18,7 +18,6 @@
*/ */
/*! /*!
* Copyright (c) 2016 by Contributors
* \file graph_attr_types.cc * \file graph_attr_types.cc
* \brief Graph node data structure. * \brief Graph node data structure.
*/ */
......
...@@ -18,7 +18,6 @@ ...@@ -18,7 +18,6 @@
*/ */
/*! /*!
* Copyright (c) 2016 by Contributors
* \file node.cc * \file node.cc
* \brief Graph node data structure. * \brief Graph node data structure.
*/ */
......
...@@ -18,7 +18,6 @@ ...@@ -18,7 +18,6 @@
*/ */
/*! /*!
* Copyright (c) 2016 by Contributors
* \file op.cc * \file op.cc
* \brief Support for operator registry. * \brief Support for operator registry.
*/ */
......
...@@ -18,7 +18,6 @@ ...@@ -18,7 +18,6 @@
*/ */
/*! /*!
* Copyright (c) 2016 by Contributors
* \file pass.cc * \file pass.cc
* \brief Support for pass registry. * \brief Support for pass registry.
*/ */
......
...@@ -18,7 +18,6 @@ ...@@ -18,7 +18,6 @@
*/ */
/*! /*!
* Copyright (c) 2016 by Contributors
* \file symbolic.cc * \file symbolic.cc
* \brief Symbolic graph composition API. * \brief Symbolic graph composition API.
*/ */
......
...@@ -18,7 +18,6 @@ ...@@ -18,7 +18,6 @@
*/ */
/*! /*!
* Copyright (c) 2018 by Contributors
* \file correct_layout.cc * \file correct_layout.cc
* \brief Infer and correct layout. * \brief Infer and correct layout.
*/ */
......
...@@ -18,7 +18,6 @@ ...@@ -18,7 +18,6 @@
*/ */
/*! /*!
* Copyright (c) 2016 by Contributors
* \file gradients.cc * \file gradients.cc
* \brief Passes that takes gradient of the graph * \brief Passes that takes gradient of the graph
* This code code was modified based on mxnet codebase by Min Lin * This code code was modified based on mxnet codebase by Min Lin
......
...@@ -18,7 +18,6 @@ ...@@ -18,7 +18,6 @@
*/ */
/*! /*!
* Copyright (c) 2016 by Contributors
* \file graph_algorithm.h * \file graph_algorithm.h
* \brief This header contains graph algorithms on StaticGraph. * \brief This header contains graph algorithms on StaticGraph.
* It is used compute informations such as whether two * It is used compute informations such as whether two
......
...@@ -18,7 +18,6 @@ ...@@ -18,7 +18,6 @@
*/ */
/*! /*!
* Copyright (c) 2016 by Contributors
* \file infer_shape.cc * \file infer_shape.cc
* \brief Inference the shapes given existin information. * \brief Inference the shapes given existin information.
*/ */
......
...@@ -18,7 +18,6 @@ ...@@ -18,7 +18,6 @@
*/ */
/*! /*!
* Copyright (c) 2016 by Contributors
* \file order_mutation.cc * \file order_mutation.cc
* \brief Add control flow dependencies between nodes * \brief Add control flow dependencies between nodes
* To correctly order mutation and read to resolve * To correctly order mutation and read to resolve
......
...@@ -18,7 +18,6 @@ ...@@ -18,7 +18,6 @@
*/ */
/*! /*!
* Copyright (c) 2016 by Contributors
* \file place_device.cc * \file place_device.cc
* \brief Inference the device of each operator given known information. * \brief Inference the device of each operator given known information.
* Insert a copy node automatically when there is a cross device. * Insert a copy node automatically when there is a cross device.
......
...@@ -18,7 +18,6 @@ ...@@ -18,7 +18,6 @@
*/ */
/*! /*!
* Copyright (c) 2016 by Contributors
* \file plan_memory.cc * \file plan_memory.cc
* \brief Assign memory tag to each of the data entries. * \brief Assign memory tag to each of the data entries.
*/ */
......
...@@ -18,7 +18,6 @@ ...@@ -18,7 +18,6 @@
*/ */
/*! /*!
* Copyright (c) 2017 by Contributors
* \file print_graph_ir.cc * \file print_graph_ir.cc
* \brief Print the graph IR in LLVM style human readable format. * \brief Print the graph IR in LLVM style human readable format.
*/ */
......
...@@ -18,7 +18,6 @@ ...@@ -18,7 +18,6 @@
*/ */
/*! /*!
* Copyright (c) 2016 by Contributors
* \file saveload_json.cc * \file saveload_json.cc
* \brief Save and load graph to/from JSON file. * \brief Save and load graph to/from JSON file.
*/ */
......
...@@ -18,7 +18,6 @@ ...@@ -18,7 +18,6 @@
*/ */
/*! /*!
* Copyright (c) 2017 by Contributors
* \file elemwise_op_common.h * \file elemwise_op_common.h
* \brief Common operator utilities * \brief Common operator utilities
*/ */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment