flexloopy#

Public Python API for the flexloopy package.

Submodules#

Attributes#

Classes#

IntPair

IntPair object.

Functions#

get_lib(→ tvm_ffi.Module)

add_one(→ None)

Add one to the input tensor.

raise_error(→ None)

Raise an error with the given message.

Package Contents#

flexloopy.get_lib() tvm_ffi.Module[源代码]#
flexloopy.__version__ = '0.0.0.dev0'[源代码]#
class flexloopy.IntPair(a: int, b: int)[源代码]#

Bases: tvm_ffi.Object

IntPair object.

flexloopy.add_one(x: Any, y: Any) None[源代码]#

Add one to the input tensor.

参数:
  • x -- Tensor The input tensor.

  • y -- Tensor The output tensor.

flexloopy.raise_error(msg: str) None[源代码]#

Raise an error with the given message.

参数:

msg -- The message to raise the error with.

抛出:

The error raised by the function. --