《Efficient Deep Learning Book》[EDL] Chapter 5 - Advanced Compression Techniquescode for this exercise is available as a Jupyter notebook here. %%capture import gzip import operator, random import numpy as np import tensorflow as tf from functools import reduce from matplotlib out. sparse_weights = sparsify_smallest(weights, sparsity_rate) print('Original Size:', reduce(operator.mul, weights.shape)*weights.itemsize) weights_compressed = compress_and_save(weights) print('Original fully-connected, convolutional layers and so on. 20 "Matrix Compression Operator." 17 July 2022, blog.tensorflow.org/2020/02/matrix-compression-operator-tensorflow.html. 19 X. Yu, T. Liu, X. Wang and D. Tao, "On0 码力 | 34 页 | 3.18 MB | 1 年前3
 微博在线机器学习和深度学习实践-黄波核心架构层 算法模型层 4 深度学习-分布式模型推理 • 推理性能优化 • 减少计算量: operator fusion/XLA/TVM/prune/float16/quantization • 加快计算速度: batching/TensorRT/MPS/SSE/AVX/Neon • operator fusion • 针对特定场景重写耗时算子 • 重构tensorflow计算引擎 •0 码力 | 36 页 | 16.69 MB | 1 年前3
 QCon北京2018-《未来都市--智慧城市与基于深度学习的机器视觉》-陈宇恒处理特殊输入,如模糊、黑白照片 - 适配具有不同特征的数据源 - 在严肃应用中,客户追求100%准确率,算法性能提升永无止境 • 深度学习模型需要在准确率和速度上做均衡 - 使用更加精巧的模型和Operator设计 - 使用模型压缩算法,在基本保障准确率的情况下大幅提升速度 - 利用最新的硬件特性,如GPU TensorCore/int8 *示意图来自互联网 Kubernetes在异构系统调度中的挑战0 码力 | 23 页 | 9.26 MB | 1 年前3
 机器学习课程-温州大学-02机器学习-回归58(1): 267–288. [7] TIBSHIRANI R, BICKEL P, RITOV Y, et al. Least absolute shrinkage and selection operator[J]. Software: http://www.stat.stanford.edu/ tibs/lasso.html, 1996. 33 谢 谢!0 码力 | 33 页 | 1.50 MB | 1 年前3
 PyTorch Release Notesimproved. ‣ PyTorch's JIT (still in Alpha) now supports FP16 inputs and outputs, comparisons, the exp operator, and ReLU gates. ‣ Added support for DALI 0.1 Beta. ‣ Latest version of CUDA ® Basic Linear Algebra0 码力 | 365 页 | 2.94 MB | 1 年前3
共 5 条
- 1
 













