Commit 9c1195eb by Liang ZOU Committed by Tianqi Chen

[typo] fucn => func (#2240)

parent 4e21982b
......@@ -215,7 +215,7 @@ NNVM_REGISTER_PASS(InferShape)
.set_change_graph(false)
.provide_graph_attr("shape");
// inference fucntion for same type
// inference function for same type
inline bool SameType(const NodeAttrs& attrs,
std::vector<int> *iattr,
std::vector<int> *oattr) {
......
......@@ -141,7 +141,7 @@ class FuncType(Type):
This is the type assigned to functions in Relay. They consist of
a list of type parameters which enable the definition of generic
fucntions, a set of type constraints which we omit for the time
functions, a set of type constraints which we omit for the time
being, a sequence of argument types, and a return type.
We informally write them as:
......
......@@ -121,7 +121,7 @@ class FuncType(Type):
This is the type assigned to functions in Relay. They consist of
a list of type parameters which enable the definition of generic
fucntions, a set of type constraints which we omit for the time
functions, a set of type constraints which we omit for the time
being, a sequence of argument types, and a return type.
We informally write them as:
......
......@@ -750,7 +750,7 @@ extern "C" {
) -> ::std::os::raw::c_int;
}
extern "C" {
/// \brief Simple static initialization fucntion.
/// \brief Simple static initialization function.
/// Run f once and set handle to be not null.
/// This function is mainly used for test purpose.
///
......
......@@ -49,7 +49,7 @@ TVM_REGISTER_API("_context_test")
*ret = ctx;
});
// internal fucntion used for debug and testing purposes
// internal function used for debug and testing purposes
TVM_REGISTER_API("_ndarray_use_count")
.set_body([](TVMArgs args, TVMRetValue *ret) {
runtime::NDArray nd = args[0];
......
......@@ -221,7 +221,7 @@ class ScheduleGetter :
class CompileEngineImpl : public CompileEngineNode {
public:
// Lower the fucntion.
// Lower the function.
CachedFunc Lower(const CCacheKey& key) {
return LowerInternal(key)->cached_func;
}
......
......@@ -141,7 +141,7 @@ class CUDAModuleNode : public runtime::ModuleNode {
std::mutex mutex_;
};
// a wrapped function class to get packed fucn.
// a wrapped function class to get packed func.
class CUDAWrappedFunc {
public:
// initialize the CUDA function.
......
......@@ -163,7 +163,7 @@ class MetalModuleNode final :public runtime::ModuleNode {
std::mutex mutex_;
};
// a wrapped function class to get packed fucn.
// a wrapped function class to get packed func.
class MetalWrappedFunc {
public:
// initialize the METAL function.
......
......@@ -123,7 +123,7 @@ class ROCMModuleNode : public runtime::ModuleNode {
std::mutex mutex_;
};
// a wrapped function class to get packed fucn.
// a wrapped function class to get packed func.
class ROCMWrappedFunc {
public:
// initialize the ROCM function.
......
......@@ -223,7 +223,7 @@ class VulkanModuleNode final :public runtime::ModuleNode {
std::mutex mutex_;
};
// a wrapped function class to get packed fucn.
// a wrapped function class to get packed func.
class VulkanWrappedFunc {
public:
// initialize the VULKAN function.
......
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