Matrices are the basic elements we use to interchange data through computational graphs. In general terms, a tensor can de defined as a matrix, so you can refer to Declaring tensors in TensorFlow in order to see the options you have to create matrices. Letâ€™s define the matrices we are...

Continue reading...# Artificial Intelligence

## Understanding Variables and Placeholders inÂ TensorFlow

Usually, when we start using TensorFlow, itâ€™s very common to think that defining variables is just as trivial as a HelloWorld program, but understanding how variables (and placeholders) work under the hood is very important to understand more complex concepts because those concepts heavily use variables/placeholders; and, if we donâ€™t...

Continue reading...## Declaring tensors inÂ TensorFlow

[Requirement: Tensorflow and NumPy installed on Python +3.5][Requirement: import tensorflow as tf][Requirement: import numpy as np] Tensors are the primary data structure we use in TensorFlow, and, as Wikipedia describes them, â€śtensors are geometric objects that describe linear relations between geometric vectors, scalars and other tensorsâ€ť. Tensors can be described...

Continue reading...## Java Streams API inÂ brief

First, letâ€™s define what a stream is in Java 8:Â a sequence of functions, actions, inputs, and outputs (better defined as a â€śpipelineâ€ť). Streams API provides functional-style operations to transform these sequences; sources for them can contain arrays, collections, files, etc. In general terms, streams areÂ Monads: â€śMonads represent computations to be...

Continue reading...