Vengineerの戯言

人生は短いけど、長いです。人生を楽しみましょう!

CEVAもTensorFlow Liteをサポート

@Vengineerの戯言 : Twitter
SystemVerilogの世界へようこそすべては、SystemC v0.9公開から始まった 

CadenceのTensilicaに続き、CEVAもTensorFlow Liteをサポート。

CEVA BX2の特徴

  • Octal 16x16 MACs
  • Quad 32x32 MACs
  • 5-way VLIW
  • 8/16/32/64-bit data types
  • 16x8 and 8x8 Neural Network support

www.ceva-dsp.com

TensorFlowのgithub を見てみたら、CEVA-BX1に対するPRは出ていますね。マージはされていません。

github.com

ここ にあるように、tflite::MicroMutableOpResolver を使って、Op を追加していますね。

static tflite::MicroMutableOpResolver micro_mutable_op_resolver;
micro_mutable_op_resolver.AddBuiltin(
        tflite::BuiltinOperator_DEPTHWISE_CONV_2D,
        tflite::ops::micro::Register_DEPTHWISE_CONV_2D());
micro_mutable_op_resolver.AddBuiltin(
        tflite::BuiltinOperator_FULLY_CONNECTED,
        tflite::ops::micro::Register_FULLY_CONNECTED());
micro_mutable_op_resolver.AddBuiltin( tflite::BuiltinOperator_SOFTMAX,
        tflite::ops::micro::Register_SOFTMAX());

// Build an interpreter to run the model with.
static tflite::MicroInterpreter static_interpreter(
        model, micro_mutable_op_resolver, tensor_arena, kTensorArenaSize,
        error_reporter);
interpreter = &static_interpreter;