I think the zero-padding in CNN is a very annoying operation when designing a DNN accelerator or an NPU. So I want to know that if zero-padding is executed on CPU or GPU in modern ML framework like Pytorch/TF. If it is done on CPU, wouldn't this opperation greatly increase the total inference time due to the frequent data movement between CPU and GPU when there are continuous layers that need padding? Otherwise, how does GPU finish the inefficient padding operation?
Does `zero padding` in CNN increase the inference time due to frequent data transfer between CPU and GPU?
28 views Asked by beyond At
0
There are 0 answers
Related Questions in MACHINE-LEARNING
- Trained ML model with the camera module is not giving predictions
- Keras similarity calculation. Enumerating distance between two tensors, which indicates as lists
- How to get content of BLOCK types LAYOUT_TITLE, LAYOUT_SECTION_HEADER and LAYOUT_xx in Textract
- How to predict input parameters from target parameter in a machine learning model?
- The training accuracy and the validation accuracy curves are almost parallel to each other. Is the model overfitting?
- ImportError: cannot import name 'HuggingFaceInferenceAPI' from 'llama_index.llms' (unknown location)
- Which library can replace causal_conv1d in machine learning programming?
- Fine-Tuning Large Language Model on PDFs containing Text and Images
- Sketch Guided Text to Image Generation
- My ICNN doesn't seem to work for any n_hidden
- Optuna Hyperband Algorithm Not Following Expected Model Training Scheme
- How can I resolve this error and work smoothly in deep learning?
- ModuleNotFoundError: No module named 'llama_index.node_parser'
- Difference between model.evaluate and metrics.accuracy_score
- Give Bert an input and ask him to predict. In this input, can Bert apply the first word prediction result to all subsequent predictions?
Related Questions in DEEP-LEARNING
- Influence of Unused FFN on Model Accuracy in PyTorch
- How to train a model with CSV files of multiple patients?
- Does tensorflow have a way of calculating input importance for simple neural networks
- What is the alternative to module: tf.keras.preprocessing?
- Which library can replace causal_conv1d in machine learning programming?
- My MSE and MAE are low, but my R2 is not good, how to improve it?
- Sketch Guided Text to Image Generation
- ValueError: The shape of the target variable and the shape of the target value in `variable.assign(value)` must match
- a problem for save and load a pytorch model
- Optuna Hyperband Algorithm Not Following Expected Model Training Scheme
- How can I resolve this error and work smoothly in deep learning?
- Difference between model.evaluate and metrics.accuracy_score
- Integrating Mesonet algorithm with a webUI for deepfake detection model
- How can i edit the "wake-word-detection notebook" on coursera so it fit my own word?
- PyTorch training on M2 GPU slower than Colab CPU
Related Questions in CONV-NEURAL-NETWORK
- The meaning of an out_channel in nn.Conv2d pytorch
- Difference between model.evaluate and metrics.accuracy_score
- PyTorch training on M2 GPU slower than Colab CPU
- LeNet5 & Self-Organizing Maps - RuntimeError: Trying to backward through the graph a second time - PyTorch
- How I resolve : InvalidArgumentError: Graph execution error?
- Ensemble Learning
- Implementing tflite quantized inference in python
- how to set a custom prior for Convolution2DReparameterization?
- this code is not working on tensorflow 2.16.0+ version
- How to cut out a fragment of an image in a contour
- Can I treat CNN channels separately to make placement predictions?
- Image channel error while training CNN model
- What is the size difference between Convolutional Neural Networks that take as input an RGB vs. monochrome image?
- Struggling to put my input images in the right format for CNN (tensorflow)
- Siamese Network Backpropagation
Related Questions in GPU
- A deterministic GPU implementation of fused batch-norm backprop, when training is disabled, is not currently available
- What is the parameter for CLI YOLOv8 predict to use Intel GPU?
- Windows 10 TensorFlow cannot detect Nvidia GPU
- Is there a way to profile a CUDA kernel from another CUDA kernel
- Does Unity render invisible material?
- Quantization 4 bit and 8 bit - error in 'quantization_config'
- Pyarrow: ImportError: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.28' not found
- How to setup SLI on two GTX 560Ti's
- How can I delete a process in CUDA?
- No GPU EC2 instances associated with AWS Batch
- access fan and it's speed, in linux mint on acer predator helios 300
- Why can CPU memory be specified and allocated during instance creation but not GPU memory on the cloud?
- Why do CUDA asynchronous errors occur? (occur on the linux OS)
- Pytorch how to use num_worker>0 for Dataloader when using multiple gpus
- Running PyTorch MPS acceleration on Apple M1, get "Placeholder storage has not been allocated on MPS device!" error, but all seems to be on device
Related Questions in HARDWARE-ACCELERATION
- Is there a hardware encoding framework for linux
- Running PyTorch MPS acceleration on Apple M1, get "Placeholder storage has not been allocated on MPS device!" error, but all seems to be on device
- Does `zero padding` in CNN increase the inference time due to frequent data transfer between CPU and GPU?
- Decode h264 frame using android hardware accelerated decoder in gstreamer
- In VSC and other apps, when i scroll the text becomes black and turns normal after a very short delay 100ms. It is really annoying
- Optimizing Python Blob Detection and Tracking for Performance on NXP's IMX8M Plus Board
- Can't initialize "h264_mediacodec" for hw accelerated decoding, FFMPEG, Android
- failed to create HWDeviceContext for h264 and Videotoolbox using FFmpeg for iOS
- Coil AsyncImage Software rendering not supported for Pictures that require hardware acceleration
- Very low GPU usage of Pytorch (slow training) in comparison to Tensorflow
- Visual Studio 2022 (MAUI/Xamarin) Android Device Manager does not support AEHD
- Using Hardware acceleration in different fragments
- Compose setShadowLayer alternative below API 29
- Checking VP9 hardware video decode support on Apple Silicon
- WPF and hardware acceleration with a discrete graphics card
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Popular Tags
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)