# Decision Making For Machines

``````
// Drunk, Fix Later

// Magic, Do Not Touch``````

# '67, '79, '81, '85, '90, '97, '06

### Numerous scientists and engineers worked hard.

``````
// This Magical Library Solves My PROBLEM.
import magicalLibrary``````

# 2015

### Tensorflow was introduced.

``````
// Tensorflow solves my PROBLEM.
import tensorflow as tf``````

# Data

``````
int arr=
{
{
{11, 12, 13},
{14, 15, 16},
{17, 18, 19}
},
{
{21, 22, 23},
{24, 25, 26},
{27, 28, 29}
},
{
{31, 32, 33},
{34, 35, 36},
{37, 38, 39}
},
};``````

# Algorithm

• ### ETC

``````
int arr=
{
{
{11, 12, 13},
{14, 15, 16},
{17, 18, 19}
},
{
{21, 22, 23},
{24, 25, 26},
{27, 28, 29}
},
{
{31, 32, 33},
{34, 35, 36},
{37, 38, 39}
},
};``````

# TensorFlowLite

``````
// Load the model from disk.
TensorFlowInferenceInterface inferenceInterface =
new TensorFlowInferenceInterface(assetManager, modelFilename);

// Copy the input data into TensorFlow.
inferenceInterface.feed(inputName, floatValues, 1, inputSize, inputSize, 3);

// Run the inference call.
inferenceInterface.run(outputNames, logStats);

// Copy the output Tensor back into the output array.
inferenceInterface.fetch(outputName, outputs);``````

By Viraj Tank

# Tensorflow

Using Tensorflow in web and mobile.

• 84