Tensorflow.js tf.util.sizeFromShape() Function
Tensorflow.js is an open-source library that is being develop by Google for running machine learning models as well as deep learning neural networks in the browser or node environment.
The .util.sizeFromShape() function is used to find the number of elements i.e. the size of the stated tensor input from the stated shape.
- shape: It is the stated shape whose size is to be returned. It is of type number.
Return Value: It returns a number.
My Personal Notes arrow_drop_up
Please Login to comment...