Deep Learning questions and answers
Neural network architectures, training dynamics and GPU execution. Page 7 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 361-420
- How can LSTM attention have variable length input
- How can neural networks learn functions with a variable number of inputs?
- How can one pass two 3D tensors with only one common dimension batch size to a dynamic_lstm?
- How can use regularization in TensorFlow-Slim?
- How can visualize tensorflow convolution filters?
- How can we convert a .pth model into .pb file?
- How convert output tensor to one-hot tensor?
- How could I convert onnx model to tensorflow saved model?
- How could I use batch normalization in TensorFlow?
- How do backpropagation works in tensorflow
- How do display different runs in TensorBoard?
- How do I add an arbitrary value to a TensorFlow summary?
- How do I add keras dropout layers?
- How do I check if keras is using gpu version of tensorflow?
- How do I check if PyTorch is using the GPU?
- How do I choose an optimizer for my tensorflow model?
- How do I disable TensorFlow's eager execution?
- How do I do global average pooling in TensorFlow?
- How do I flip a Tensor in Keras?
- How do I get a loss per epoch and not per batch?
- How do I get Keras to train a model on a specific GPU?
- How do I get the gradient of the loss at a TensorFlow variable?
- How do I get the weights of a layer in Keras?
- How do I initialize weights in PyTorch?
- How do I keep track of the time the CPU is used vs the GPUs for deep learning?
- How do I know if tensorflow using cuda and cudnn or not?
- How do I load a keras saved model with custom Optimizer
- How do I load a local model with torch.hub.load?
- How do I load custom image based datasets into Pytorch for use with a CNN?
- How do I make the initial state of an LSTM trainable in Keras?
- How do I pass a scalar via a TensorFlow feed dictionary
- How do I plot a Keras/Tensorflow subclassing API model?
- How do I print the model summary in PyTorch?
- How do I save a trained model in PyTorch?
- How do I save and load BatchNormalization Layer in this Tensorflow model?
- How do I set TensorFlow \`RNN\` state when state_is_tupleTrue?
- How do I specify nvidia runtime from docker-compose.yml?
- How do I use Batch Normalization during test time in Keras?
- How do I use distributed DNN training in TensorFlow?
- How do I use TensorFlow GPU?
- How do tf.gradients work?
- How do the loss weights work in Tensorflow?
- How do you create a boolean mask for a tensor in Keras?
- How do you edit an existing Tensorboard Training `Loss` summary?
- How do you pass video features from a CNN to an LSTM?
- How do you use freeze_graph.py in Tensorflow?
- How do you use Keras LeakyReLU in Python?
- How does a Neural Network calculate the sum of the weights?
- How does asynchronous training work in distributed Tensorflow?
- How does Beam Search operate on the output of The Transformer?
- How does choosing between pre and post zero padding of sequences impact results
- How does data normalization work in keras during prediction?
- How does Keras define accuracy and loss?
- How does mask_zero in Keras Embedding layer work?
- How does one calculate the GPU memory required to run a model in TensorFlow?
- How does one implement adversarial examples in pytorch?
- How does one move data to multiple GPU towers using Tensorflow's Dataset API
- How does one train multiple models in a single script in TensorFlow when there are GPUs present?
- How does one transfer CUDA constant memory in tensorflow's C API
- How does one use Pytorch cuda with an A100 GPU?
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