Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
skip to main content
research-article

Benchmarking the Keras API on GPU: : the use of tensorflow and CNTK libraries as back-end

Published: 01 January 2021 Publication History
  • Get Citation Alerts
  • Abstract

    With the popularisation of convolutional neural networks (CNNs), many tools were developed to facilitate the development of models. One of the main tools developed is the Keras API, which is a high-level API for creating and training models. The Keras API acts as a high-level layer to facilitate the implementation of neural networks while other CNN libraries can run as backend. There is a demand for studies that compare the performance of a CNN implemented with the Keras API and the performance of CNNs implemented only with native methods to CNN libraries. To evaluate the impact of the Keras API on the performance of TensorFlow 1, TensorFlow 2 and CNTK libraries in relation to the execution time in GPUs, an experiment was conducted for measuring the execution time of the LeNet-5 model. It was implemented with the aid of the Keras API and implemented without it. Models implemented with Keras API methods showed longer execution times than models implemented only with native methods from CNTK libraries. The performance difference can be significant for some applications. The Keras API sacrifices library performance up to four times when compared to native methods.

    Index Terms

    1. Benchmarking the Keras API on GPU: the use of tensorflow and CNTK libraries as back-end
            Index terms have been assigned to the content through auto-classification.

            Recommendations

            Comments

            Information & Contributors

            Information

            Published In

            cover image International Journal of High Performance Computing and Networking
            International Journal of High Performance Computing and Networking  Volume 17, Issue 1
            2021
            61 pages
            ISSN:1740-0562
            EISSN:1740-0570
            DOI:10.1504/ijhpcn.2021.17.issue-1
            Issue’s Table of Contents

            Publisher

            Inderscience Publishers

            Geneva 15, Switzerland

            Publication History

            Published: 01 January 2021

            Author Tags

            1. convolutional neural network
            2. CNN
            3. GPU
            4. benchmarking
            5. evaluation performance
            6. Keras
            7. tensorflow
            8. CNTK

            Qualifiers

            • Research-article

            Contributors

            Other Metrics

            Bibliometrics & Citations

            Bibliometrics

            Article Metrics

            • 0
              Total Citations
            • 0
              Total Downloads
            • Downloads (Last 12 months)0
            • Downloads (Last 6 weeks)0
            Reflects downloads up to 11 Aug 2024

            Other Metrics

            Citations

            View Options

            View options

            Get Access

            Login options

            Media

            Figures

            Other

            Tables

            Share

            Share

            Share this Publication link

            Share on social media