Espruino/libs/tensorflow/jswrap_tensorflow.h
2019-09-11 13:49:24 +01:00

22 lines
834 B
C

/*
* This file is part of Espruino, a JavaScript interpreter for Microcontrollers
*
* Copyright (C) 2013 Gordon Williams <gw@pur3.co.uk>
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*
* ----------------------------------------------------------------------------
* Contains JavaScript interface for Tensorflow
* ----------------------------------------------------------------------------
*/
#include "jspin.h"
#include "jsvar.h"
JsVar *jswrap_tensorflow_create(int arena_size, JsVar *model);
JsVar *jswrap_tfmicrointerpreter_getInput(JsVar *parent);
JsVar *jswrap_tfmicrointerpreter_getOutput(JsVar *parent);
void jswrap_tfmicrointerpreter_invoke(JsVar *parent);