file_path
stringlengths
7
180
content
stringlengths
0
811k
repo
stringclasses
11 values
python/tvm/micro/base.py
# 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 u...
https://github.com/zk-ml/tachikoma
python/tvm/micro/build.py
# 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 u...
https://github.com/zk-ml/tachikoma
python/tvm/micro/class_factory.py
# 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 u...
https://github.com/zk-ml/tachikoma
python/tvm/micro/contrib/stm32/__init__.py
# 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 ...
https://github.com/zk-ml/tachikoma
python/tvm/micro/contrib/stm32/emitter.py
# 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 u...
https://github.com/zk-ml/tachikoma
python/tvm/micro/debugger.py
# 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 u...
https://github.com/zk-ml/tachikoma
python/tvm/micro/model_library_format.py
# 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 u...
https://github.com/zk-ml/tachikoma
python/tvm/micro/project.py
# 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 u...
https://github.com/zk-ml/tachikoma
python/tvm/micro/project_api/__init__.py
# 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 u...
https://github.com/zk-ml/tachikoma
python/tvm/micro/project_api/client.py
# 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 u...
https://github.com/zk-ml/tachikoma
python/tvm/micro/project_api/server.py
# 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 u...
https://github.com/zk-ml/tachikoma
python/tvm/micro/session.py
# 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 u...
https://github.com/zk-ml/tachikoma
python/tvm/micro/testing/__init__.py
# 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 u...
https://github.com/zk-ml/tachikoma
python/tvm/micro/testing/aot_test_utils.py
# 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 u...
https://github.com/zk-ml/tachikoma
python/tvm/micro/testing/evaluation.py
# 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 u...
https://github.com/zk-ml/tachikoma
python/tvm/micro/testing/pytest_plugin.py
# 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 u...
https://github.com/zk-ml/tachikoma
python/tvm/micro/testing/utils.py
# 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 u...
https://github.com/zk-ml/tachikoma
python/tvm/micro/transport.py
# 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 u...
https://github.com/zk-ml/tachikoma
python/tvm/mrt/api.py
from __future__ import annotations from dataclasses import dataclass, field import numpy as np import tvm from tvm import relay, ir from .extool import * from .types import * from . import runtime, topi VisitorT = typing.Callable[ [RelayExpr, ParametersT], None ] TransformerT = typing.Callable[ [RelayExpr, ...
https://github.com/zk-ml/tachikoma
python/tvm/mrt/calibrate.py
from __future__ import annotations import typing import numpy as np import tvm from dataclasses import dataclass, field, InitVar from .symbol import * from . import runtime from .transform import Transformer from .types import * @dataclass class Calibrator(Transformer): args: typing.List[Calibrator] is_nd...
https://github.com/zk-ml/tachikoma
python/tvm/mrt/data.py
import numpy as np import tvm from tvm import relay, ir, runtime from .extool import * from .types import ParametersT def random_inputs(expr: ir.expr.RelayExpr, params: ParametersT = {}) -> ParametersT: input_data = {k: v for k, v in params.items()} for v in relay.analysis.free_vars(expr): i...
https://github.com/zk-ml/tachikoma
python/tvm/mrt/dataset-old.py
""" Dataset Class Definition. Customized datasets definition and customized interface definition including ``metrics``, ``validate``, ``_load_data`` and ``iter_func``. Only **crucial parts** of the custommized interface implementation are elaborated. """ import mxnet as mx from mxnet import gluon...
https://github.com/zk-ml/tachikoma
python/tvm/mrt/dataset.py
import typing from os import path import tvm from .types import * class Dataset: def next(self) -> typing.Optional[DataLabelT]: """ get next data, None if end. """ raise RuntimeError("Base Dataset Error") def reset(self): """ reset dataset internal reader status. """ raise R...
https://github.com/zk-ml/tachikoma
python/tvm/mrt/extool.py
from __future__ import annotations import typing import copy from functools import wraps import pprint import tvm from tvm import relay, ir from tvm.ir.expr import * from tvm.relay.expr import * from .types import * def update_expr_args(old: RelayExpr, expr_map) -> RelayExpr: try: new = eval("relay." + ...
https://github.com/zk-ml/tachikoma
python/tvm/mrt/fuse.py
from dataclasses import InitVar from .symbol import * @dataclass class FusionOp(Symbol): params: InitVar[ParametersT] def __post_init__(self, params): self._fuse_batch_norm() @filter_operators("nn.batch_norm") def _fuse_batch_norm(self): X = self.args[0] assert X.is_op("nn....
https://github.com/zk-ml/tachikoma
python/tvm/mrt/gluon.py
""" Gluon model zoo for MRT quantizatoin. Only **crucial parts** of the module are elaborated. Current supported MxNet Model List: resnet18_v1, resnet34_v1, resnet50_v1, resnet101_v1, resnet152_v1, resnet18_v2, resnet34_v2, resnet50_v2, resnet101_v2, resnet152_v2, se_resnet18_v1, se_resnet34_v1, se_r...
https://github.com/zk-ml/tachikoma
python/tvm/mrt/image.py
from os import path import numpy as np from PIL import Image import tvm from tvm.contrib.download import download_testdata def get_real_image(im_height, im_width) -> np.ndarray: repo_base = "https://github.com/dmlc/web-data/raw/main/tensorflow/models/InceptionV1/" img_name = "elephant-299.jpg" image_url...
https://github.com/zk-ml/tachikoma
python/tvm/mrt/runtime.py
import typing import numpy as np import tvm from tvm import relay, ir, runtime from tvm.contrib import graph_executor from tvm.ir import RelayExpr from .types import * from .dataset import Dataset from .stats import Statistics from . import symbol __all__ = ["infer"] def create_executor( expr: RelayExpr, p...
https://github.com/zk-ml/tachikoma
python/tvm/mrt/stats.py
from os import path import enum import tvm import numpy as np from .utils import PY_ROOT from .types import * class StatsConfig(enum.Enum): NONE = enum.auto() ALL = enum.auto() ACCURACY = enum.auto() """ enable accuracy info in stats, True by default. """ TIME = enum.auto() ...
https://github.com/zk-ml/tachikoma
python/tvm/mrt/symbol.py
from __future__ import annotations import typing from dataclasses import dataclass, fields, is_dataclass from functools import wraps import json import tvm from tvm import relay, ir from tvm.ir.expr import * from tvm.relay.expr import * from .utils import * from .types import * # __all__ = [ # "Symbol", "Pa...
https://github.com/zk-ml/tachikoma
python/tvm/mrt/topi.py
import typing from functools import wraps import numpy as np import tvm from tvm.ir import RelayExpr from tvm.topi import testing from .extool import * TOPI_REGS = {} DataType = typing.List[np.ndarray] def register_topi(op_name): def _wrapper(f): TOPI_REGS[op_name] = f return f return _wra...
https://github.com/zk-ml/tachikoma
python/tvm/mrt/torch.py
from torchvision import models
https://github.com/zk-ml/tachikoma
python/tvm/mrt/trace.py
from __future__ import annotations import typing from dataclasses import dataclass, field from functools import wraps import numpy as np import tvm from tvm import relay, ir from tvm.contrib import graph_executor as graph from .symbol import * from .types import * from . import topi from . import runtime Visitor = ...
https://github.com/zk-ml/tachikoma
python/tvm/mrt/transform.py
from __future__ import annotations import typing from dataclasses import dataclass, fields import tvm from tvm import relay, ir from . import transformers from .symbol import * from .trace import * @dataclass class Transformer(Symbol): """ Type TransformerT for Trace """ params: ParametersT = field(default...
https://github.com/zk-ml/tachikoma
python/tvm/mrt/transformers/__init__.py
from .validate import * from .quantize import *
https://github.com/zk-ml/tachikoma
python/tvm/mrt/transformers/quantize.py
from tvm import relay, ir def quantize_conv2d(expr: relay.Call, attrs): """ quantize by scale. """ assert isinstance(expr, relay.Call) expr.op pass
https://github.com/zk-ml/tachikoma
python/tvm/mrt/transformers/validate.py
from tvm import relay, ir from ..extool import *
https://github.com/zk-ml/tachikoma
python/tvm/mrt/types.py
import typing import tvm import numpy as np ParametersT = typing.Dict[str, tvm.nd.NDArray] AttrsT = typing.Dict[str, typing.Any] ShapeT = typing.Union[typing.List[int], typing.Tuple[int]] """ shape type, tuple of int, such as (1, 3, 34, 34). """ DataLabelT = typing.Tuple[np.ndarray, typing.Any] """ a (data, label) ...
https://github.com/zk-ml/tachikoma
python/tvm/mrt/utils.py
from __future__ import annotations import typing import threading import os from os import path from tvm import relay, ir from .types import * ROOT = path.abspath(path.join(__file__, "../../../")) PY_ROOT = path.join(ROOT, "python") MRT_MODEL_ROOT = path.expanduser("~/mrt_model") if not path.exists(MRT_MODEL_ROOT)...
https://github.com/zk-ml/tachikoma
python/tvm/parser/__init__.py
# 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 u...
https://github.com/zk-ml/tachikoma
python/tvm/parser/_ffi_api.py
# 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 u...
https://github.com/zk-ml/tachikoma
python/tvm/relay/__init__.py
# 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 u...
https://github.com/zk-ml/tachikoma
python/tvm/relay/_build_module.py
# 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 u...
https://github.com/zk-ml/tachikoma
python/tvm/relay/_ffi_api.py
# 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 u...
https://github.com/zk-ml/tachikoma
python/tvm/relay/_make.py
# 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 u...
https://github.com/zk-ml/tachikoma
python/tvm/relay/adt.py
# 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 u...
https://github.com/zk-ml/tachikoma
python/tvm/relay/analysis/__init__.py
# 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 u...
https://github.com/zk-ml/tachikoma
python/tvm/relay/analysis/_ffi_api.py
# 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 u...
https://github.com/zk-ml/tachikoma
python/tvm/relay/analysis/analysis.py
# 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 u...
https://github.com/zk-ml/tachikoma
python/tvm/relay/analysis/annotated_regions.py
# 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 u...
https://github.com/zk-ml/tachikoma
python/tvm/relay/analysis/call_graph.py
# 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 u...
https://github.com/zk-ml/tachikoma
python/tvm/relay/analysis/count_layers.py
# 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 u...
https://github.com/zk-ml/tachikoma
python/tvm/relay/analysis/feature.py
# 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 u...
https://github.com/zk-ml/tachikoma
python/tvm/relay/analysis/sparse_conv2d.py
# 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 u...
https://github.com/zk-ml/tachikoma
python/tvm/relay/analysis/sparse_dense.py
# 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 u...
https://github.com/zk-ml/tachikoma
python/tvm/relay/backend/__init__.py
# 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 u...
https://github.com/zk-ml/tachikoma
python/tvm/relay/backend/_aot.py
# 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 u...
https://github.com/zk-ml/tachikoma
python/tvm/relay/backend/_backend.py
# 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 u...
https://github.com/zk-ml/tachikoma
python/tvm/relay/backend/_vm.py
# 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 u...
https://github.com/zk-ml/tachikoma
python/tvm/relay/backend/aot.py
# 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 u...
https://github.com/zk-ml/tachikoma
python/tvm/relay/backend/contrib/__init__.py
# 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 u...
https://github.com/zk-ml/tachikoma
python/tvm/relay/backend/contrib/ethosu/__init__.py
# 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 u...
https://github.com/zk-ml/tachikoma
python/tvm/relay/backend/contrib/ethosu/_ffi_api.py
# 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 u...
https://github.com/zk-ml/tachikoma
python/tvm/relay/backend/contrib/ethosu/codegen.py
# 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 u...
https://github.com/zk-ml/tachikoma
python/tvm/relay/backend/contrib/ethosu/legalize.py
# 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 u...
https://github.com/zk-ml/tachikoma
python/tvm/relay/backend/contrib/ethosu/op/__init__.py
# 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 u...
https://github.com/zk-ml/tachikoma
python/tvm/relay/backend/contrib/ethosu/op/binary_elementwise.py
# 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 u...
https://github.com/zk-ml/tachikoma
python/tvm/relay/backend/contrib/ethosu/op/convolution.py
# 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 u...
https://github.com/zk-ml/tachikoma
python/tvm/relay/backend/contrib/ethosu/op/depthwise.py
# 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 u...
https://github.com/zk-ml/tachikoma
python/tvm/relay/backend/contrib/ethosu/op/identity.py
# 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 u...
https://github.com/zk-ml/tachikoma
python/tvm/relay/backend/contrib/ethosu/op/op_attrs.py
# 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 u...
https://github.com/zk-ml/tachikoma
python/tvm/relay/backend/contrib/ethosu/op/pooling.py
# 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 u...
https://github.com/zk-ml/tachikoma
python/tvm/relay/backend/contrib/ethosu/op/unary_elementwise.py
# 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 u...
https://github.com/zk-ml/tachikoma
python/tvm/relay/backend/contrib/ethosu/preprocess.py
# 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 u...
https://github.com/zk-ml/tachikoma
python/tvm/relay/backend/contrib/ethosu/te/__init__.py
# 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 u...
https://github.com/zk-ml/tachikoma
python/tvm/relay/backend/contrib/ethosu/te/binary_elementwise.py
# 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 u...
https://github.com/zk-ml/tachikoma
python/tvm/relay/backend/contrib/ethosu/te/common.py
# 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 u...
https://github.com/zk-ml/tachikoma
python/tvm/relay/backend/contrib/ethosu/te/convolution.py
# 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 u...
https://github.com/zk-ml/tachikoma
python/tvm/relay/backend/contrib/ethosu/te/depthwise.py
# 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 u...
https://github.com/zk-ml/tachikoma
python/tvm/relay/backend/contrib/ethosu/te/dma.py
# 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 u...
https://github.com/zk-ml/tachikoma
python/tvm/relay/backend/contrib/ethosu/te/identity.py
# 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 u...
https://github.com/zk-ml/tachikoma
python/tvm/relay/backend/contrib/ethosu/te/inline.py
# 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 u...
https://github.com/zk-ml/tachikoma
python/tvm/relay/backend/contrib/ethosu/te/pooling.py
# 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 u...
https://github.com/zk-ml/tachikoma
python/tvm/relay/backend/contrib/ethosu/te/unary_elementwise.py
# 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 u...
https://github.com/zk-ml/tachikoma
python/tvm/relay/backend/contrib/ethosu/tir/__init__.py
# 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 u...
https://github.com/zk-ml/tachikoma
python/tvm/relay/backend/contrib/ethosu/tir/binary_elementwise.py
# 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 u...
https://github.com/zk-ml/tachikoma
python/tvm/relay/backend/contrib/ethosu/tir/compiler.py
# 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 u...
https://github.com/zk-ml/tachikoma
python/tvm/relay/backend/contrib/ethosu/tir/convolution.py
# 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 u...
https://github.com/zk-ml/tachikoma
python/tvm/relay/backend/contrib/ethosu/tir/depthwise.py
# 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 u...
https://github.com/zk-ml/tachikoma
python/tvm/relay/backend/contrib/ethosu/tir/dma.py
# 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 u...
https://github.com/zk-ml/tachikoma
python/tvm/relay/backend/contrib/ethosu/tir/identity.py
# 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 u...
https://github.com/zk-ml/tachikoma
python/tvm/relay/backend/contrib/ethosu/tir/passes.py
# 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 u...
https://github.com/zk-ml/tachikoma
python/tvm/relay/backend/contrib/ethosu/tir/pooling.py
# 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 u...
https://github.com/zk-ml/tachikoma
python/tvm/relay/backend/contrib/ethosu/tir/producers_consumers.py
# 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 u...
https://github.com/zk-ml/tachikoma
python/tvm/relay/backend/contrib/ethosu/tir/scheduler.py
# 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 u...
https://github.com/zk-ml/tachikoma
python/tvm/relay/backend/contrib/ethosu/tir/spec.py
# 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 u...
https://github.com/zk-ml/tachikoma
python/tvm/relay/backend/contrib/ethosu/tir/transform.py
# 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 u...
https://github.com/zk-ml/tachikoma
python/tvm/relay/backend/contrib/ethosu/tir/unary_elementwise.py
# 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 u...
https://github.com/zk-ml/tachikoma
python/tvm/relay/backend/contrib/ethosu/tir/utils.py
# 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 u...
https://github.com/zk-ml/tachikoma
python/tvm/relay/backend/contrib/ethosu/tir_to_cs_translator.py
# 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 u...
https://github.com/zk-ml/tachikoma