file_path
stringlengths
7
180
content
stringlengths
0
811k
repo
stringclasses
11 values
src/layers/normalize.rs
use super::LayerJson; use ndarray::{ArrayD, ArrayViewD}; use serde::Serialize; use super::Layer; #[derive(Clone, Serialize)] pub struct Normalize { name: String, input_shape: Vec<usize>, } impl Normalize { #[must_use] pub fn new(input_shape: Vec<usize>) -> Normalize { Normalize { ...
https://github.com/worldcoin/proto-neural-zkp
src/layers/relu.rs
#![warn(clippy::all, clippy::pedantic, clippy::cargo, clippy::nursery)] use ndarray::{ArrayD, ArrayViewD}; use serde::Serialize; use super::{Layer, LayerJson}; #[derive(Clone, Serialize)] pub struct Relu { name: String, input_shape: Vec<usize>, } impl Relu { #[must_use] pub fn new(input_shape:...
https://github.com/worldcoin/proto-neural-zkp
src/lib.rs
// #![warn(clippy::all, clippy::pedantic, clippy::cargo, clippy::nursery)] // Stabilized soon: https://github.com/rust-lang/rust/pull/93827 // Disable globally while still iterating on design #![allow(clippy::missing_panics_doc)] // TODO #![allow(unreadable_literal)] // benchmarking #![feature(test)] mod allocator; m...
https://github.com/worldcoin/proto-neural-zkp
src/nn.rs
use crate::layers::{ conv::Convolution, flatten::Flatten, fully_connected::FullyConnected, maxpool::MaxPool, normalize::Normalize, relu::Relu, NeuralNetwork, }; use ndarray::{Array1, Array2, Array4}; use ndarray_rand::{rand::SeedableRng, rand_distr::Uniform, RandomExt}; use rand::rngs::StdRng; // TODO: add_lay...
https://github.com/worldcoin/proto-neural-zkp
src/serialize.rs
use std::{fs, io::Write}; use crate::layers::{NNJson, NeuralNetwork}; /// path: &str -> e.g. deserialize_model_json("./src/json/model.json") /// Deserializes a model from JSON from the NNJson Struct in mod.rs pub fn deserialize_model_json(path: &str) -> NeuralNetwork { let model_data = fs::read_to_string(path).ex...
https://github.com/worldcoin/proto-neural-zkp
keras2circom/circom.py
# Ref: https://github.com/zk-ml/uchikoma/blob/main/python/uchikoma/circom.py from __future__ import annotations import typing import os from os import path import json from dataclasses import dataclass import re import numpy as np class SafeDict(dict): def __missing__(self, key): return '{' + key + '}' ...
https://github.com/Modulus-Labs/RockyBothttps://github.com/ora-io/keras2circom
keras2circom/model.py
# Read keras model into list of parameters like op, input, output, weight, bias from __future__ import annotations from dataclasses import dataclass import typing from tensorflow.keras.models import load_model from tensorflow.keras.layers import Layer as KerasLayer import numpy as np supported_ops = [ 'Activation'...
https://github.com/Modulus-Labs/RockyBothttps://github.com/ora-io/keras2circom
keras2circom/script.py
from .circom import Circuit, Component # template string for circuit.py python_template_string = '''""" Make an interger-only circuit of the corresponding CIRCOM circuit. Usage: circuit.py <circuit.json> <input.json> [-o <output>] circuit.py (-h | --help) Options: -h --help ...
https://github.com/Modulus-Labs/RockyBothttps://github.com/ora-io/keras2circom
keras2circom/transpiler.py
from .circom import * from .model import * from .script import * import os def transpile(filename: str, output_dir: str = 'output', raw: bool = False, dec: int = 18) -> Circuit: ''' Transpile a Keras model to a CIRCOM circuit.''' model = Model(filename, raw) circuit = Circuit() for layer in mode...
https://github.com/Modulus-Labs/RockyBothttps://github.com/ora-io/keras2circom
keras2circom/util.py
# assume all inputs are strings def AveragePooling2DInt (nRows, nCols, nChannels, poolSize, strides, input): out = [[[0 for _ in range(nChannels)] for _ in range((nCols-poolSize)//strides + 1)] for _ in range((nRows-poolSize)//strides + 1)] remainder = [[[None for _ in range(nChannels)] for _ in range((nCols-po...
https://github.com/Modulus-Labs/RockyBothttps://github.com/ora-io/keras2circom
main.py
""" Transpile a Keras model to a CIRCOM circuit. Usage: main.py <model.h5> [-o <output>] [--raw] [-d <decimals>] main.py (-h | --help) Options: -h --help Show this screen. -o <output> --output=<output> Output directory [default: output]. --raw ...
https://github.com/Modulus-Labs/RockyBothttps://github.com/ora-io/keras2circom
models/model.ipynb
{ "cells": [ { "cell_type": "code", "execution_count": 1, "metadata": {}, "outputs": [], "source": [ "# list of supported layers\n", "from tensorflow.keras.layers import (\n", " Input,\n", " Activation,\n", " AveragePooling2D,\n", " BatchNormalization,\n", " ...
https://github.com/Modulus-Labs/RockyBothttps://github.com/ora-io/keras2circom
test/accuracy.ipynb
{ "cells": [ { "cell_type": "code", "execution_count": null, "metadata": {}, "outputs": [], "source": [ "!cd .. && python main.py models/model.h5" ] }, { "cell_type": "code", "execution_count": 7, "metadata": {}, "outputs": [], "source": [ "import sys\n", "import os\n...
https://github.com/Modulus-Labs/RockyBothttps://github.com/ora-io/keras2circom
test/circuit.js
const chai = require('chai'); const fs = require('fs'); const wasm_tester = require('circom_tester').wasm; const F1Field = require('ffjavascript').F1Field; const Scalar = require('ffjavascript').Scalar; exports.p = Scalar.fromString('21888242871839275222246405745257275088548364400416034343698204186575808495617'); con...
https://github.com/Modulus-Labs/RockyBothttps://github.com/ora-io/keras2circom
test/load_input.ipynb
{ "cells": [ { "cell_type": "code", "execution_count": 1, "metadata": {}, "outputs": [], "source": [ "from tensorflow.keras.datasets import mnist\n", "import json\n", "import numpy as np" ] }, { "cell_type": "code", "execution_count": 2, "metadata": {}, "outputs": [], ...
https://github.com/Modulus-Labs/RockyBothttps://github.com/ora-io/keras2circom
3rdparty/cma/cma.h
/* cma.h * * The MIT License (MIT) * * COPYRIGHT (C) 2017 Institute of Electronics and Computer Science (EDI), Latvia. * AUTHOR: Rihards Novickis (rihards.novickis@edi.lv) * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the ...
https://github.com/zk-ml/tachikoma
3rdparty/cma/cma_api_impl.h
/* * The MIT License (MIT) * * COPYRIGHT (C) 2017 Institute of Electronics and Computer Science (EDI), Latvia. * AUTHOR: Rihards Novickis (rihards.novickis@edi.lv) * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software...
https://github.com/zk-ml/tachikoma
3rdparty/compiler-rt/builtin_fp16.h
/* * Copyright (c) 2009-2015 by llvm/compiler-rt contributors * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, co...
https://github.com/zk-ml/tachikoma
3rdparty/libcrc/include/checksum.h
/* * Library: libcrc * File: include/checksum.h * Author: Lammert Bies * * This file is licensed under the MIT License as stated below * * Copyright (c) 1999-2018 Lammert Bies * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation f...
https://github.com/zk-ml/tachikoma
3rdparty/libcrc/src/crcccitt.c
/* * Library: libcrc * File: src/crcccitt.c * Author: Lammert Bies * * This file is licensed under the MIT License as stated below * * Copyright (c) 1999-2016 Lammert Bies * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files...
https://github.com/zk-ml/tachikoma
3rdparty/picojson/picojson.h
/* * Copyright 2009-2010 Cybozu Labs, Inc. * Copyright 2011-2014 Kazuho Oku * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * 1. Redistributions of source code must retain the above copy...
https://github.com/zk-ml/tachikoma
apps/android_camera/app/src/main/java/org/apache/tvm/android/androidcamerademo/Camera2BasicFragment.java
/* * 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
apps/android_camera/app/src/main/java/org/apache/tvm/android/androidcamerademo/MainActivity.java
/* * 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
apps/android_camera/app/src/main/jni/tvm_runtime.h
/* * 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 ...
https://github.com/zk-ml/tachikoma
apps/android_camera/app/src/main/rs/yuv420888.rs
/* * 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
apps/android_camera/models/prepare_model.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
apps/android_deploy/app/src/main/java/org/apache/tvm/android/demo/MainActivity.java
/* * 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
apps/android_deploy/app/src/main/jni/tvm_runtime.h
/* * 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 ...
https://github.com/zk-ml/tachikoma
apps/android_rpc/app/src/main/java/org/apache/tvm/tvmrpc/MainActivity.java
/* * 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
apps/android_rpc/app/src/main/java/org/apache/tvm/tvmrpc/RPCActivity.java
/* * 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
apps/android_rpc/app/src/main/java/org/apache/tvm/tvmrpc/RPCAndroidWatchdog.java
/* * 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
apps/android_rpc/app/src/main/java/org/apache/tvm/tvmrpc/RPCProcessor.java
/* * 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
apps/android_rpc/app/src/main/jni/tvm_runtime.h
/* * 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 ...
https://github.com/zk-ml/tachikoma
apps/android_rpc/tests/android_rpc_test.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
apps/benchmark/arm_cpu_imagenet_bench.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
apps/benchmark/gpu_imagenet_bench.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
apps/benchmark/mobile_gpu_imagenet_bench.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
apps/benchmark/util.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
apps/bundle_deploy/backtrace.c
/* * 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 ...
https://github.com/zk-ml/tachikoma
apps/bundle_deploy/backtrace.h
/* * 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 ...
https://github.com/zk-ml/tachikoma
apps/bundle_deploy/build_model.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
apps/bundle_deploy/bundle.c
/* * 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 ...
https://github.com/zk-ml/tachikoma
apps/bundle_deploy/bundle.h
/* * 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 ...
https://github.com/zk-ml/tachikoma
apps/bundle_deploy/bundle_static.c
/* * 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 ...
https://github.com/zk-ml/tachikoma
apps/bundle_deploy/crt_config/crt_config.h
/* * 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 ...
https://github.com/zk-ml/tachikoma
apps/bundle_deploy/demo_static.c
/* * 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 ...
https://github.com/zk-ml/tachikoma
apps/bundle_deploy/test_static.c
/* * 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 ...
https://github.com/zk-ml/tachikoma
apps/cpp_rpc/rpc_env.h
/* * 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 ...
https://github.com/zk-ml/tachikoma
apps/cpp_rpc/rpc_server.h
/* * 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 ...
https://github.com/zk-ml/tachikoma
apps/cpp_rpc/rpc_tracker_client.h
/* * 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 ...
https://github.com/zk-ml/tachikoma
apps/cpp_rpc/win32_process.h
/* * 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 ...
https://github.com/zk-ml/tachikoma
apps/dso_plugin_module/test_plugin_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
apps/extension/python/tvm_ext/__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
apps/extension/tests/test_ext.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
apps/hexagon_launcher/launcher_core.h
/* * 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 ...
https://github.com/zk-ml/tachikoma
apps/hexagon_launcher/launcher_util.h
/* * 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 ...
https://github.com/zk-ml/tachikoma
apps/howto_deploy/prepare_test_libs.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
apps/howto_deploy/python_deploy.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
apps/ios_rpc/init_proj.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
apps/ios_rpc/tests/ios_rpc_mobilenet.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
apps/ios_rpc/tests/ios_rpc_test.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
apps/ios_rpc/tvmrpc/AppDelegate.h
/* * 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 ...
https://github.com/zk-ml/tachikoma
apps/ios_rpc/tvmrpc/RPCArgs.h
/* * 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 ...
https://github.com/zk-ml/tachikoma
apps/ios_rpc/tvmrpc/RPCServer.h
/* * 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 ...
https://github.com/zk-ml/tachikoma
apps/ios_rpc/tvmrpc/ViewController.h
/* * 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 ...
https://github.com/zk-ml/tachikoma
apps/lldb/tvm.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
apps/microtvm/arduino/template_project/crt_config/crt_config.h
/* * 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 ...
https://github.com/zk-ml/tachikoma
apps/microtvm/arduino/template_project/microtvm_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
apps/microtvm/arduino/template_project/src/example_project/model.c
/* * 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 ...
https://github.com/zk-ml/tachikoma
apps/microtvm/arduino/template_project/src/example_project/model.h
/* * 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 ...
https://github.com/zk-ml/tachikoma
apps/microtvm/arduino/template_project/src/host_driven/model_support.c
/* * 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 ...
https://github.com/zk-ml/tachikoma
apps/microtvm/cmsisnn/convert_image.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
apps/microtvm/cmsisnn/include/crt_config.h
/* * 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 ...
https://github.com/zk-ml/tachikoma
apps/microtvm/cmsisnn/include/tvm_runtime.h
/* * 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 ...
https://github.com/zk-ml/tachikoma
apps/microtvm/cmsisnn/src/demo_bare_metal.c
/* * 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 ...
https://github.com/zk-ml/tachikoma
apps/microtvm/ethosu/convert_image.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
apps/microtvm/ethosu/convert_labels.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
apps/microtvm/ethosu/include/FreeRTOSConfig.h
/* * 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 ...
https://github.com/zk-ml/tachikoma
apps/microtvm/ethosu/include/crt_config.h
/* * 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 ...
https://github.com/zk-ml/tachikoma
apps/microtvm/ethosu/include/ethosu_55.h
/* * 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 ...
https://github.com/zk-ml/tachikoma
apps/microtvm/ethosu/include/ethosu_mod.h
/* * 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 ...
https://github.com/zk-ml/tachikoma
apps/microtvm/ethosu/include/tvm_ethosu_runtime.h
/* * 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 ...
https://github.com/zk-ml/tachikoma
apps/microtvm/ethosu/include/tvm_runtime.h
/* * 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 ...
https://github.com/zk-ml/tachikoma
apps/microtvm/ethosu/src/demo_bare_metal.c
/* * 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 ...
https://github.com/zk-ml/tachikoma
apps/microtvm/ethosu/src/demo_freertos.c
/* * 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 ...
https://github.com/zk-ml/tachikoma
apps/microtvm/ethosu/src/tvm_ethosu_runtime.c
/* * 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 ...
https://github.com/zk-ml/tachikoma
apps/microtvm/reference-vm/base-box-tool.py
#!/usr/bin/env python3 # 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 # "L...
https://github.com/zk-ml/tachikoma
apps/microtvm/zephyr/template_project/crt_config/crt_config.h
/* * 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 ...
https://github.com/zk-ml/tachikoma
apps/microtvm/zephyr/template_project/microtvm_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
apps/microtvm/zephyr/template_project/src/aot_standalone_demo/main.c
/* * 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 ...
https://github.com/zk-ml/tachikoma
apps/microtvm/zephyr/template_project/src/aot_standalone_demo/zephyr_uart.c
/* * 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 ...
https://github.com/zk-ml/tachikoma
apps/microtvm/zephyr/template_project/src/aot_standalone_demo/zephyr_uart.h
/* * 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 ...
https://github.com/zk-ml/tachikoma
apps/microtvm/zephyr/template_project/src/host_driven/fvp/semihost.c
/* * 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 ...
https://github.com/zk-ml/tachikoma
apps/microtvm/zephyr/template_project/src/host_driven/fvp/semihost.h
/* * 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 ...
https://github.com/zk-ml/tachikoma
apps/microtvm/zephyr/template_project/src/host_driven/main.c
/* * 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 ...
https://github.com/zk-ml/tachikoma
apps/microtvm/zephyr_cmsisnn/include/crt_config.h
/* * 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 ...
https://github.com/zk-ml/tachikoma
apps/microtvm/zephyr_cmsisnn/model/convert_input.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
apps/microtvm/zephyr_cmsisnn/model/convert_labels.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
apps/microtvm/zephyr_cmsisnn/src/main.c
/* * 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 ...
https://github.com/zk-ml/tachikoma
apps/pt_tvmdsoop/tests/test_as_torch.py
#!/usr/bin/env python # 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 # "L...
https://github.com/zk-ml/tachikoma