# Multiple input layer with TMVA Keras interface?

**URL:** <https://root-forum.cern.ch/t/multiple-input-layer-with-tmva-keras-interface/30653>\
**Category:** TMVA\
**Created:** [September 13, 2018, 2:52pm UTC](https://root-forum.cern.ch/t/multiple-input-layer-with-tmva-keras-interface/30653 "2018-09-13T14:52:09Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![a.bragagnolo](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/a/f14d63/32.png) [@a.bragagnolo](https://root-forum.cern.ch/u/a.bragagnolo)\
**Post date:** [September 13, 2018, 2:52pm UTC](https://root-forum.cern.ch/t/multiple-input-layer-with-tmva-keras-interface/30653/1 "2018-09-13T14:52:09Z")

</div>

Dear TMVA expert,  
is it possible to use Keras functional API in order to have multiple input?  
Something similar to this:  
[https://keras.io/getting-started/functional-api-guide/#multi-input-and-multi-output-models](https://keras.io/getting-started/functional-api-guide/#multi-input-and-multi-output-models)

 ![](https://s3.amazonaws.com/keras.io/img/multi-input-multi-output-graph.png)

Thank you for your assistance,  
— Alberto

---

<div class="post-metadata">

**Author:** ![kialbert](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/kialbert/32/16537_2.png) [@kialbert](https://root-forum.cern.ch/u/kialbert)\
**Post date:** [September 17, 2018, 7:49pm UTC](https://root-forum.cern.ch/t/multiple-input-layer-with-tmva-keras-interface/30653/2 "2018-09-17T19:49:25Z")

</div>

Hi,

This is currently not supported. TMVA currently (v. 6.14/00) has no method of mapping parts of the input vector to different parts of the model.

Cheers,  
Kim
