Deep Learning questions and answers
Neural network architectures, training dynamics and GPU execution. Page 9 of 20.
ML System Design practice on Codemia
Design recommenders, ranking systems and training pipelines the way ML interviews actually ask for them, with worked solutions.
Answers 481-540
- How to calculate the flops of a tensorflow model loaded from pb file
- How to calculate the number of parameters of an LSTM network?
- How to calculate the number of parameters of convolutional neural networks?
- How to calculate the output size after convolving and pooling to the input image
- How to check if a model is in train or eval mode in PyTorch?
- How to check if cuda is installed correctly on Anaconda
- How to check if dlib is using GPU or not?
- How to check if keras tensorflow backend is GPU or CPU version?
- How to check if XGBoost uses the GPU
- How to check the output gradient by each layer in pytorch in my code?
- How to check the version of NCCL
- How to choose cross-entropy loss in TensorFlow?
- How to choose number of hidden layers and nodes in neural network?
- How to choose the number of units for the Dense layer in the Convoluted neural network for a Image classification problem?
- How to choose the window size of CNN in deep learning?
- How to clear GPU memory occupied by zombie process if it's parent is init?
- How to clear GPU memory WITHOUT restarting runtime in Google Colaboratory Tensorflow
- How to clear out/delete tensors in tensorflow?
- How to compute accuracy of CNN in TensorFlow
- How to compute all second derivatives only the diagonal of the Hessian matrix in Tensorflow?
- How to compute loss gradient w.r.t to model inputs in a Keras model?
- How to compute number of weights of CNN?
- How to compute the cosine_similarity in pytorch for all rows in a matrix with respect to all rows in another matrix
- How to compute the second derivatives diagonal of the Hessian in TensorFlow 2.0
- How to concatenate two layers in keras?
- How to concatenate two tensors horizontally in TensorFlow?
- How to connect LSTM layers in Keras, RepeatVector or return_sequenceTrue?
- How to construct a network with two inputs in PyTorch
- How to continue training model using ModelCheckpoint of Keras
- How to control GPU memory size with tf.estimator
- How to control memory while using Keras with tensorflow backend?
- How to convert a list of tensors of dim N to a tensor of dim N1
- How to convert a PyTorch nn.Module into a HuggingFace PreTrainedModel object?
- How to convert model.module.fc when using DP, if using DDP
- How to convert Tensorflow 2.0 SavedModel to TensorRT?
- How to convert tensorflow model to keras model? .pb file to .hdf5?
- How to Convert Yolov5 model to tensorflow.js
- How to correctly implement dropout for convolution in TensorFlow
- How to correctly use the Tensorflow MeanIOU metric?
- How to correctly use the tf.layers.batch_normalization in tensorflow?
- How to count total number of trainable parameters in a tensorflow model?
- How to create a neural network for regression?
- How to create a sparse layer in Keras i.e. not all neurons are connected to each other?
- How to create an optimizer in Tensorflow
- How to create ensemble in tensorflow?
- How to deal with batches with variable-length sequences in TensorFlow?
- How to deal with large2GB embedding lookup table in tensorflow?
- How to deal with large csv file when training a deep learning model?
- How to deal with multi step time series forecasting in multivariate LSTM in keras
- How to decrease a 3D matrix to a 2D matrix using Keras?
- How to define weight decay for individual layers in TensorFlow?
- How To Determine the 'filter' Parameter in the Keras Conv2D Function
- How to determine the number of layers and nodes of a neural network
- How to determine what type of layers do I need for my Deep learning model?
- How to disable GPU in keras with tensorflow?
- How to disable printing reports after each epoch in Keras?
- How to display training progress bar in tensorflow?
- How to do gradient clipping in pytorch?
- How to do multi-class image classification in keras?
- How to do multi GPU training with Keras?
System design interview problems on Deep Learning
- Design an LLM Inference Service: solution and walkthrough
- Design a GPU Cluster Scheduler for ML Training: solution and walkthrough
- Design ChatGPT: solution and walkthrough
- Design an E-commerce Recommendation System: solution and walkthrough
.png&w=3840&q=75)
Free course
Beginner
7 lessons
2 hours
Tackling System Design Interview Problems
A short course that equips you with the skills to approach system design interviews methodically.
Start the free course