Skip to content

Adjust folders for Arduino library format #1

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion examples/uTensorFirst/uTensorFirst.ino
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

#include <ArduinoSTL.h>
using namespace std;
#include "uTensor.h"
#include <uTensor.h>


void setup() {
18 changes: 18 additions & 0 deletions keywords.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
#######################################
# Syntax Coloring Map For uTensor
#######################################

#######################################
# Datatypes (KEYWORD1)
#######################################

uTensor KEYWORD1

#######################################
# Methods and Functions (KEYWORD2)
#######################################

#######################################
# Constants (LITERAL1)
#######################################

11 changes: 11 additions & 0 deletions library.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
name=uTensor
version=0.0.0
author=uTensor team
maintainer=uTensor team
sentence=Port of uTensor to Arduino
paragraph=AI inference library based TensorFlow
category=Data Processing
url=https://github.com/uTensor/utensor-arduino-demo
architectures=*
includes=uTensor.h
depends=ArduinoSTL
5 changes: 5 additions & 0 deletions mbed_lib.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"name": "utensor",
"macros": ["TARGET_MBED"]
}

File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -39,7 +39,7 @@ namespace utensor {


namespace std {
template<> struct std::hash<utensor::string>
template<> struct hash<utensor::string>
{
typedef utensor::string argument_type;
typedef std::size_t result_type;
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -99,8 +99,11 @@ void printVector(std::vector<uint32_t> vec);
#elif defined(_POSIX_VERSION)
// POSIX
#else
//#include "mbed.h"
#if ARDUINO
#include "Arduino.h"
#else
#include "mbed.h"
#endif
//# error "Unknown compiler"
// little endian to big endian
//uint32_t htonl(uint32_t& val);