What are the tensors ? How many types of tensors are available?


Posted On: Feb 22, 2018


Tensors can be thought of as vectors and matrices of higher dimensions. They represent n-dimensional arrays of base data-type. Each element of a tensor is of the same data-type which is always known.

However, the shape i.e. the number of dimensions and the size of each dimension might only be known partially. Although in most of cases the shape of the tensor is known, but in some cases, it is only possible to know the shape at the graph execution.

There are many types of tensors available some of them are.

  • tf.constant
  • tf.placeholder
  • tf.SparseTensor
  • tf.Variable

All of these are immutable except for tf.Variable .

    Related Questions

    Please Login or Register to leave a response.

    Related Questions

    TensorFlow Interview Questions

    What is TensorFlow? Please Explain

    TensorFlow is a platform where one can learn machine learning / deep learning/multilayer neural networks from the Google library. Libraries that use data science are helpful to describe complex networ...

    TensorFlow Interview Questions

    Enlist few major features of the TensorFlow.

    Below are major features of TensorFlow:TensorFlow has the biggest ability is to build neural networks using which machines can develop logical thinking and learning analogous to humans. It is one...

    TensorFlow Interview Questions

    For what is the TensorFlow used?

    TensorFlow is used for the Classification, Understanding, Perception, Prediction, Discovering, and Creation. It is widely used in the field ofVoice recognition Image detection Video detection T...